This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Spring and the fly likes spring MVC portlet get current URL as string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "spring MVC portlet get current URL as string " Watch "spring MVC portlet get current URL as string " New topic
Author

spring MVC portlet get current URL as string

rajiv jackz
Greenhorn

Joined: Jul 12, 2010
Posts: 29
HI all,
i need to know how to get current request URL in spring ModelViewController controller but it is spring portlet. i have a code like this.

@RenderMapping
public String showForm(RenderRequest request, RenderResponse response, ModelMap model)
{
---------
---------
---------

}
i need it in portlet

please any one help me?

Thanks in Advance!
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Doesn't the request class have a method to get the URL, typically they do?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Consider Paul's rocket mass heater.
 
subject: spring MVC portlet get current URL as string
 
Similar Threads
Need to get the request parameters in JSF portlet
Redirecting user to Login page & then resuming on the same page
get the paramaters from one jspportlet into another portlet
Spring Portlet - Bean scope error
Websphere Portal - Test 399