User Comments for the tutorial:

Pass value from JSP to JavaScript



How to pass actual variables?
How would I go about passing something else than predetermined string to the JavaScript code? For example, let's suppose I've stored user name in the session attribute. How can I pass the user name to the JavaScript function? 

Nice Tutorial
Thanks to you. I am trying to learn jsp form starting. Your tutorial is too much nice with examples . Thanks again. 

how to pass value from jsp to javascript
It is not clear One. Because after getting input from user,the input is pass to java script for some process in the same page.....  

Related Tutorial and Articles