This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem getting URL using struts tiles" Watch "Problem getting URL using struts tiles" New topic

Problem getting URL using struts tiles

raul marzo

Joined: Apr 09, 2007
Posts: 21

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="" target="_blank" rel="nofollow"></a>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Problem getting URL using struts tiles
It's not a secret anymore!