File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring MVC portlet get current URL as string

 
rajiv jackz
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't the request class have a method to get the URL, typically they do?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic