Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem getting URL using struts tiles

 
raul marzo
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic