You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/06/29 16:52:00 UTC

t5: text file and tomcat deployment

Hi,

I put a info.txt file under src/main/resources and when jetty:run I can see
info.txt under target/classes, that's what I want. however when I deploy it
in tomcat, the info.txt file is inside a jar file:
ROOT/WEB-INF/lib/myapp.jar, my purpose is, a text file that can be edited
manually to configure some parameters, inside jar file make this impossible.
any idea how to put a txt file outside of a jar and yet accessible
by:this.getClass().getResourceAsStream("/info.txt")

Thanks,

Angelo
-- 
View this message in context: http://www.nabble.com/t5%3A-text-file-and-tomcat-deployment-tp24255655p24255655.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org