----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Perhaps you are using doPost() instead of doGet().
Yo can also use the method
public void service(HttpServletRequest req,
HttpServletResponse res) throws ServletException,
IOException
to accept all type of request (the type is
transparent to programmer).
>
> hi everybody
>
> I have upgraded jserv from 1.0 to 1.1.
>
> The test-servlets works fine, but we have problems
> with the getQueryString
> function.
>
> When I do a GET method request (let's say
> http://www.netzone.ch/servlets/test?p1=ddddddddddd),
> the
> request.getParameter("p1") method, getQueryString()
> method and every methods
> that accesses the request parameters always return
> null.
> code used:
>
> out.println("RequestURI:
> "+request.getRequestURI()+"<BR>");
> out.println("REQUEST_URI:
>
"+request.getAttribute("org.apache.jserv.REQUEST_URI")+"<BR>");
> out.println("getQueryString:
> "+request.getQueryString()+"<BR>");
> out.println("QUERY_STRING:
>
"+request.getAttribute("org.apache.jserv.QUERY_STRING")+"<BR>");
> out.println("getparameter:
> "+request.getParameter("p1")+"<BR>");
>
> With a POST request the request.getParameter("p1")
> method works fine!
>
>
> what's the problem? Any idea ?
> with jserv 1.0 everything was ok!
>
> server-configuration: Apache 1.3.12, jdk1.1.7,
> jserv1.1, linux-system
>
> can you help me, please ?
>
> thanks
>
>
>
>
>
> --
>
--------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:
> [EMAIL PROTECTED]
> To unsubscribe:
> [EMAIL PROTECTED]
> Archives and Other:
> <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
_______________________________________________________________
Do You Yahoo!?
Consiga gratis su direcci�n @yahoo.es en http://correo.yahoo.es
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]