how to access javascript variable in scriplet jsp
<p>I have a <code>javascript variable</code> say,</p>

<pre><code>var a ='2013-01-03' 
</code></pre>

<p>I want to access this variable inside my <code>scriptlet</code>. i.e.] I have a <code>map</code> that contains my data.<br>
I want to fetch the value of the <code>map</code> corresponding to the <code>key='2013-01-03'</code> that is in <code>javascript variable 'a'</code>.</p>

<p>How can i use like following in my scriptlet.?</p>

<pre><code>map.get(a);
</code></pre>

<p>I know the <code>scriptlets</code> will execute first even then without <code>reloading</code> I want to access the <code>variable</code> a inside my <code>scriptlet</code>. Can any one help me solve this problem.? </p>
