File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes JSP with JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSP with JavaScript
 
Similar Threads
Selectbox in Javascript
Form in New window
Change drop down box to text field
JavaScript in JSP
Need Ideas for This Puzzle