In my application I have more than 1 war. In the first servlet(in one war) war I store some information in the session. I want to get the same information in a different servlet (in a different war).
My questions are:
1. Can we have same context for different war's in a ear application.
I tried but it did not work. Any other way anybody can suggest?
2. How can I share session related information between different wars in a .ear application?
Please help. Its urgent.
You session is shared, but the scope of an values is only as greate as the context at most... TIs designed this way for security and conflict reasons.
This is not a new problem your having, and there should be ample documentation out there... try the tomcat users list.