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

submit button

praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
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.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Rocky Khan
Greenhorn

Joined: Oct 18, 2011
Posts: 11

Use button type="submit"
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

Also, this name="submit" is going to cause trouble. I can guarantee it. Never name anything "submit".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: submit button
 
Similar Threads
Interupting a submit button call
Submit button
creating button using <s:button> - similar to the CSS based button
Struts 2.1.6: keeping information in the same div - using tree node
Trigger onSubmit without standard button