• 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!