aspose file tools*
The moose likes Servlets and the fly likes Obtain Get Parameters using HttpServletRequest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Obtain Get Parameters using HttpServletRequest" Watch "Obtain Get Parameters using HttpServletRequest" New topic
Author

Obtain Get Parameters using HttpServletRequest

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Please how do i obtain the value for name from this URL http://localhost:8080/search?name=Hello using the HttpServletRequest
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

See:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
sudhir nim
Ranch Hand

Joined: Aug 29, 2007
Posts: 212



[Servlet tutorial] [Servlet 3.0 Cook Book]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Obtain Get Parameters using HttpServletRequest
 
Similar Threads
how to change the URL
Running Servlets, have a question
can not see tomcat localhost page when disconnect from internet or lan
deploy servlate name
Session Verification