Thank you for your kind replies.
I think I found one more way, that does it for me.
I simply get the tomcat path by
System.getProperty("catalina.home")
and then attach "/webapps" to that!
Stefan
| -----Ursprüngliche Nachricht-----
| Von: Ross Gardler [mailto:[EMAIL PROTECTED]
| Gesendet: Samstag, 14. Januar 2006 20:18
| An: [email protected]
| Betreff: Re: How to resolve relative "external" sources?
|
| Geert Josten wrote:
| > You could use input-modules to convert a relative path to an absolute
| > one. It should be possible with the realpath input module for instance.
| >
|
| The locationmap in Forrest is an input module that can be used to do
| this, and much more.
|
| Docs at http://forrest.apache.org/docs_0_80/locationmap.html
|
| Code at
| http://svn.apache.org/repos/asf/forrest/trunk/main/java/org/apache/forrest
| /locationmap/
|
| Ross