tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juha Laiho <Juha.La...@iki.fi>
Subject Re: STEPS TO RUN SERVLETS IN TOMCAT 6.0
Date Sun, 01 Jun 2008 08:38:16 GMT
Kiran,

chapter three of Apache Tomcat 6.0 documentation is named
"First Webapp". It does walk you through to creating and
your first webapp.

Please read it, and if you get stuck with something regarding
that document, then come back and desctibe the part of the
document with which you're having problems. It might well be
that just reading through the "Deployment" part of the tutorial
will help you solve your immediate problem.

Here's a direct link to the tutorial:
http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html
-- 
..Juha

kiran kumar wrote:
> HI SIR/MADAM,
> 
>                    THIS IS KIRAN KUMAR.K (B.TECH(INFORMATION TECHNOLOGY) ).I
> AM DOING A PROJECT WHICH NEEDS THE SERVLETS TO BE INCLUDED IN THAT
> PROJECT.BUT WHEN I AM REQUESTING THE FILE FROM THE TOMCAT(ie
> http://localhost:8080/my working directory/my file name)
> 
> Regarding this please help me on this what steps i need to take to run
> servlets on tomcat 6.0:
> 
> 
> what i done is:
> 
>              1. first i installed J2SE1.4.2_17 and then updated with J2SE
> update 6.
> 
>              2.then i installed the tomcat 6.0 it is working ie i am getting
> the tomcat home page.
> 
>              3.i installed tomcat on windows the path is C:\Program
> Files\Apache Software Foundation\Tomcat 6.0.
> 
>             4.then i created the my folder named as servlet under the
> webapps directory ie C:\Program Files\Apache Software
> 
>                Foundation\Tomcat 6.0\webapps\servlets
> 
>                ie servlets is my folder name of the project
> 
>            5.under this servlets directory again i created WEB-INF folder in
> that again i created classes folder and copied the web.xml file
> 
>               (which resides in the webapps directory ie C:\Program
> Files\Apache Software
> 
>                Foundation\Tomcat 6.0\webapps\examples\WEB_INF folder) to the
> WEB-INF folder
> 
>           6.i changed  the servlet-name & servlet-mapping tags in  the
> web.xml file
> 
>           7.then i placed the compiled class file in C:\Program Files\Apache
> Software
> 
>                Foundation\Tomcat 6.0\webapps\servlet\WEB-INF\classes folder.
> 
>          8.after this i am requesting my file from the
> http://localhost:8080/servlet/my file name
> 
>          9.then it is prompting an error like /servlet/my file name is not
> found.
> 
> 
>         PLEASE HELP ME ON THIS TOPIC.AND PLEASE SEND ME THE DETAILED STEPS
> NEEDED TO RUN SERVLETS ON
> 
>       TOMCAT 6.0.
> 
>       PLEASE SEND THE STEP WISE ACTIONS TO RUN SERVLETS.BECAUSE I AM NEW TO
> TOMCAT 6.0
> 
>                                                                  THANKING
> YOU
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message