Greetings, i'm facing problem with velocity while trying to find the velocity template on my jsp website.
Currently i'm putting the templates in this path /Server1/sop/templates/vmTemplate.vm where Server1 is the root. I have upload my java file to connect to the velocity template as shown here: http://www.nabble.com/file/p17530181/vmTemplate.java vmTemplate.java The error i'm getting are shown below: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/Server1/sop/templates/vmTemplate.vm' at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452) at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1077) at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:303) Please guide me on what should i do to enable the java file to read where the template is. Thanks -- View this message in context: http://www.nabble.com/org.apache.velocity.exception.ResourceNotFoundException%3A-Unable-to-find-resource-tp17530181p17530181.html Sent from the Velocity - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
