Two Laptop Bag*
The moose likes Servlets and the fly likes Tomcat HTML placement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat HTML placement" Watch "Tomcat HTML placement" New topic
Author

Tomcat HTML placement

Eric Racin
Greenhorn

Joined: Oct 13, 2010
Posts: 12
Tomcat question: I was told by my organization that we can't proxy root level documents like /index.html.
They said everything must be pushed down at least one level. i.e. http://sxmcifscs/fscs/index.html

I don't understand what directory changes are needed.
Tomcat has the directory structure:
\Tomcat\webapps\ROOT
with HTML going in the ROOT directory.
Where am I supposed to place the HTML files?
Do I have to change server.xml or web.xml?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Just create a folder named fscs at the context root if you want to keep the web app as the root web app.

Or... are you wanting to make the entire web app move to the /fscs context path?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat HTML placement
 
Similar Threads
Tomcat without web applications
J2EE Reference Implementation default webapp
Tomcat HTML placement
can't access tomcat-docs webapp
How to debug a servlet