cancel
Showing results for 
Search instead for 
Did you mean: 

ISA R3 b2b

Former Member
0 Kudos

We are doing some custom development for ISA r3(webshop)

I have some data in the file order.jsp.

How do i store this data in session so that I can pass it across to different screens

and display it on the ordersimulate.jsp page.

Do i need to modify the struts action classes or is there a direct way in which i can

store the information in session and retreive the same on subsequent JSP page?

Any information/code snippet is appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

prashil
Advisor
Advisor
0 Kudos

Hi Stride,

You can store the data in the userSessionData object. This scope of this object is session, so you can easily transfer the data between classes and jsp's.

To get this object, you can add the code as:

UserSessionData userSessionData = UserSessionData.getUserSessionData(pageContext.getSession());

To store the information use;

userSessionData.setAttribute("attrib_name","test");

To retrieve the information use:

String name = userSessionData.getAttribute("attrib_name");

Hope this will resolve your query.

Regards,

Prashil

Former Member
0 Kudos

Thanks Prashil

This approach certainly will work.

On a side note is there any concern with stroing one or two values in the session from the performance perspective.

Also i am hoping the session object works correctly and updates the information correctly.?