aspose file tools
The moose likes Spring and the fly likes How to get  request parameters from GET request Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "How to get  request parameters from GET request" Watch "How to get  request parameters from GET request" New topic
Author

How to get request parameters from GET request

shikhaj jainy
Greenhorn

Joined: Oct 21, 2010
Posts: 10
Hello Ranchers

I have a requirement in which I need to retrieve GET request parameters from url eg. http://login.html?check=yes in Spring's simpleFormController.
Can anyone suggest me how to get check parameter in controller.
I do not where to post this query in JSP or Spring forum as both are used here so I just posted it here.

Any help will be appreciated.

Thank You.
Shikha












Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56178
    
  13

Moved to the Spring forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 503

Have a look into referenceData function in the controller, that should do it.


Regards, Prasad
SCJP 5 (93%)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to get request parameters from GET request
 
Similar Threads
Getting the name of the requesting page
Handling a post request using Sockets
How do I retrieve Javascript values from a Java servlet?
POST method parameters
how to tell if a servlet forwarded the user to this JSP