Lucio Ribeiro wrote: > Hi, I'm new here i'm having problems with new versions of Tomcat. > > I was using tomcat 5.0.27 and i have a web application made in Java. My code > has to get URL using the following code: > > String url = request.getRequestURL().toString(); > > I use Struts and my URL is > http://localhost:8080/terp/list.client.do?metodo=insert. > The code above returned the string > "http://localhost:8080/terp/list.client.do?metodo=insert". That's what i want. > > When i updated tomcat (I tested with tomcat 5.5.9 and 5.5.15), the code did > not work anymore. The code now is returning the path of the page like > "http://localhost:7070/terp/WEB-INF/templates/client/ListClient.vm". > > And now?? what can i do to solve this???? How can i get the correct URL??? > > Thanks and I'm waiting for your answer.
This question belongs on the users list where I will be happy to answer it for you. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
