aspose file tools*
The moose likes Tomcat and the fly likes Embedded tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Embedded tomcat" Watch "Embedded tomcat" New topic
Author

Embedded tomcat

Renat Zubairov
Greenhorn

Joined: Jun 12, 2003
Posts: 29
Hello All!
I have a question concerning embedded tomcat.
How to make it even more embedded as it is?
E.G. Read default web.xml, context.xml, tomcat-users.xml etc not from the file system but directly from the JAR (for example using class.getResourceAsStream())?
Is there any standart way to acomplish it?

BR
Renat
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

I have a question too - why do you want to do this?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Renat Zubairov
Greenhorn

Joined: Jun 12, 2003
Posts: 29
Actually I want to use embedded tomcat in my application. Sort to have a servlet container for one VIP web application. And I really don't want to deploy all directories needed by Tomcat.
Also I've found solution - Tomcat doing it by default so, now I have 5 jars + 1 war for all tomcat and webapp. It works fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Embedded tomcat