Some things to consider: 1) Is the calendar popup using Struts to create the calendar? Is it a 3rd party tag library or something? This would affect getting the Struts locale, if it is not aware of it.
2) If popping up a window loses the session, then consider the session never existed. Sometimes the problem really is what it is. 3) The only way a popup can lose a session if the session ID is issued by a cookie and you're switching domains. Or, if you're using URL rewriting, you did not create the link to the calendar using <c:url> which will preserve the JSESSIONID in the URL. Paul Sharon Jolly <[EMAIL PROTECTED]> wrote: Hi, There is a requirement in my application where i need to open a calendar popup from a link. The application that i am taking about here is a J2EE application where struts is being used which i18n complaint. The session object holds the locale information and that is what is used to determine what language the web page should be shown. This is applicable for the calendar popup also. As of now the applcation opens the calendar popup using javascript window.open() and it always defaults to english language. I tried adding scriptlets to the calendar.jsp to get the session object and extract the locale information from there. But i do not get the session object in the new window that was opened from the parent window which has a session object associated with it. My question is how can i get the session information in a new window that is opened using window.open() from a main page that has a session associated with it. Collagues here suggested sending one more parameter from the calling js function in the main page which will identify what is the locale that is stored in the session object. There are more than 100 places where the calendar is being opened and i do not want to change the code now. Its important that i do something soon. Could someone tell me what can be done ASAP. Regards, Sharon _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [EMAIL PROTECTED] and delete this EMAIL including any attachments _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.