A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
Obtain Get Parameters using HttpServletRequest
Abiodun Adisa
Ranch Hand
Joined: Jan 17, 2002
Posts: 495
posted
Nov 18, 2007 19:59:00
0
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
I like...
posted
Nov 18, 2007 20:02:00
0
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
I like...
posted
Nov 18, 2007 23:00:00
0
String name = request.getParameter("name");
[Servlet tutorial]
[Servlet 3.0 Cook Book]
I agree. Here's the link:
http://aspose.com/file-tools
subject: Obtain Get Parameters using HttpServletRequest
Similar Threads
how to change the URL
Session Verification
deploy servlate name
Running Servlets, have a question
can not see tomcat localhost page when disconnect from internet or lan
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter