jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spring MVC portlet get current URL as string
 
Similar Threads
Spring Portlet - Bean scope error
Websphere Portal - Test 399
Redirecting user to Login page & then resuming on the same page
Need to get the request parameters in JSF portlet
get the paramaters from one jspportlet into another portlet