Re: how to pass value from javascript to java in jsp
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: how to pass value from javascript to java in jsp

From: Yereth <yereth@gmail.com>
Date: Thu Jun 23 2005 - 15:16:14 CEST

You can only pass from JSP to JS in your code. If you want to pass
variables the other way around then you'll have to use the POST or GET
method, because JSP is serverside and JS clientside, which means that
first, on the server, JSP is executed (it generates HTML and other
clientside code, like PHP does) and second, that the generated source
document is sent to the client where possible scripting languages like
JS and VBS are executed.

Hope that helps.

Cheers,
Yereth
Received on Mon Oct 24 02:12:59 2005