This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Sharing session in Servlet with Applogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Sharing session in Servlet with Applogic" Watch "Sharing session in Servlet with Applogic" New topic
Author

Sharing session in Servlet with Applogic

cy sze
Greenhorn

Joined: Nov 04, 2002
Posts: 3
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

Joined: Feb 26, 2002
Posts: 134
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


SCJP 1.4, SCWCD
Java: The power, elegance, and simplicity of a hand grenade
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Sharing session in Servlet with Applogic
 
It's not a secret anymore!