This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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!