getParameter should work for both GET and POST.  So there could be a
problem with your Servlet Engine?

Formanek Gary L wrote:
>
> Hi,
>
> I was always under the impression you could use something such as
> req.getParameter("name") to get the parameter values off the URL such as
> http://127.0.0.1/servlet/projects?name=joe. What I have found is that it is
> null. Can't you do this with a post from a web page? It works just fine for
> the form values on a web page. I know I can use parseQueryString(), but this
> seems messy and I was hoping I could use the first one.
>
> Thanks,
>
> Gary
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to