You could have a default 'index' JSP in ROOT that redirects the user to the 'abc' context.
> Hi Yoav, > > I understand that, but my application must sometimes run in context path="" > sometimes context path="/abc" and I must refer images in > ApplicationResources.properties such as <IMG SRC="???? ... and that depends > of course on context path. > > I would prefer a solution that the applications always uses a context > path="/abc" but the user just can enter an URL: http://localhost:8080 > > How can I solve that problem? > > Zsolt > >> -----Original Message----- >> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >> Sent: Monday, April 05, 2004 2:46 PM >> To: Tomcat Users List >> Subject: RE: How to configure the default webapplication (ROOT)? >> >> >> >> Hi, >> The "default" web application is the one whose context path="" (the >> empty string). ROOT is nothing special. >> >> Yoav Shapira >> Millennium Research Informatics >> >> >>> -----Original Message----- >>> From: Zsolt Koppany [mailto:[EMAIL PROTECTED] >>> Sent: Sunday, April 04, 2004 5:31 AM >>> To: Tomcat Users List >>> Subject: How to configure the default webapplication (ROOT)? >>> >>> Hi, >>> >>> how can I configure tomcat (4,5) which application under (webapps) is >> the >>> default one? I understand that is right now "ROOT" and I would like to >>> modify that the user doesn't always have to enter the context path. >>> >>> Zsolt --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
