aspose file tools
The moose likes JSP and the fly likes Execute a Javascript in JSP on server 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 "Execute a Javascript in JSP on server" Watch "Execute a Javascript in JSP on server" New topic
Author

Execute a Javascript in JSP on server

John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
My JSP contains a Javascript that is executed
with onClick function. When user clicks, this
script is executed on client side. Is there a way
I can execute this script on the web server side
before it is sent to client? Thanks.
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Can you post your code as that will help in knowing what you want to achieve !!!


- Varun
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12268
    
    1
JavaScript can be executed on the server side using BSF - the Bean Scripting Framework. If that is really what you intend.
Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Execute a Javascript in JSP on server
 
Similar Threads
How to call Javascript function from managed bean
Doubt in JSP Code
Process Custom tag based on the given input from html (same page)
how to call a jsp function from java script
Interesting!!!!!!!!!!!!!!!!!!!!!!