You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Nekkalapudi, Viplava" <VN...@erac.com> on 2001/11/07 21:33:28 UTC

RE: request parameter for action forward can not be read by weblo gic

See the Resolved problems with Service Pack 1 of WL6.1,

http://e-docs.bea.com/wls/docs61/notes/bugfixes2.html#1095483

 Check these CRs: 055106, 055241, 055265, 055591
 
 



-----Original Message-----
From: Irene Yip [mailto:iyip@silverstream.com]
Sent: Wednesday, November 07, 2001 2:20 PM
To: struts-user@jakarta.apache.org
Subject: request parameter for action forward can not be read by
weblogic


Hi,
I have a struts based application deployed to weblogic 6.1, and somehow I
can not append request parameter for action forwarding.

In my action servlet CompleteOrderAction, I have
return new ActionForward(mapping.findForward("success").getPath() +
"?order=" + orderId);

(if I print out   mapping.findForward("success").getPath() + "?order=" +
orderId    it is
/orderconfirmation.jsp?order=23)

My struts-config.xml is like this
<action path="/completeOrder"
type="com.sssw.demo.silverbooks.action.CompleteOrderAction"
name="PaymentForm">
   <forward name="success"    path="/orderconfirmation.jsp" />
 </action>

Then in my orderconfirmation.jsp, I have
orderId: <%= request.getParameter("order") %>

But I get nothing for orderId!  It looks like weblogic can not deal with
request parameter in mapping.findForward???
(The same code works in other app servers)

Does anyone know why it is so and is there a work around? Is this a known
issue?

Thanks a lot.




--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>