You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rubén Rubio de la Oliva <rr...@tecnesis.com> on 2002/07/15 13:01:11 UTC

Form tag do not display the proper action URL

Hi all

I am working with Struts 1.0.2 on TOMCAT and have the following
struts-config entry


    <action
path="/saveTask"
type="com.tecnesis.wipweb.mvc.SaveTaskAction"
name="taskBean"
scope="request"
input="modifyTask.jsp"
validate="false">
        <forward name="modifyTask" path="/modifyTask.jsp" />
        <forward name="showTask" path="/showTask.jsp" />
 </action>

in the jsp I have the follong code:

    <html:form action="/saveTask.do" focus="name">


And the browser I get the following:
   <form name="taskBean" method="POST"
action="/wipweb;jsessionid=B23321F33257A811E5B26090F0A0C2A7">

So when the form is submitted doesn't reach the wrigth URL which should be
/wipweb/saveTask.do

For any reason, saveTask disappear when executing the form tag.


Any help would be appreciated.

Thanks

Ruben


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>