I'm starting to write
struts application (very small, still). On my first page, I want to ask the user to enter "signup" information, then submit the data to a database, then forward back to the signup page, listing all data (pulled back from db) on the signup form. (So the user could enter several rows of info & see a cumulative list below.)
I have all the pieces of this working, except that when the form is submitted a second time, the action path doesn't seem to be recognized properly.
When I first hit my page (url: http:..myserver/Enroll/jsp/SignUp.jsp it works fine. I hit Submit, the action form is invoked, and user is forwarded back to the original page (url: http:..myserver/Enroll/signup.do). But when I hit Submit this time, I get "Page Cannot Be Found" with URL: http:..myserver/signup.do (it's missing the webapp name this time...)
from struts-config.xml:
from Action class (SignUpAction):
from
JSP:
I'm somewhat new to struts... in case you couldn't guess!!
Where did I go wrong here?
[ January 23, 2006: Message edited by: Elaine Micheals ]