Two cookies != two sessions: you'll still be in the same HTTP session.
Setting cookies isn't particularly Struts-specific; I don't recall what support, if any, S1 has for cookie handling. S2 has a CookieAware interceptor (or something like that) that'll put a map of cookies into an action.
I'm not sure that it's going to do what you think it's going to do, though.
Joined: Oct 18, 2007
Thank you for your reply.
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: Handling cookies Path for specific subdomain ?