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
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]
 
Don't get me started about those stupid light bulbs.
 
subject: Obtain Get Parameters using HttpServletRequest