Sharing session object across Web Components in J2EE
Posted on 2003-10-31
This question is really urgent and I do hope someone can help me out! Thanks!
I'm using the J2EE architecture to implement an E-commerce website.
I have a few subsystems to implement for eg: Member, Shopping, Forum, Auctions.
I will be creating a single Application using the Deploytool, and add individual web components to this application. Each webcomponent will contain the jsps and servlets for each subsystem.
Say, a client logs into the system through the Member webcomponent, I can't access the session object created for this client in the other webcomponents. Hence, the client(user) can't do Shopping, Forum ,Auctions etc..even though he had already logged in.
how may I share this session object across the differrent webcomponents? Thanks loads for any help rendered..