aspose file tools*
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
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: 17250
    
    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