You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Oliver Wulff <ol...@zurich.ch> on 2003/12/08 07:41:11 UTC

Re: Having trouble with html:form tag - Using 1.1




Hi Jim

Remove your second servlet mapping in your web.xml. I had the same problem.
I've defined two mappings:
<servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>*.do</url-pattern>
</servlet-mapping>

<servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>/home</url-pattern>
</servlet-mapping>

As soon as I have removed the second mapping the form action is correct and
not the webapp context anymore.

Very strange!!!

Cheers
Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.


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