I dont really understand the need for dynamically generating JSP code. After
all, JSPs are themselves all about generating HTML dynamically. At *some*
point the generating has to stop and real code has to start ;-).

you mention
> Ultimately those templates and content would contain some JSP code or XML
> code which gets changed based on the user, location, template, content,
the
> content type etc...

What about not *changing* the code based on user, etc, but *parameterizing*
it instead?? Seems a cleaner solution to me. You could then package that
stuff into a tag library to make it cleaner syntax-wise.

----- Original Message -----
From: "Robert S. Sfeir" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 11:45 PM
Subject: Dynamic JSP in Orion


> Hello folks.
>
> Still on the path of getting to know JSP and Orion, and was wondering how
> (hopefully without using cocoon) can I get to the point of serving dynamic
> JSP files.
>
> What I'm tying to do is serve up templates which are stored in the DB.
The
> templates contain html which forms the look and feel of a site, and the
> different features available in a certain section of the site.
>
> These Templates also return the content for the site, the content itself
> may or may not contain more dynamic data.
>
> Ultimately those templates and content would contain some JSP code or XML
> code which gets changed based on the user, location, template, content,
the
> content type etc...
>
> I'm coming from a Cold Fusion / Tango environment, and I can see that
> things are a little different with JSP, and the rules change
> dramatically.  it's pretty easy to do this stuff in those environments.
It
> doesn't seem as obvious in JSP since the pages are pre compiled and any
JSP
> code which might exists in the Templates or content will be ignored.  What
> I need to do is parse that code, or write something which will allow me to
> parse that code.
>
> I don't mind so much putting in the coding time, but I am concerned about
> maintaining top serving speed, and still allow me the freedom of being as
> dynamic as my clients want to be.
>
> So with that in mind, I was wondering if Orion had any internal facilities
> to support some kind of dynamic JSP pages.  If not what do you folks
> recommend to use for such applications?
>
> Thanks much in advance, and sorry if this subject has already come up
before.
>
>
> Robert S. Sfeir
> Director of Software Development
> PERCEPTICON corporation
> San Francisco, CA 94123
> w - http://www.percepticon.com/
> e- [EMAIL PROTECTED]
> t - (415) 749-2900 x205
>
>


Reply via email to