This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Servlets and the fly likes javascript and jsp 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 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javascript and jsp" Watch "javascript and jsp" New topic
Author

javascript and jsp

Karina Jensen
Greenhorn

Joined: Jun 04, 2001
Posts: 6
Hello
I'm new to jsp, and im trying to call a jsp function from a javascript code, but it does not seem to be possible?
-so is it possible? -and how?
regards karina
vikinsa
Ranch Hand

Joined: Apr 18, 2001
Posts: 46
Sorry to say that it is possible but can give you a pile of errors. Please try to avoid that. Any way you can try Document.write from javascript to dynamically write the JSP code.

Originally posted by Karina Jensen:
Hello
I'm new to jsp, and im trying to call a jsp function from a javascript code, but it does not seem to be possible?
-so is it possible? -and how?
regards karina


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com


Vikas Aggarwal<BR>Technology Associate<BR>http://www.vikinsa.com
janaki samaraweera
Greenhorn

Joined: Jun 20, 2001
Posts: 5
mmmm you can do it; I have done it so many times..
But that depends on the situation where you want to use it since jsp is back-end prcess and javascript is front-end process!
if you can tell me more....I (hope) can help you..
Originally posted by Karina Jensen:
Hello
I'm new to jsp, and im trying to call a jsp function from a javascript code, but it does not seem to be possible?
-so is it possible? -and how?
regards karina

 
jQuery in Action, 2nd edition
 
subject: javascript and jsp