Hai
Most of the persons are getting confusion in
Java script and JSP communication.
First We must know the order of execution,
1) JSP File is executed by Server and convered into html (May be embedded with javaScript). So We can assign JSP values into Html form fields or assign into javascript varibles directly.All this process is done in server. So Final Output is Html With javascript.
2) html with javascript(Created by the Server)is running in the browser. then how can we set javascript variables again to Jsp. So We cant able to assign Javascript variables value to JSP
Thank You
R. Sathiya