Do whatever the web.xml in /examples does.

Read the docs, search the archives, use the examples as examples.  Most of
the answers for getting started are there.

John


> -----Original Message-----
> From: Eduardo Kotujansky [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 2:20 PM
> To: Tomcat Users List
> Subject: Re: basic tomcat configuration
> 
> 
> How can I change it for other app?
> 
> Thanks
> 
> 
> ----- Original Message -----
> From: "Turner, John" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 18, 2002 4:58 PM
> Subject: RE: basic tomcat configuration
> 
> 
> >
> > There is probably a default invoker servlet configured for 
> the examples
> > Context.
> >
> > John
> >
> > > -----Original Message-----
> > > From: Eduardo Kotujansky [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, December 18, 2002 2:08 PM
> > > To: Tomcat Users List
> > > Subject: Re: basic tomcat configuration
> > >
> > >
> > > Ok, there was no <servlet-mapping>  at my
> > > myApp/WEB_INF/web.xml. It worked .
> > >
> > > but... Why I can just save a servlet at
> > > examples/WEB_INF/classes and it
> > > works ? With out
> > >  put anything at examples  web.xml file.
> > >
> > >  The myApp Context in server.xml file is ok
> > >  (  <Context path="/myApp" docBase="myApp"/> )
> > >
> > >
> > >
> > > Thanks for any help
> > >   Eduardo
> > >
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Dodd Gatsos" <[EMAIL PROTECTED]>
> > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > Sent: Wednesday, December 18, 2002 3:44 PM
> > > Subject: Re: basic tomcat configuration
> > >
> > >
> > > > Is this standalone or through apache with mod_jk?
> > > >
> > > > If mod_jk, is the Alias for myApp added and the JkMount in
> > > the mod_jk.conf
> > > > file?
> > > > Alias /myApp "/Tomcat/webapps/myApp"
> > > > JkMount /myApp/* ajp13
> > > >
> > > > Is the myApp Context added to the server.xml file?
> > > > <Context path="/myApp" docBase="myApp"/>
> > > >
> > > > Is the <servlet> and <servlet-mapping> setup in the
> > > > webapps/myApp/WEB-INF/web.xml file?
> > > > <servlet>
> > > >     <servlet-name>servletname</servlet-name>
> > > >     <servlet-class>classname</servlet-class>
> > > > </servlet>
> > > > <servlet-mapping>
> > > >     <servlet-name>servletname</servlet-name>
> > > >     <url-pattern>/urlname</url-pattern>
> > > > </servlet-mapping>
> > > >
> > > > Lastly, check the log files to ensure that your Context is being
> > > > successfully loaded and not failing due to an XML parsing error.
> > > >
> > > > ----- Original Message -----
> > > > From: "Eduardo Kotujansky" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, December 18, 2002 11:38 AM
> > > > Subject: basic tomcat configuration
> > > >
> > > >
> > > > >
> > > > > I can only run servlets at webapps\examples\WEB-INF\classes.
> > > > > If I put a servlet at  webapps\myApp\WEB-INF\classes ,
> > > does not work.
> > > > >
> > > > > any help?
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > > For additional commands, e-mail:
> > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to