Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance 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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
submit button
praveen shinde
Ranch Hand
Posts: 64
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello ,
I have one
jsp
in which I am using html form.
I am using submit button to give the values from the form.
but when i run the application it is not showing any result what could be the error. Please help.
The jsp part for submit is given here.
<div> <input id="submit1" name="submit" type="button" value="Register Account" onclick="regUser(frm)"/> </div>
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You haven't shown us anything that can help diagnose the problem. What's the form action? What does that JavaScript function do?
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Rocky Khan
Greenhorn
Posts: 11
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use button type="submit"
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Also, this
name="submit"
is going to cause trouble. I can guarantee it. Never name anything "submit".
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
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
Submit button
creating button using <s:button> - similar to the CSS based button
Interupting a submit button call
Trigger onSubmit without standard button
Struts 2.1.6: keeping information in the same div - using tree node
More...