> I use Velocity as my web interface and JBoss as J2EE.
> Where is the root directory relative to servelet running by JBoss &
> Tomcat?
I believe that it's the directory where you are when you run jboss.
> Anyone knows how to solve it?
I use Velocity's classpath resource loader. Jar up your templates, drop
the jar into the lib directory of your war file, and add:
resource.loader = classpath
classpath.resource.loader.class =
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
to WEB-INF/conf/velocity.properties.
HTH,
Toby
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user