Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sharing session in Servlet with Applogic

 
cy sze
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help..
How can I use the interface HttpSession2 in Servlet to share session with Applogic programs?
http://docs.sun.com/source/816-5773-10/ch03.htm#39328]http://docs.sun.com/source/816-5773-10/ch03.htm#39328
 
Ryan Bailey
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi cy,
I'm a little confused as to what you are asking. If you are trying to get the values out of an applogic to pass to a servlet then just use

I have not used the HttpSession2, but it looks like if you import the interface and in your servlet just call getString(String stringName) from the HttpSession2 it should return the String that was stored in the AppLogic's Session.
Hope this helps,
Ryan
If this is not what you are looking for let me know and I'll see if I can help you further
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic