LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 11: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


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


All times are GMT -5. The time now is 09:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration