http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/web.xml.txt

Also look at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html for other
information.


> -----Original Message-----
> From: Jim Marnell [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 15, 2002 12:23 PM
> To: Tomcat Users List
> Subject: RE: Newbie questions
> 
> 
> 
> Can you show a complete example please?
> Thanks
> /Jim
>  Saravanan Bellan wrote:Servlets should have their mapping 
> defined in WEB-INF/web.xml
> 
> 
> > -----Original Message-----
> > From: Jim Marnell [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 15, 2002 12:12 PM
> > To: Tomcat Users List
> > Subject: RE: Newbie questions
> > 
> > 
> > 
> > I had not added context entry's to server.xml. I added the 
> > following and it still does not work:
> > 
> > > debug="0" privileged="true"/>
> > 
> > > debug="0" privileged="true"/>
> > 
> > 
> > The examples entry looked complicated so I tried to emulate a 
> > simple example (manager). Should that have worked?
> > Also, I moved my servlet into the examples directory - did 
> > not work - 404 not available. Restarted for both tries.
> > /Jim
> > "Turner, John" wrote:
> > 
> > Did you add a Context entry in server.xml for jimbo? 
> > Basically, wherever
> > you see entries in server.xml for "examples", you need to do 
> > the same thing
> > for "jimbo", then restart tomcat
> > 
> > You can also put your servlet into the examples directory, 
> > with the example
> > servlets, and see if you can call it via
> > http://localhost:8080/examples/Form1
> > 
> > John Turner
> > [EMAIL PROTECTED]
> > 
> > 
> > -----Original Message-----
> > From: Jim Marnell [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 15, 2002 2:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: Newbie questions
> > 
> > 
> > 
> > I'm having problems running a servlet. I've installed tomcat 
> > 4.0.4, apache
> > 2 & jdk 1.4 on redhat 7.2.
> > 
> > I put html file with the following into apache's htdocs directory
> > 
> > 
> > 
> > 
> > I then created a directory in $tomcat_home/webapps called 
> > jimbo. Within
> > directory jimbo I created WEB-INF/classes and moved my 
> > compiled servlet into
> > it. I restarted tomcat and get a 404 message stating that 
> Form1 is not
> > available. Please let me know what is wrong.
> > 
> > Also, do I need any special apache modules for tomcat?
> > 
> > Thanks in advance.
> > 
> > /J
> > 
> > 
> > 
> > ---------------------------------
> > Do You Yahoo!?
> > HotJobs, a Yahoo! service - Search Thousands of New Jobs
> > 
> > --
> > To unsubscribe, e-mail: 
> > For additional commands, e-mail: 
> > 
> > 
> > 
> > ---------------------------------
> > Do You Yahoo!?
> > HotJobs, a Yahoo! service - Search Thousands of New Jobs
> > 
> 
> --
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> HotJobs, a Yahoo! service - Search Thousands of New Jobs
> 

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

Reply via email to