It also looks like a question for the user list, but you should
take a look at how the Resource Loaders work. I think you need
to build a resource loader that supports HTTP.

Take a look at the stuff in the packages:
  org.apache.velocity.runtime.resource
  org.apache.velocity.runtime.resource.loader

Try also searching for "Resource", "Resource Loader" and 
"Resource Manager" in the documentation.


Have fun,
Paulo Gaspar

> -----Original Message-----
> From: Soriano, Jaume [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 11, 2001 10:28 AM
> To: [EMAIL PROTECTED]
> Subject: Templates from an URL...is possible?
> 
> 
> I mean, instead of writing:
> Velocity.mergeTemplate("paises.vm",ctx,somethingHTML);
> 
> ...something like:
> Velocity.mergeTemplate("http://anothermachine/templates/paises.vm";
> ,ctx,smthi
> ng);
> 
> Is possible to do that?
> 
> Thank you very much!
> 
> ========<[EMAIL PROTECTED]>=========
> 

Reply via email to