my dog learned polymorphism*
The moose likes Struts and the fly likes Problem getting URL using struts tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem getting URL using struts tiles" Watch "Problem getting URL using struts tiles" New topic
Author

Problem getting URL using struts tiles

raul marzo
Greenhorn

Joined: Apr 09, 2007
Posts: 21
Hi,

I'm working in a project where i'm using struts tiles. I need to get the current URL that appears in the browser, to allow users send it, but when I execute the method "getUrl" in my JSP code, what I get is the Url of the template that I'm using, not the url that it's shown on the web browser, that is related to the action executed.

Is there any way to get that url from the web browser?

Thanks in advance.


<a href="http://benderscasino.blogspot.com/" target="_blank" rel="nofollow">http://benderscasino.blogspot.com/</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem getting URL using struts tiles
 
Similar Threads
Tiles problem
Struts2: Alternative to tiles?
Custom tld declaration and nested tiles...
Need the steps for Integrating a Struts Application in Portal
Tiles problem