Re: Making my servlet the default instead of what's in ROOT
On Sun, 2005-07-17 at 17:37 +0100, Mark Thomas wrote: > Tomcat version? jakarta-tomcat-5.5.9 > Chris Abajian wrote: > > More clues: > > > > We got it to work if you put > > > > > > > in the top-level server.xml file. It does NOT work if you put this > > context fragment in $CATALINA_HOME/conf/Catalina/localhost > > > > the documentation on auto-deployment is frustrating in a couple of > > points. My working hypothesis is that Catalina finds and parses the XML > > context fragment correctly, but then, when encountering the war file > > (or expanded directory) containing WEB-INF/web.xml it generates a new > > context automatically. The docs are vague on this, offering a warning > > that explicit contexts don't play well with autodeployed apps. > > > > Can anyone offer some insights into this? Is this the intended > > behavior? > > > > On Wed, 2005-07-13 at 13:13 -0700, Chris Abajian wrote: > > > >>I want http://mylocal.tomcat.machine/ to run my servlet's hello world > >>(instead of whatever's in ROOT) without having to put the servlet name > >>in the path, i.e. I want it to be the "front door" for the domain. > >> > >>Can't make this work, no amount of futzing with Context path= or > >>docBase= does it. > >> > >>This is a stupid question but I've been Googling and tweaking for a day > >>now. Help? > >> > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making my servlet the default instead of what's in ROOT
More clues: We got it to work if you put I want http://mylocal.tomcat.machine/ to run my servlet's hello world > (instead of whatever's in ROOT) without having to put the servlet name > in the path, i.e. I want it to be the "front door" for the domain. > > Can't make this work, no amount of futzing with Context path= or > docBase= does it. > > This is a stupid question but I've been Googling and tweaking for a day > now. Help? > -- Chris Abajian <[EMAIL PROTECTED]> thePlatform, Inc. (206) 839-0600 ext. 216 "Whoever, as a result of having authorized access to classified information, learns the identity of a covert agent and intentionally discloses any information identifying such covert agent to any individual not authorized to receive classified information, knowing that the information disclosed so identifies such covert agent and that the United States is taking affirmative measures to conceal such covert agent’s intelligence relationship to the United States, shall be fined not more than $25,000 or imprisoned not more than five years, or both." -- US Code Title 50, Chapter 15, Subchapter IV, § 421(b) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Making my servlet the default instead of what's in ROOT
I want http://mylocal.tomcat.machine/ to run my servlet's hello world (instead of whatever's in ROOT) without having to put the servlet name in the path, i.e. I want it to be the "front door" for the domain. Can't make this work, no amount of futzing with Context path= or docBase= does it. This is a stupid question but I've been Googling and tweaking for a day now. Help? -- Chris Abajian <[EMAIL PROTECTED]> thePlatform, Inc. (206) 839-0600 ext. 216 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]