tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serg Velikanov <w...@vpk.vl.net.ua>
Subject Re[2]: tomcat-servlets problem
Date Fri, 24 Nov 2000 20:09:03 GMT
Hello Ritwick,

Friday, November 24, 2000, 9:03:24 PM, you wrote:

RD> 'Getting started' documentation is included with the download in the
RD> $TOMCAT_HOME/doc directory. Its also available online at jakarta.apache.org.
 
RD>  -----Original Message-----
RD> From: Panagiotis Konstantinidis [mailto:panos@hotgen.com]
RD> Sent: Friday, November 24, 2000 1:07 PM
RD> To: 'tomcat-user@jakarta.apache.org'
RD> Subject: tomcat-servlets problem



RD>   Hello everybody. I am new to using Tomcat and I have some problems. I am
RD> using Tomcat with Apache. The problem is that I do not know how to run a
RD> servelt (or a jsp file) using tomcat. Lets say I have a servlet
RD> (HelloWorld.java) that I have compiled properly. How can I run it using
RD> Tomcat? How can I configure the relevant files? I have read the FAQ and the
RD> configuration instructions but they do not seem to work. I have tried:
RD> http://localhost/servelts/HelloWorld <http://localhost/servelts/HelloWorld>
RD> (and many more combinations) but it does not seem to work. Could anybody
RD> help me please and give me explicit examples of how to configure the proper
RD> files and where to put the servlet files? Is it the same if I want to run
RD> JSP files? Thank you for your time.

  
RD>   Regards 

RD>    Panos 

Getting started, getting started. May be, way be. So you have your
servlet? Does tomcat know about it? It seems to me no.

So .java and .class files of your project classesyour should be in
tomcat\webapp\YOURPROJECTDIRECTORY\WEB-INF\class\YOURPROJECTCLASSNAME\*.*
due to servlet spec.

Your .html .htm .jsp and so on files should be in
tomcat\webapp\YOURPROJECTDIRECTORY\

And, please, restart your tomcat.

For Tomcat TEAM eyes only not for mass:
I'm  very respect your work, but if you know something, please tell
about it to other in your docs. As for me, I'm living in Ukraine and
for me it's not a lot of ways to obtain knowleadge --- Internet, some
translated books and hackers ftp's with books.
It's seems to me Tomcat documentation very-very spartan. No details
and so on.  Your users should work hardly to know something. Please,
sometime remember, sweet times when you first started.
-- 

Kharkov, Ukraine

Best regards,
 Serg                            mailto:well@vpk.vl.net.ua



Mime
View raw message