tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Tomcat 7 + VirtualHost
Date Mon, 22 Aug 2011 14:14:23 GMT
Piotr Pawlowski wrote:
> Dear All,
> 
> Making my application as ROOT app won't solve the problem because I will
> have application running under example.com , not example.com/myApp. A lot of
> hyperlinks are hard-coded in it. 

That is a very bad design, which will cost you a lot of lost time in the future.

Changing this will costs my developers
> around 4hours of coding and testing which we currently don't have. 

But it will cost you much, much more in the future, when you have even more pages like that.

Your current issue is a perfect example : just trying to change the initial URL leading to

your application, on the same server, is already complicated.

Now think what it would cost to install it on another system which already uses the name 
"myApp". Or that you need to give a copy to a graphic designer, to improve the looks.
Or to run this behind a proxy or load-balancer.

Spend the 4 hours now, and you will thank yourself many times in the future.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message