tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitri Colebatch <...@bigpond.net.au>
Subject Re: getparameter
Date Wed, 03 Oct 2001 21:43:17 GMT
works fine for me on java 1.3 from sun.

On Wed, 3 Oct 2001, Roberto B. wrote:

> I use linux (debian), T3.2.3 and jsdk 1.4 ...and your code works!
> Try to upgrade to jsdk 1.4
> 
> R.
> 
> ----- Original Message ----- 
> From: "Michele Cerioni" <michele@ptnet.it>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, October 03, 2001 6:38 PM
> Subject: getparameter 
> 
> 
> > Hi,
> > I use jakarta-tomcat-3.2.3 and jdk1.3.1_01 apache1.3.19 on Linux 2.2.19.
> > 
> > I created a file  prova.jsp
> > 
> > <html>
> >    <head>
> >       <title> Prova </title>
> >    </head>
> >   <body>
> >      <%
> >           out.println("<b>Ciao: " + request.getParameter("user") +
> > "</b>");
> >           out.println("<b><br>Ciao: " + request.getMethod() + "</b>");
> >      %>
> >   </body>
> > </html>
> > 
> > when I call the URL  prova.jsp?user=pippo I get this page:
> > 
> > Ciao: null
> > Ciao: GET
> > 
> > if I call prova.jsp using POST method I get the value "pippo" for the
> > parameter user.
> > 
> > Why GET method dosn't work?
> > 
> > Michele
> 
> 


Mime
View raw message