[htmltmpl-java] Exception: No such file or directory
Status: Beta
Brought to you by:
bluesmoon
From: <je...@ne...> - 2006-06-02 13:21:53
|
Hi again :-) I am almost there! ... I just have one thing I need to figure out. My application is in: /usr/share/tomcat5/webapps/todo And my templates is in the same directory. For example, I have a template named projects.tmpl. But my application can't find the template, so I printed out the current directory: out.print(System.getenv("PWD")); The above command returns: /usr/share/tomcat5 So I need to add "webapps/todo" in front of every template filename... of cause I don't want to do that. Instead I would like to make the application believe that it's root directory is /usr/share/tomcat5/webapps/todo. Can you tell me how to do that? Thanks :-) BR Jette |