Hi Antonio,
  When I Printed getQueryString in the action class
using the below stmt
System.out.println("request.getQueryString() =
"+request.getQueryString());

Result was 
request.getQueryString() = print=1

So it means, Query string has print parameter but
request.getParameter("print") is returning null in the
action class.

I am using tomcat 3.3.2 and struts 1.2.9

Is there any other way to retrive this parameter other
than using getParameter?


Thanks
Vinod


--- Antonio Petrelli <[EMAIL PROTECTED]> wrote:

> Vinod Kumar ha scritto:
> > this is the way I try to get value in
> > aciton class
> > System.out.println("PRINT VALUE  =
> > "+request.getParameter( "print" ));
> >
> > Sometime, the printable link looks like
> >
>
http://localhost:81/myapp/setup.do;jsessionid=xrlq86pj71?print=YES
> >
> > even if i trim it to
> > http://localhost:81/orion/setup.do?print=YES , no
> > value is received in action class.
> 
> It seems to be a bug, but I don't know where it is.
> Just to restrict the 
> problem see what prints:
> request.getQueryString()
> i.e. see if it contains the parameters you want. If
> you see them, be 
> sure that you have not a filter that creates a
> wrapped 
> HttpServletRequest that overrides "getParameter". If
> you have no filter 
> (or your filter does not what I wrote before), it
> could be a bug of the 
> servlet container (though I don't think it is...).
> 
> Ciao
> Antonio
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to