This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 63227
    
  69

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: 63227
    
  69

Also, this name="submit" is going to cause trouble. I can guarantee it. Never name anything "submit".
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: submit button
 
It's not a secret anymore!