Solved

Making a root folder for JBoss Tomcat 4.1.29

Posted on 2006-10-31
3
584 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

685 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