• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Sharing session in Servlet with Applogic

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic