struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Rochas <samuel.roc...@andinasoft.com>
Subject Action mapping mismatch
Date Fri, 30 Apr 2004 14:43:12 GMT
Hello there,

The link:
http://project:8080/start.do

shows me the page configured in struts-config.xml:
<forward name="success" path="/foo_form.jsp"/>

This form contains a <html:form> tag which looks like that in the
generated html page:
<form name="fooForm" method="post" action="/myAction.do"
onsubmit="return validateMyActionForm(this);">

If I press the submit button, the page shown is:
http://project:8080/start.do?category=4 ...

and not, like I would expect:
http://project:8080/myAction.do?category=4 ...

Why am I not directed to the new defined action "myAction.do" like the
form says?
Why the URL stays with the original "start.do" action from the page
where I am, and which is not defined anywhere in my form?
Any hint?

Thanx in advance
Samuel

---  andinasoft SA - Software y Consulting  ---
Mariano Aguilera 276 y Almagro - Quito, Ecuador
Tel. +593 2 290 55 18 ---- Cel. +593 9 946 4046
---------  http://www.andinasoft.com  ---------



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


Mime
View raw message