I have to popup a window which wants some values to be displayed in its input fields from some session variables In other words suppose I enter some values in popup page first time and second time if i want to open the same popup page i want to retrive the values stored in session variables in the same pop up page for editing? for me it seems totally unfeasibla and impossible to me as how can a javascript retrive a session variable forget JSP's i m using a simple HTML? Moderators will you throw some light on it?
SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
The only way you can access a session variable in any sort of browser window is to generate the window contents dynamically on the server each time it is requested, and build it to contain the correct data from the session. Once some HTML is built it is essentially static and cannot access any server-side data.