LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-26-2002, 01:46 AM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
how can i run my helloworld servlet in apache-tomcat-mod_jk?


i copied
helloworld.java helloworld.class
to
jakarta-tomcat-3.3.1/webapps/examples/WEB-INF/classes

i can use example servlets in that directory by accessing localhost/examples/servlets
and click links..(but if i type them in browser address bar, they dont' work either..404 not found error)

what setting am i missing?
thank you
 
Old 04-28-2003, 08:33 AM   #2
gballsch
LQ Newbie
 
Registered: Mar 2003
Location: Northern Virginia
Distribution: Red Hat 8
Posts: 18

Rep: Reputation: 0
Servlets in Tomcat

I think that I have a related question - I have my apache/tomcat install working fine but would like to have various compiled servlets live in a directory like ~/webapps/servlets. When I add servlets there they do not work, but they do work if I put them in the ~/examples/WEB-INF/classes and access via /examples/servlets. Do I need to define this new directory so that Tomcat will recognize? Do I have to install and promote each new servlet application to the Tomcat container in something like server.xml?
Thanks -
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache, tomcat & mod_jk jonathon Linux - General 1 06-29-2006 01:06 AM
tomcat,apache,mod_jk + localhost dashp Linux - Software 1 03-27-2005 08:06 PM
connecting Apache 1.3.x and Tomcat 5.5: mod_jk [GOD]Anck Slackware 0 03-22-2005 09:27 AM
mod_jk-2.0.42.so - apache-tomcat connector anura Linux - Software 0 10-11-2004 03:53 AM
Apache, Tomcat problem with mod_jk WaveyDave Linux - Software 0 09-20-2001 08:28 AM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration