struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Thomas" <doug.tho...@softechnics.com>
Subject RE: logic:redirect w/ query string
Date Mon, 03 Oct 2005 13:09:28 GMT
Please bear with me - I'm new to struts.

I've been to the link provided by Kishore, but this implies I have to obtain
my parameters from a Java bean. I want to create the message in my JSP, with
i18n, similar to the following:

<logic:redirect forward="ERRORNOTIFY" paramId="notifyMsg"
	paramName=<bean:message key="app.err.serverdown" />
</logic:notPresent>

And without the use of scriplets, as in:

<%
String myMsg = "Server disconnect -<br/><br/>Your work to this point has
been saved.<br/><br/>Please re-login.";
request.setAttribute("msg",myMsg);
%>
<logic:redirect forward="ERRORNOTIFY" paramId="notifyMsg" paramName="msg" />

Is this possible?


-----Original Message-----
From: Kishore Senji [mailto:kishoresenji@gmail.com] 
Sent: Friday, September 30, 2005 6:28 PM
To: Struts Users Mailing List
Subject: Re: logic:redirect w/ query string

You could specify paramId, paramName, paramProperty attributes in the exact
similar way to <html:link/>.

Please take a look at
http://struts.apache.org/userGuide/struts-logic.html#redirect




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message