In my jsp I'm trying to submit my form to: /admin/login/LoginForm.do

so my tag looks like:<html:form action="/admin/login/LoginForm.do">

and the corresponding action tag (in the struts-config) looks like this: 

<action path="/LoginForm"  type="app.LoginAction"  name="LoginForm"
scope="request"  input="/login/login.jsp" />

That works fine for when I load the page, however, when somebody submits the
page it needs another action tag that is exactly the same, except for the
path attribute.  

<action path="/login/LoginForm" type="app.LoginAction" name="LoginForm"
scope="request" input="/login/login.jsp" />

Why can't I use just one action tag to do both the loading and submitting of
the page?  Why does struts look at the path differently for each?

-Jeremy

Reply via email to