I believe you're looking for req.getParameter("field"). In ASP the method is different
depending on how the data is passed from the client. In servlets it does not matter as
long as you handle the
request in doGet() or doPost().
-----Original Message-----
From: Javier Alonso [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 5:19 AM
To: [EMAIL PROTECTED]
Subject: Query String thing
Hello everybody. In a servlet first i get the parameter using an HTTP form. Now i�m
planning on sending the parameter by querystring. So i have ti use
req.getQueryString() method (req is an
HttpServletRequest object). If i put the name of the field inside the
getQueryString("field") . How should i use this method? (maybe i�m biased cause of ASP)
Javier Alonso
___________________________________________________________________________
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