Solved

Making a root folder for JBoss Tomcat 4.1.29

Posted on 2006-10-31
3
583 Views
Last Modified: 2008-01-09
I'm building a new website on Tomcat 4.1.29. I've figured out how to create sub-sites so that the web address is:
http://servername:8080/appname

How do you create a web root folder so that it can be accessed simply with: http://servername/

In the root folder, we also need to place some common CSS and images that can all be accessed by all subsites. (i.e. <img src="/images/photo.jpg">)

In IIS, you simply use the directory structure as needed, but I can't seem to figure out how to do this in Tomcat.
0
Comment
Question by:DJmistral
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 50 total points
ID: 17853996
Default root pages for tomcat are placed in $TOMCAT_HOME/webapps/ROOT
simplest way is to replace default pages by your's.
Another way is to change path of the default ROOT folder in file $TOMCAT_HOME/conf/server.xml
Search for ROOT in that file and replace it by your directory name
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question