MessageResources resources = getServlet().getResources(); resources.getMessage("aURLOrSomething"); This is what struts supplies to get any literal from ApplicationResources.properties. That's all we need I think.
--- [EMAIL PROTECTED] wrote: > Thanks for that. A simple but effective idea. I am wondering if there are > any plans to add, for example, an external tag to the forward statement so > that this would be unnecessary? > > Stephen. > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 14 February 2002 13:50 > To: [EMAIL PROTECTED] > Subject: Re: Help forwarding from one site to another. > > > This works : > > use > <forward name="success" path="/Go.jsp" /> > > Go.jsp contains nothing but a redirect. > <%response.sendRedirect("http://www.slashdot.org/");%> > > > > > On Thu, 14 Feb 2002 13:32:31 -0000 [EMAIL PROTECTED] wrote: > >Hello all, > > > >Upon a successful response from an action class I would like to forward to > a > >different site. I have tried adding <forward name="success" > >path="http://www.slashdot.org/" /> to my struts-config.xml, but it fails. > > > >Is there a nice way of achieving this? > > > >Thanks. > > > >Stephen. > > > > > >--------------------------------------------------------------------------- > ---- > ------------ > > > >Copyright material and/or confidential and/or privileged information may be > > contained in this > e-mail and any attached documents. The material and information is intended > > for the use of > the intended addressee only. If you are not the intended addressee, or the > person responsible > for delivering it to the intended addressee, you may not copy, disclose, > distribute, disseminate > or deliver it to anyone else or use it in any unauthorised manner or take or > > omit to take any > action in reliance on it. To do so is prohibited and may be unlawful. The > views expressed > in this e-mail may not be official policy but the personal views of the > originator. If you > receive this e-mail in error, please advise the sender immediately by using > the > reply facility > in your e-mail software, or contact [EMAIL PROTECTED] Please also > delete > this e-mail and > all documents attached immediately. > >Many thanks for your co-operation. > > > >BMW Financial Services (GB) Limited is registered in England and Wales > under > company number > 01288537. > >Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF > >--------------------------------------------------------------------------- > ---- > ----------- > > > >-- > >To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > >For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > Get your firstname@lastname email at http://Nameplanet.com/?su > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > ------------------------------------------------------------------------------------------- > > Copyright material and/or confidential and/or privileged information may be > contained in this e-mail and any attached documents. The material and > information is intended for the use of the intended addressee only. If you > are not the intended addressee, or the person responsible for delivering it > to the intended addressee, you may not copy, disclose, distribute, > disseminate or deliver it to anyone else or use it in any unauthorised manner > or take or omit to take any action in reliance on it. To do so is prohibited > and may be unlawful. The views expressed in this e-mail may not be official > policy but the personal views of the originator. If you receive this e-mail > in error, please advise the sender immediately by using the reply facility in > your e-mail software, or contact [EMAIL PROTECTED] Please also delete > this e-mail and all documents attached immediately. > Many thanks for your co-operation. > > BMW Financial Services (GB) Limited is registered in England and Wales under > company number 01288537. > Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF > ------------------------------------------------------------------------------------------ > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>