This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Sharing session in Servlet with Applogic
 
Similar Threads
How does UserTransaction propagate?
does iPlanet4.1 SP7 supports Taglibs?
Sharing session in Servlet with Applogic
Deploying EAR on Sun One application server
EJB from HTML