Velocity Config/Security Issue

2006-10-10 Thread Robin Mannering
Hi all, I'm new back on this list in a while, please excuse if the following problem is obvious/has been posted before. I am transferring an existing site based on Struts/Velocity to a new web hosting provider. The application runs smoothly on its current host. However, there seems to be

AbstractPagerTool

2006-10-10 Thread Erica Ren
Sorry this is a reply to the following thread, because my mailbox rejects velocity mailer for some reason and I couldn't figure out how to reply to the thread... http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user/200610.mbox/browser I was wondering if anyone can provide an example

Re: Velocity Config/Security Issue

2006-10-10 Thread Will Glass-Husain
Looks like the security policy on your app server needs to be tuned. Have you tried giving the permission java.lang.RuntimePermission for accessClassInPackage.org.apache.catalina.core? WILL On 10/10/06, Robin Mannering [EMAIL PROTECTED] wrote: Hi all, I'm new back on this list in a while,

Re: AbstractPagerTool

2006-10-10 Thread erica_ren
Thanks so much! I will try that today. The tools are very helpful indeed, I'm already using listTool and if I can get AbstractPagerTool to work it will save me so much headache. Thanks! Nathan Bubna [EMAIL PROTECTED] 10/10/2006 12:09 PM Please respond to Velocity Users List

RE: pulling static content from a URL into a velocity template?

2006-10-10 Thread Peter Locke
Yes, I saw that, thanks, unfortunately my configuration still uses the original VelocityServlet, and that appears to be a tool that requires the VelocityView structure. I suppose writing a more generic version that incorporates content caching won't be too bad. Thanks. -Original

Re: pulling static content from a URL into a velocity template?

2006-10-10 Thread Nathan Bubna
ImportTool is a thin wrapper around the ImportSupport class that basically takes advantage of the VelocityView structure to automatically set the request, response, and application variables for ImportSupport. It should be trivial for you to write your own, none-VelocityView-dependent ImportTool

Re: pulling static content from a URL into a velocity template?

2006-10-10 Thread Nathan Bubna
just to be explicit. ImportSupport has no VelocityTools dependencies... On 10/10/06, Nathan Bubna [EMAIL PROTECTED] wrote: ImportTool is a thin wrapper around the ImportSupport class that basically takes advantage of the VelocityView structure to automatically set the request, response, and

Re: Velocity Config/Security Issue

2006-10-10 Thread Robin Mannering
Hi Will, thanks for your help. Sorry. I'm new to permissions, could you explain a little more for me please. Thanks Robin From: Will Glass-Husain [EMAIL PROTECTED] Reply-To: Velocity Users List velocity-user@jakarta.apache.org To: Velocity Users List velocity-user@jakarta.apache.org

Re: How to specify velocity.log location

2006-10-10 Thread Michael Giroux
Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]