Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advanced search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Devaka Cooray
Tim Cooke
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Saloon Keepers:
Piet Souris
Bartenders:
Forum:
JSP
how to call a jsp function from java script
Soundar Sweet
Ranch Hand
Posts: 31
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
i have a function in jsp, with a argument. i must access the function from java script and pass the user input value to that function.
plz help me
bubye
soundar
Soundar
David Ulicny
Ranch Hand
Posts: 724
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
jsp is executed on server side, javascript on client side. You must submit request to execute jsp function.
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Jeroen Wenting
Ranch Hand
Posts: 5093
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
And don't put functions in JSPs. Use beans and JSTL and do all processing in servlets.
42
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Javascript function returns document.forms.0 null or not an object error
How to redirect to a new page using JSP?
how can i get a value in java script function from database
Regarding Java Script
call one jsp's java script function to another jsp's javascript function
More...