cancel
Showing results for 
Search instead for 
Did you mean: 

Values to be passed from a string to a JSP session using session object.

Former Member
0 Kudos

Dear Developers,

I have an aspx page which is returns a variable in a session for example: Session("EmpDis")

which displays name. Now i want to extract that value from the session and display in my JSP page.

The Data Exchange is being done Using the Session Object .

Also let me know how the session variables can be passed from one JSP to another.

Once i get this value i will pass this value to an RFC which will give me certain detials

Please do help me how do i extract that value from the session and display in my JSP page.

Thanks and Regards,

Soumyadeep.

Full points will be given, thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In JSPs we have implicit object Session..

set values into this object like

Session.setAttribute(<Key>,<Value>);

to get values

Session.getAttribute(<Key>);

Regards

LN

Former Member
0 Kudos

Dear LN,

I have my logon page in aspx.

It is being redirected to a jsp dynpage.

Now the session attributes have to be stored from the aspx page into jsp dynpage.

What is the procedure for the same?

Please specify.

Former Member
0 Kudos

Hi Soumyadeep,

Just go through this link. Hope usefull.......

http://msdn.microsoft.com/en-us/library/aa478989.aspx

-Swati Gaur

Answers (1)

Answers (1)

Former Member
0 Kudos

This is not something for which there is an automatic solution. You'll need to find some way to transfer the properties manually in your code. The simplest way to do it might be to engineer an HTTP post from your application to the JSP DynPage, passing the parameters as post parameters. You'll then need to intercept and save them in the DynPage.