File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes retrieving parameters 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 "retrieving parameters" Watch "retrieving parameters" New topic
Author

retrieving parameters

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
In sent a Link :http://localhost:8080/sampleapp1/someservlet?event=1

at serve I have receive the events' value,how it can be retrieved??
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Use, request.getParameter("event") in the servlet (assuming request, refers to the HttpServletRequest provided by the container).


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retrieving parameters
 
Similar Threads
HttpSessionListener doubt
Scheduling Date
How to display tabs on a screen?
Testing on Emulator , Calendar
Event logging framework