title: How we can synchronize HttpSession in Javascript
body: <p>My JSP contains javascript code,which include two function
  One function is call a servlet</p>
  
  <p>ie.window.showModalDialog("mams.openAndSave",...........)</p>
  
  <p>for opening a report and setting a value in <strong>HttpSession</strong>.</p>
  
  <p>And Another function use retrieve session value set previously using expression language</p>
  
  <p>ie.dataToSave='${sessionScope.executionFilePath}';</p>
  
  <p>but here <strong>dataToSave</strong> variable have not been initialized during form submission.
  Above functions are called dynamically using link provided in JSP.</p>
  
  <p>Any one know solution to this query,please reply</p>