jQuery in Action, 3rd edition
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


Win a copy of Head First Android this week in the Android forum!
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem getting URL using struts tiles
 
jQuery in Action, 3rd edition