Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Will Glass-Husain
Thanks for sharing your thoughts. Actually, with the caching turned on serving Velocity pages is pretty fast. Many say faster than JSP, though I haven't personally run any benchmarks. I agree though this isn't generally relevant in a typical webapp. I'd note that another benefit of Velocity is

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Edmund Urbani
Will Glass-Husain wrote: Thanks for sharing your thoughts. Actually, with the caching turned on serving Velocity pages is pretty fast. Many say faster than JSP, though I haven't personally run any benchmarks. I agree though this isn't generally relevant in a typical webapp. I'd note that

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Daniel Dekany
Thursday, April 7, 2005, 5:35:57 AM, jian chen wrote: Hi, All, I have quite some experience with JSP and Velocity. To say it short, I think Velocity is THE way to go. Reasons below: 1) Velocity syntax is very easy to recognize in any html template. Other templating systems like FreeMarker,

Re: Odd Behavior - Solved!

2005-04-07 Thread Elton Hughes
Hi Florin, I believe Macs use \r while Unix based systems use \n. Elton On Apr 6, 2005, at 10:16 PM, Florin Vancea wrote: Sorry for OT, but just curious: What's the EOL char (or chars) on Mac? - Original Message - From: Elton Hughes [EMAIL PROTECTED] To: Velocity Users List

RE: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Steve O'Hara
My tuppence worth Velocity outstrips JSP in one fundamental way that even as a Java developer, I can't refute - the fact that practically any HTML geek can use it without a crash course in Java. Aso, I've used JSP a lot and the tendency is to end up losing site of the MVC paradigm and

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Mark Hawkes
Ryan Lea wrote: Just wondering if anyone has used/tried/investigated all 3 of these as views (from MVC) and has any opinions on them?? I tried JSP back in December and, boy, I really tried to like it but had some issues that clashed with my way of thinking. I had one top level template with

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Mark Hawkes
Steve O'Hara wrote: As for performance, that's not an issue - the very minor performance benefit of JSP is insignificant compared to overall application losses caused by the servlet container, comms transport and browser rendering. Lets face it, if performance was a major factor you wouldn't be

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread jian chen
Hi, Steve, I totally agree with you. Using JSP, it is very easy to lose sight of the MVC pattern when development is under release pressure. I have seen people putting JDBC database code directly in JSP because it is lot easier to do and so to meet development deadline. Afterwards, that page

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Daniel Dekany
Answers has to be read with great reservations if you, for example, ask on a U2 mailing list if which is the better: U2 vs Pink Floyd vs Depeche Mode. Guess what will be the answer... :) Wednesday, April 6, 2005, 12:47:17 PM, Ryan Lea wrote: Just wondering if anyone has used/tried/investigated

Re: Velocity vs JSP vs FreeMarker

2005-04-07 Thread Barbara Baughman
Speaking only to the issue of JSP vs. Velocity, I have done both. I found JSP to be a maintenance nightmare. Even though, in many of my projects I am both the M, V, and C person, I find it so much easier to maintain if I organize the business logic in the programs and have something very simple

Weird execution of code

2005-04-07 Thread Manish
Something weird is happening here... I have this piece of code in my Velocity template file - $request.getLocalAddr() This works fine on other machine and gives the correct local IP, however on other machine this results in null value, why is it so? What configuration issue could affect this?