title: Accepting http session request parameter in jsp page using jquery
body: <p>I am working in a web application using struts. I am performing some operations in struts action class and using  session.setAttribute i am setting result value. My struts action class sends result to jsp page where i am displaying result. I have to display message after loading jsp page, hence i am trying to use jquery. But i am not getting how to handle http sesion request in jquery.</p>
  
  <p>Earlier i was taking one property in sturts-config.xml and setting the value instead of sending http session request parameter. But it doesn't work for me, because every time when i refresh my page it takes initial value from struts-config.xml. i am taking struts property as hidden field in jsp page by writing:</p>
  
  <pre><code>     &lt;html:hidden property="propname" styleId="id_propname" name="formname" /&gt;
  </code></pre>
  
  <p>for setting property value null I am writing following code in jquery.</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
          $(document).ready(function() 
            { 
                alert("some text");
               $("#id_propname").val("");    
          });            
      &lt;/script&gt; 
  </code></pre>
  
  <p>Is there any way where i can directly get the http session request in jquery ? please reply me if you can give some suggestions I thanks to all valuable suggestions in advance.</p>