This content has been marked as final.
Show 2 replies
-
1. Re: Two contexts of a single web application
uday.madigatla Apr 15, 2009 6:18 AM (in response to jawwad.farooq)hi
i didn't understand what you are asking.
if you want to use two names likehttp://www.abc.com/admin/login.html
and
http://www.abc.com/client/login.html
why don't you configure both in the web.xml as url patterns...? -
2. Re: Two contexts of a single web application
zman12345 Apr 15, 2009 3:54 PM (in response to jawwad.farooq)In servlet, each context IS a web application, so what you asking doesn't make much sense.
But if you create a ROOT context, then you may have two URL mapping of admin and client that looks like what you described, but it would still under a single ROOT context.
I think latest Tomcat release supports something call SubContext though, so that might be something you are looking for too.
Have fun,
Zemian