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


vatsala ven

Joined: Feb 26, 2010
Posts: 6
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
Keep in mind that the JSP "code" is actually running on the server, while the JavaScript is running on the client (in the browser or whatever). This means that by the time the JavaScript is run, the Servlet container has already processed the JSP page and generated the result HTML page.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

jaavscript? Please take more care when posting.

What you are asking is not possible. You have a basic misunderstanding about how JSP works. Please read this article which will explain all.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: ace
It's not a secret anymore!