This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP with JavaScript" Watch "JSP with JavaScript" New topic
Author

JSP with JavaScript

Uttama Shakya
Greenhorn

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

Joined: Nov 09, 2001
Posts: 1
No.
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.)
MarkieD
 
wood burning stoves
 
subject: JSP with JavaScript
 
Similar Threads
Selectbox in Javascript
Change drop down box to text field
Need Ideas for This Puzzle
Form in New window
JavaScript in JSP