You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Luke Studley <Lu...@cerillion.com> on 2002/02/11 13:43:43 UTC

html:form help!!

Hi there.

I just found some 'interesting' behaviour with the html:form tag that I hope
somebody can explain.

I have the action servlet mapped in my web.xml to "*.do", this worked fine
for me until I wanted some files to be downloaded with the extension .csv,
so I added another servlet-mapping of action to the "*.csv" extension.

Now however my old html:forms are appearing with the *.csv extension and
nothing works (except for the csv file download - which works a treat)! Is
it possible to have multiple mappings like this or does Struts just assume
one mapping for actions?

So, e.g. in my jsp
<html:form action="/secure/ladida.do">

but what now comes out in the browser is 

<html:form action="/secure/ladida.csv">

Any ideas appreciated

Luke



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