Hi All,
I need help about struts and tiles.

I have an application using tiles and I have a jsp page that can be used as output page for several different actions. In this page I'd like to have a link to recall the input action (with different parameters). Something like "ActionMapping.getPath()" method.

The problem is that I don't know how to identify the input action directly into the JSP!
In other words, Let's suppose I have 2 actions:


<action path="/act1"
   ...>
   <forward name="success" path="mypage.jsp"/>
</action>

<action path="/act2"
   ...>
   <forward name="success" path="mypage.jsp"/>
</action>

How can I get the "/act1.do" or "/act2.do" into the JSP page?

I have tried request.getRequestURI() but, as I use tiles, I always receive the URI of the main layout page (E.g. /miro/pages/layout/mainLayout.jsp)

Thanks for the help,
gianpiero


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to