aspose file tools*
The moose likes JSP and the fly likes form submission doesn't happen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "form submission doesn Watch "form submission doesn New topic
Author

form submission doesn't happen

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
this is my Register.jsp file


this is my index.jsp file


but when i run this Register.jsp file and click submit it says


this is my web.xml file


i ma using Netbeans IDE and these two jsp files are in same folder(Webpages)
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
can't we submit forum to the another jsp?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Samanthi perera wrote:can't we submit forum to the another jsp?


You can submit the form to another jsp. but it is considered as poor practice.

dont submit a form to another jsp directly instead submit to a Servlet . Model1 Design pattern is Obsolete.

anyway, in your case the folder[ which have register and index jsp files] is under root directory right?
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
yes
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

then , it is fine for me . Hmmm please try this and let me know
[if Possible use this]


or

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Or get the right request parameters.

You call it "userName" in the form, but get the "name" parameter. You call it "userID" in the form, but get the "1984" parameter.
Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
ok.I will try
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: form submission doesn't happen