Thanks for the quick response Yu-Meng. I am reading now...

> -----Original Message-----
> From: Yu-Meng Chong [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 10, 2002 5:26 PM
> To: Tomcat Users List
> Subject: Re: Tomcat questions (long)
> 
> Hi Josh !
> 
> I can help you out with the first part of your really long email (you
> weren't kidding, were you ?). I, too, had a problem with all those
> out.println()'s, and there *is* a better solution. You *can* try JSP
> code,
> but it becomes difficult to maintain after a while -- especially if
> you're
> trying to do some complex processing. My choice would be Velocity (see
> http://jakarta.apache.org/velocity/index.html ) It's a template engine
> which
> makes a very clean (IMHO, at least) division between interface and
> implementation. How it works is : you create a normal HTML file, but
> put
> placeholders in the code that will be populated by your servlet. Then
> you
> write a servlet that does the processing and outputs the result as a
> string
> which gets inserted into the placeholder. This is a VERY different
> approach
> from the more "mainstream" method of JSPs and JavaBeans, which (again
> IMHO)
> is too complicated and prone to error. A very good comparison can be
> found
> here : http://jakarta.apache.org/velocity/ymtd/ymtd.html
> 
> As for the rest of your email ... well, I'll leave it to others more
> knowledgeable and articulate than myself  to explain.
> 
> Regards,
> Pascal Chong


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to