You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by br...@tcs.com on 2004/06/08 13:17:10 UTC
Action Forward
Is it possible to forward to a page(html/jsp) from the Action Class
without declaring that forward in the struts-config.xml?
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com
RE: Action Forward
Posted by Shilpa Vaidya <sh...@icici-infotech.com>.
I do not hink its possible.
U will have to make an entry in struts config .xml.
Something like this...if ur doing a simple forward. w/o any action class.
regds
shilpa
for ex -
<action forward="/WEB-INF/package/pac_log.jsp" path="/pac_log" />
-----Original Message-----
From: brati.sankarghosh@tcs.com [mailto:brati.sankarghosh@tcs.com]
Sent: Tuesday, June 08, 2004 4:47 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Action Forward
Is it possible to forward to a page(html/jsp) from the Action Class
without declaring that forward in the struts-config.xml?
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com
--
"This e-mail message may contain confidential, proprietary or legally privileged information. It
should not be used by anyone who is not the original intended recipient. If you have erroneously
received this message, please delete it immediately and notify the sender. The recipient
acknowledges that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI
Group"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views
expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.Before opening any attachments please check them for viruses and defects."
RE: Action Forward
Posted by Robert Taylor <rt...@mulework.com>.
Yes.
return new ActionForward(path);
robert
-----Original Message-----
From: brati.sankarghosh@tcs.com [mailto:brati.sankarghosh@tcs.com]
Sent: Tuesday, June 08, 2004 7:17 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Action Forward
Is it possible to forward to a page(html/jsp) from the Action Class
without declaring that forward in the struts-config.xml?
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com