You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Canning, Chuck" <ch...@zilliant.com> on 2003/07/28 19:30:50 UTC

writing wrong action path

Hi,

I am using the html-el:form tag and my action is getting written
incorrectly? I have <html-el:form name="myForm" type="MyForm"
action="/path/myAction.do"> and the generated html has <form name="myForm"
method="post" action="/basedir"> where base dir is the based directory for
the struts. If I copy the html to another JSP and replace the action with
/path/myAction.do it works. If I specify action=/basdir/path/myAction.do it
fails because it can't find the action (which is what I would expect). Does
anyone know what is happening here?

Chuck

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org