Re: Problems upgrading to Tomcat 7

2012-07-31 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro, On 7/30/12 5:48 PM, Alejandro Mehring wrote: I'm migrating to Tomcat 7 a web system that used to run on Tomcat 4... Been there (though I went through 5.5 and 6.0 to get there in a relatively short amount of

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Alejandro Mehring
First of all, thank you very much for your quick response! I'm too having a hard time believing that tomcat would do something like that... I even tried on a new web project and it didn't remove the parent directory reference! I'm very confused right now... The base url of the application is of

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Tim Watts
On Tue, 2012-07-31 at 09:20 -0300, Alejandro Mehring wrote: First of all, thank you very much for your quick response! I'm too having a hard time believing that tomcat would do something like that... I even tried on a new web project and it didn't remove the parent directory reference! I'm

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread André Warnier
Alejandro Mehring wrote: ... The base url of the application is of the form http://host/app/servlets/FrontController So when in Tomcat 4 the page fetches the stylesheet (using the href=../lightStyle.css form), it resolves to http://host/app/lightStyle.css, whereas in Tomcat 7 it goes to

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Alejandro Mehring
Thank you very much for your help! Digging a bit more into the system, I came to a part where it's building the link based on the original servlet request. If I have this URL: http://host/app/servlet/FrontController?arg1=yesarg2=target.jsparg3=something Java 1.4's getRequestURL() returns

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread André Warnier
Alejandro Mehring wrote: Thank you very much for your help! Digging a bit more into the system, I came to a part where it's building the link based on the original servlet request. If I have this URL: http://host/app/servlet/FrontController?arg1=yesarg2=target.jsparg3=something Java 1.4's

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Alejandro Mehring
I'm very sorry! I forgot to mention that i tried what he suggested, but got the same result. That's why I started digging more into it and got to that point and what helped me find this other issue. Thanks again! Ale On Tue, Jul 31, 2012 at 11:31 AM, André Warnier a...@ice-sa.com wrote:

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Mark Thomas
On 31/07/2012 15:07, Alejandro Mehring wrote: Thank you very much for your help! Digging a bit more into the system, I came to a part where it's building the link based on the original servlet request. If I have this URL:

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Alejandro Mehring
Thank you, Mark! I'll look into the container and let you know when i find the solution. Cheers, Ale On Tue, Jul 31, 2012 at 11:57 AM, Mark Thomas ma...@apache.org wrote: On 31/07/2012 15:07, Alejandro Mehring wrote: Thank you very much for your help! Digging a bit more into the system,

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread André Warnier
Alejandro Mehring wrote: I'm very sorry! I forgot to mention that i tried what he suggested, but got the same result. That's why I started digging more into it and got to that point and what helped me find this other issue. Allright, but next time try to provide some feedback. People on the

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro, On 7/31/12 10:07 AM, Alejandro Mehring wrote: Digging a bit more into the system, I came to a part where it's building the link based on the original servlet request. If I have this URL:

Re: Problems upgrading to Tomcat 7

2012-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro, On 7/31/12 8:20 AM, Alejandro Mehring wrote: The base url of the application is of the form http://host/app/servlets/FrontController Is that an HTTP base tag, or just the base of the webapp that you use as a mental model? So when in

Problems upgrading to Tomcat 7

2012-07-30 Thread Alejandro Mehring
Hi all!! I'm migrating to Tomcat 7 a web system that used to run on Tomcat 4... So far, I've been able to sort out all of the issues I've faced, but I'm stuck at one point. When a page loads in Tomcat 4, it goes and fetches the stylesheet from the server with a link of the form link

Re: Problems upgrading to Tomcat 7

2012-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro, On 7/30/12 5:48 PM, Alejandro Mehring wrote: I'm migrating to Tomcat 7 a web system that used to run on Tomcat 4... Been there (though I went through 5.5 and 6.0 to get there in a relatively short amount of time). So far, I've been