[jira] Commented: (VELOCITY-661) Parsing errors on content inside #literal() #end block

2009-01-07 Thread ND (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661658#action_12661658 ] ND commented on VELOCITY-661: - Thanks guys for all the effort, in the end, I don't really car

Re: More Performance

2009-01-07 Thread Byron Foster
On 1/5/09 9:33 , Jarkko Viinamäki wrote: Hmm. java.lang.String already caches the hash value internally so that wouldn't do anything. Besides, the time it takes to compute the hash is extremely small compared to other operations (e.g. ASTReference.execute()) that happen inside the VMProxyContex

Re: Few Doubts on Velocity, please clarify

2009-01-07 Thread Claude Brisson
Hi. Velocty by itself is just a template engine, it knows nothing about HTTP. But if you use VelocityTools, or if you just put the HTTP response into the context, you can write the same : $response.setHeader("Cache-Control","no-cache"); ## HTTP 1.1 $response.setHeader("Pragma","no-cache"); ## HTT

Few Doubts on Velocity, please clarify

2009-01-07 Thread raghuprasad
Hi all, Is it possible o write Scriplets (like in JSP) in Velocity? Can we set request attributes in Velocity? How to clear the Browser cache from velocity? below is the one which can be done from JSP <% response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setHeader("Pragma","no