| 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
|
posted

0
|
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
|
 |
 |
|
|
subject: form submission doesn't happen
|
|
|