It is possible to dynamically create response to the browser as a result od
mixing many jsp files based on some templating mechanism and it works fine.
Everything can be included dynamically at run time based on some conditions.
You can look at Java Pet Store application which comes from SUN
(http://java.sun.com/j2ee/download.html#blueprints) to see example of such
templating design.
Hope this help
Regards
Petr

----- Original Message -----
From: Robert S. Sfeir <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10: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