LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-09-2002, 10:19 PM   #1
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
tomcat- apache setup question


hi..
jsp/servlet/html files are properly displayed and working..
however, jsp vs servlet/html seems to have different root directory..
in jsp. when i use relative path such as /error/error.html
the jsp looks at /usr/local/jakarta-tomcat-3.3.1/webapps/ROOT/error/error.html

in html or servlets, when i use /error/error.html
they look at
/usr/local/apache/htdocs/error/error.html

it's really inconvenient.. any solutions plz..

------------------------------------------------
*.jsp files under
/usr/local/jakarta-tomcat-3.3.1/webapps/ROOT

are accessed by
localhost/*.jsp
-------------------------------------------------

===================================
*.html files under
/usr/local/apache/htdocs

are accessed by
localhost/*.html
====================================

--------------------------------------------------
servlets under
/usr/local/jakarta-tomcat-3.3.1/webapps/examples/WEB-INF/classes
is accessed by
localhost/examples/servlet/*
--------------------------------------------------
 
  


Reply



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
Is there any Apache-Tomcat "connector" setup tutorial that addresses this scenario??? sairndain Fedora 1 11-03-2005 05:37 AM
Linux Newbie here! Apache Setup Question mtbiker Linux - Software 4 07-21-2004 05:16 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM
apache and tomcat KaktusKnight Linux - General 3 01-27-2003 04:41 AM
Apache,Tomcat prowzen Linux - Software 0 05-09-2001 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration