-none- 2007-10-02 - By Szabolcs M?rton
Back Hi
maybe try this, in server.xml, in tomcat6
<Context path="" docBase="YOUR_CONTEXT_HERE" debug="0" />
after this, every request at http://host will served by the context you specified here. No any changes neccessary, as i remember.
regards Szabi
2007/9/30, Caldarale, Charles R <Chuck.Caldarale@(protected)>: > > > From: Ken Bowen [mailto:kbowen@(protected)] > > Subject: Re: How to specify a default context? > > > > Since I plan to use http://tuckey.org/urlrewrite/ to > > rewrite URLs, and since "/" will rewrite to "/myapp/", > > then the request htpp://myhost/ will ending up causing > > myapp to handle the request. > > Yes, using a filter or valve to forward or redirect requests to the > desired URI should work. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To start a new topic, e-mail: users@(protected) > To unsubscribe, e-mail: users-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > >
|
|