• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Embedded tomcat

 
Renat Zubairov
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question too - why do you want to do this?
 
Renat Zubairov
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic