Kishore,

I'm now trying to pass multiple request parameters. My code:

<bean:define id="msg" toScope="request">
        <bean:message key="app.notifyMsg.serverdisconnect"/>
</bean:define>
<bean:define id="forward" toScope="request">
"CONTINUE"
</bean:define>

<bean:define id="params" toScope="request">
<% Hashtable ht = new Hashtable();
ht.put("notifyMsg",msg);
ht.put("errCode",errCode);
%>
</bean:define>
<logic:redirect forward="ERRORNOTIFY" name="ht" />
(Also tried: logic:redirect forward="ERRORNOTIFY" name="params" />

Error message:

"Define tag can contain only one of name attribute, value attribute, or body
content"

Any suggestions?

Thanks,
Doug

-----Original Message-----
From: Kishore Senji [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 03, 2005 2:29 PM
To: Doug Thomas
Cc: Struts Users Mailing List
Subject: Re: logic:redirect w/ query string

> <logic:redirect forward="ERRORNOTIFY" paramId="notifyMsg" paramName="msg"
> />
>
> Is this possible?


Yes, If you use <bean:define/> and <bean:message/> tags as in

<bean:define id="msg" toScope="request"><bean:message key="
app.err.serverdown"/></bean:define>
<logic:redirect forward="ERRORNOTIFY" paramId="notifyMsg" paramName="msg" />



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

Reply via email to