Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Making a root folder for JBoss Tomcat 4.1.29

Posted on 2006-10-31
3
Medium Priority
?
588 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 200 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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

670 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