If you have messy HTML that would probably be the case. However, Jelly scripts can easily generate HTML as well as anything else (csv files, XML, straight text, or no output at all). There is even a JellyServlet for doing such a thing. Oh yea and you can embed Velocity scipts (using a Jelly tag) in a jelly script as well.

I have used Jelly to dynamically generate a ton a test SQL statements into a regular text file to populate a database with dummy data.

On a related note, I am working on a JSP taglib that will allow embedding of Jelly scripts in a JSP page as well as executing an 'external' jelly script, if you are interested. I have a definate need for it coming up soon so I'm going to write it regardless and then donate it, but if you want I will send it to you when I'm done.

Robert McIntosh

Ojares Rami EINT wrote:
So I quess it is fair to say that JSP tags (or Velocity) is better solution
when building dynamic web pages (messy html + whatever)?
Would you agree?

- rami


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 12:15 AM
To: Jakarta Commons Developers List
Subject: Re: [Jelly] Converting JSP taglib to Jelly taglib



A jelly script *must* be a well-formed XML document. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/



"Ojares Rami EINT" <[EMAIL PROTECTED]> wrote on 12/11/2003 12:07:55 AM:


Hi,

I am new to Jelly.
I was thinking about converting a JSP taglib to Jelly tags.
But I have some concerns.
One very handy thing about JSP parsing
is that jsp does not have to be a well formed XML document.
How about Jelly?
Could I use some jelly tags inside a html document
that is filled with javascript, ampersands and
unfinished tags?

- rami

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to