| Author |
will the Action class get called before the JSP page?
|
kay lin
Ranch Hand
Joined: May 20, 2004
Posts: 132
|
|
Hi: here is part of the struts-config.xml file. and here is the JSP page The <html:form action="submit.do"> will make the SubmitAction class to take care of the request because path="/submit", correct? My question is let us say if you display the JSP page in a browser, then which executes first, the SubmitAction class or the actual JSP page? please let me know. Many thanks... [ edited to disable smilies -ds ] [ May 27, 2004: Message edited by: Dirk Schreckmann ]
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
<html:form action="submit.do"> does not make the Action class. All that tag does is point to the ActionMapping to look for the ActionForm used for prepopulating fields. The Action does not come into the picture until after the jsp is submitted and the validation has passed.
|
A good workman is known by his tools.
|
 |
 |
|
|
subject: will the Action class get called before the JSP page?
|
|
|