wood burning stoves*
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]
 
 
subject: Obtain Get Parameters using HttpServletRequest
 
Similar Threads
can not see tomcat localhost page when disconnect from internet or lan
Session Verification
how to change the URL
deploy servlate name
Running Servlets, have a question