File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Obtain Get Parameters using HttpServletRequest" Watch "Obtain Get Parameters using HttpServletRequest" New topic

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

Joined: Dec 11, 2004
Posts: 13410


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