Hello, this suggestion is a great short cut. However, I have a datasource defined in conf/Catalina/localhost/MyApp.xml. Is there any way to access this datasource without declaring it here? I tried declaring a global datasource in server.xml, but the only way I figured out how to use it was by putting a local reference to the resource in my local context. I would aprpeciate any help.
Best Regards, Khawaja Shams On 1/12/06, Dennis Leary <[EMAIL PROTECTED]> wrote: > > The simplist way is to rename your app to ROOT. If read about creating a > ROOT.xml in conf/Catalina/localhost and pointing the docbase to your > webapp > by I didn't have much luck with it. > ----- Original Message ----- > From: "Marco Rossi" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Thursday, January 12, 2006 11:27 AM > Subject: Re: Changing default web apps > > > > Ok for list archive > > > http://wiki.apache.org/tomcat/HowTo#head-e82228c43a0ce77f71ebe64fc99ced33c9506ffe > > > > > > > > Marco Rossi <[EMAIL PROTECTED]> wrote: Hi all, > > > > I'm trying to deploy a single web app to serve a whole web site on port > > 80. I'm able (finally:-) to use jsv to redirect port 80 to 8080, but I'm > > wish to chanche the default application that listen on port 8080. > > > > I noticed that the files to be server are coming from webapps/ROOT, how > > can I set as default webappas/MyApp/index.jsp in tomcat 5.5.12 ? > > > > Thanks > > > > > > > > > > --------------------------------- > > Yahoo! Photos > > Got holiday prints? See all the ways to get quality prints in your hands > > ASAP. > > > > > > > > --------------------------------- > > Yahoo! Photos > > Got holiday prints? See all the ways to get quality prints in your hands > > ASAP. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >