Sure... I want to have a CMS that stores fragments of content in a database
that can be inserted into templates. I want that content to include
Java/JSTL bits, not just text/html...

So the first pass renders the template and grabs the content bits and the
second pass renders the parts of the content bits that are dynamic
(Java/JSTL).

Does that make sense?

How is this usually done?

Putting Java or JSTL in your content is a bad idea because it ties you to one particular language. This is normally done with a language neutral technology like XML.


David


Hunter


> From: "Jing Zhou" <[EMAIL PROTECTED]>
> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Date: Sun, 22 Jun 2003 20:48:54 -0500
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Subject: Re: [OT] Question About Second Pass Rendering
>
>> Is it possible to do some kind of second pass rendering of JSP content?
>>
>> I'd like to store markup (HTML+JSTL) in a database. I'd like a Servlet to
>> retrieve it and send it along to a JSP that renders it along with static
>> content...
>
> What is leading you to think of the SECOND pass rendering of JSP content?
> Could you explain it a little bit more?



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


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



Reply via email to