struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pablo Casado" <pcas...@absamail.co.za>
Subject html:form relative action howto?
Date Wed, 04 Dec 2002 15:42:00 GMT
hello,

how do I do the following,

--struts config--
<action path="/x/y/myaction" ...>
 <forward name="success" path="myjsp.jsp">
</action>
<action path="/a/b/myaction" ...>
 <forward name="success" path="myjsp.jsp">
</action>
   
--myjsp.jsp --
<html:form action="whichever action that forwarded to me">

so the possible values in the html:form action can be /x/y/myaction or /a/b/myaction

Thanks.
- Pablo.








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.423 / Virus Database: 238 - Release Date: 11/25/2002

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message