Vinod Kumar ha scritto:
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.
Gosh that's *really* strange, Houston we have a problem!
I am using tomcat 3.3.2 and struts 1.2.9
Mmm... Did you try to use the latest Tomcat? It really could be the
container.
Is there any other way to retrive this parameter other
than using getParameter?
No, I mean, since Struts' ActionForm is populated using "getParameter",
as it returns null, the parameter is not passed to the corresponding
property too!
Now you should check if you are using a filter and:
1) if yes, debug your application to see what's the name of the class of
the instance of HttpServletRequest: if it is not a Tomcat's one, I would
suspect there's a bug in the filter;
2) if no, it could be a container problem, check it using the latest
Tomcat version.
Please let me know.
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]