running a servlet .class file

2004-01-16 Thread Allan Bruce
Hi there, My friend has sent me a servlet to run on my server, it is in the form of 2 *.class files. I have installed tomcat (succesfully I think) and I now want to run my friends servlet. Can somebody give me a brief description of how to do this? Many Thanks Allan

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
ChemInformatics -Original Message- From: Allan Bruce [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:40 AM To: [EMAIL PROTECTED] Subject: running a servlet .class file Hi there, My friend has sent me a servlet to run on my server, it is in the form of 2 *.class files. I have installed

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 1:32 PM Subject: RE: running a servlet .class file Howdy, Drop the class files under the appropriate directory of the examples' webapp's WEB-INF/classes directory, create a servlet and servlet-mapping for your

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, I still cant get it working, but neither is the example servlets, here is Hold on. Before you go further, make sure your tomcat installation is working, i.e. the examples and docs at least. Take Apache and the connectors out of the equation, just run tomcat standalone. Yoav Shapira

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
/servlet /web-app - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 1:32 PM Subject: RE: running a servlet .class file Howdy, Drop the class files under the appropriate directory of the examples' webapp's

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, actually, my web.xml file may be cack, this is it in its entirety: web-app servlet servlet-name WinGalagaHST /servlet-name servlet-class WinGalagaHST /servlet-class

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:01 PM Subject: RE: running a servlet .class file Howdy, I still cant get it working, but neither is the example servlets, here is Hold on. Before you go further, make sure your tomcat installation is working, i.e

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
- From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:01 PM Subject: RE: running a servlet .class file Howdy, I still cant get it working, but neither is the example servlets, here is Hold on. Before you go further

RE: running a servlet .class file

2004-01-16 Thread Shapira, Yoav
Howdy, How do I test the examples if tomcat is running on its own? I tried http://kes:8009/examples/ You connect to the HTTP connector, not the Apache connector. The default port is 8080. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
Subject: RE: running a servlet .class file Howdy, How do I test the examples if tomcat is running on its own? I tried http://kes:8009/examples/ You connect to the HTTP connector, not the Apache connector. The default port is 8080. Yoav Shapira This e-mail, including any attachments

Re: running a servlet .class file

2004-01-16 Thread Allan Bruce
suggetsions as to what is wrong? Many Thanks Allan - Original Message - From: Allan Bruce [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 3:41 PM Subject: Re: running a servlet .class file Ok, thanks - I dont think my tomcat can be running correctly