File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSP with JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP with JavaScript" Watch "JSP with JavaScript" New topic

JSP with JavaScript

Uttama Shakya

Joined: Jan 22, 2002
Posts: 3
Is there any way we can use JavaScript variables in java code in a JSP page?
mark dathorne

Joined: Nov 09, 2001
Posts: 1
The java code is executed at the server side before the page is presented.
The javascript is used client-side, after the page has been loaded.
(Javascript, I believe, can be used server side but I don't know much about that.)
I agree. Here's the link:
subject: JSP with JavaScript
It's not a secret anymore!