on 08-04-2008 7:05 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Soumyadeep,
Just go through this link. Hope usefull.......
http://msdn.microsoft.com/en-us/library/aa478989.aspx
-Swati Gaur
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.