You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wilson Fletcher <wi...@mclachlan.com.au> on 2003/05/07 06:00:28 UTC

Initial steps to add servlets to apache

I'm running apache 1.3.23

I want to deploy some servlets that smeone has provided to me and am having
difficulty getting apache to recognise /servlet.

I have tried to look at documentation but at this stage I am so new to it
that there is a mountain of documentation and I'mnot even sure if I'm
looking at the right stuff.

I believe I need tomcat in order to be able to run Java Servlets with
apache. Is this correct ?

I've also noticed that there seems to be a mod_jk. Is this an additional
module I need to download and install OR is it included with the tomcat
distributions. I plan to install the tomcat rpms.

In short all I want to do is put some some java classes on the server and
then access them with a URL in the form of:

http://<web server>/servlet/java-app.class

I wouldn't have thought this was overly complex but I'm a bit confused by
the different versions and amoutnof documentation available at present.

Can anyone help me get started ?

Thanks,

Wilson Fletcher





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Initial steps to add servlets to apache

Posted by Tim Funk <fu...@joedog.org>.
http://tomcatfaq.sourceforge.net/apache.html

-Tim

Wilson Fletcher wrote:
> I'm running apache 1.3.23
> 
> I want to deploy some servlets that smeone has provided to me and am having
> difficulty getting apache to recognise /servlet.
> 
> I have tried to look at documentation but at this stage I am so new to it
> that there is a mountain of documentation and I'mnot even sure if I'm
> looking at the right stuff.
> 
> I believe I need tomcat in order to be able to run Java Servlets with
> apache. Is this correct ?
> 
> I've also noticed that there seems to be a mod_jk. Is this an additional
> module I need to download and install OR is it included with the tomcat
> distributions. I plan to install the tomcat rpms.
> 
> In short all I want to do is put some some java classes on the server and
> then access them with a URL in the form of:
> 
> http://<web server>/servlet/java-app.class
> 
> I wouldn't have thought this was overly complex but I'm a bit confused by
> the different versions and amoutnof documentation available at present.
> 
> Can anyone help me get started ?
> 
> Thanks,
> 
> Wilson Fletcher
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Initial steps to add servlets to apache

Posted by Dan Tran <da...@hotmail.com>.
Wilson, you will have a long way to go.

First you need to install Tomcat, and get it running.
Test it with http://localhost:8080

Second you need to package your servlet into a WebApp structure.  And deploy
it to tomcat.
This requires some reading

Look for a book on servlet/jsp programming
to understand more.

Regarding apache, you dont need right now.  Apache is like gateway to your
tomcat but you can live with out it.
Your can directly invoke your servelt thru tomcat using
port 8080

Sorry this is not much help.

-Dan


----- Original Message ----- 
From: "Wilson Fletcher" <wi...@mclachlan.com.au>
To: <to...@jakarta.apache.org>
Cc: <wi...@mclachlan.com.au>
Sent: Tuesday, May 06, 2003 9:00 PM
Subject: Initial steps to add servlets to apache


> I'm running apache 1.3.23
>
> I want to deploy some servlets that smeone has provided to me and am
having
> difficulty getting apache to recognise /servlet.
>
> I have tried to look at documentation but at this stage I am so new to it
> that there is a mountain of documentation and I'mnot even sure if I'm
> looking at the right stuff.
>
> I believe I need tomcat in order to be able to run Java Servlets with
> apache. Is this correct ?
>
> I've also noticed that there seems to be a mod_jk. Is this an additional
> module I need to download and install OR is it included with the tomcat
> distributions. I plan to install the tomcat rpms.
>
> In short all I want to do is put some some java classes on the server and
> then access them with a URL in the form of:
>
> http://<web server>/servlet/java-app.class
>
> I wouldn't have thought this was overly complex but I'm a bit confused by
> the different versions and amoutnof documentation available at present.
>
> Can anyone help me get started ?
>
> Thanks,
>
> Wilson Fletcher
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org