velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Swinson" <>
Subject Velocity URL Resource Loader: Resource Not Found
Date Tue, 11 Aug 2009 16:47:00 GMT


I'm having trouble access a template using URLResourceLoader using
something similar to the following code:

Properties p1 = new Properties();
VelocityEngine ve = new VelocityEngine();

Template t = ve.getTemplate("test.html");

but I'm getting a Resource Not Found Exception.

Has anyone had a similar experience , when accessing a URL through a

One thing I thought of was that the receiving machine is behind a
firewall and needs to go through a proxy.
Is velocity proxy aware , can it check for proxy settings. And if so

Thanks for any help

This e-mail (and any attachments) is confidential and may contain personal views which are
not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify
the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message