You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Irene Yip <iy...@silverstream.com> on 2001/11/07 21:19:50 UTC
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>