by mapping a.jsp in your struts-config.xml file like this:

assuming you want to use 'success' as the name of the mapping,

<forward name="success" path="/a.jsp" />

Shri


-----Original Message-----
From: Henrik Chua [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 6 December 2001 12:15 PM
To: Struts Users Mailing List (E-mail)
Subject: forwarding question


Hi!

How should I set the return type of the perform method of my action class
such that I get back to the same page before the action is performed?

like if i am on the a.jsp page, then I click on a link that does a perform
method.  I want to get back to the same page as I was. (without hardcoding
the filename of the page.)


thanx in advance.

henrik

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



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

Reply via email to