File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply 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: 17234
    
    1

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: spring MVC portlet get current URL as string
 
Similar Threads
Spring Portlet - Bean scope error
get the paramaters from one jspportlet into another portlet
Redirecting user to Login page & then resuming on the same page
Websphere Portal - Test 399
Need to get the request parameters in JSF portlet