You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Terry lee <Sp...@sqatester.com> on 2005/05/27 04:05:20 UTC

Servlet cannot get paramter value send by portlet dispatcher

Hi all,

I use a portlet to dispatcher request to a servlet as below , if i try to call getParamter("orderno") in the servlet, i get nothing.

String path = "/SomeServlet?orderno=5";
PortletRequestDispatcher rd = context.getRequestDispatcher(path);
rd.include(renderRequest, renderResponse);

The only workaround is i have to process "javax.servlet.include.request_uri" by myself to get orderno.

i'm useing Pluto-rc2 ,and i'm not sure whether it's a bug.

regards,
Terry


_____________________________________________________________
Join SQAtester.com Community  ---> http://www.sqatester.com/testersarea/joinus.htm

Re: Servlet cannot get paramter value send by portlet dispatcher

Posted by "David H. DeWolf" <dd...@apache.org>.
this was a valid bug and has been fixed in cvs.  The next release 
(*cringe*, don't ask when :( ) should function properly.

David

Terry lee wrote:
> Hi all,
> 
> I use a portlet to dispatcher request to a servlet as below , if i try to call getParamter("orderno") in the servlet, i get nothing.
> 
> String path = "/SomeServlet?orderno=5";
> PortletRequestDispatcher rd = context.getRequestDispatcher(path);
> rd.include(renderRequest, renderResponse);
> 
> The only workaround is i have to process "javax.servlet.include.request_uri" by myself to get orderno.
> 
> i'm useing Pluto-rc2 ,and i'm not sure whether it's a bug.
> 
> regards,
> Terry
> 
> 
> _____________________________________________________________
> Join SQAtester.com Community  ---> http://www.sqatester.com/testersarea/joinus.htm
>