I believe there is a way to separate content logic and design with JSPs.
JSP has kinda similarities with XML because the JSP tags follow the XML
syntax. You can also define your own JSP tags using tag libraries.

But there are not enough examples about how to use tag libraries, so if
you have some, share them ;-) In fact I have developed a web application
with JSPs and faced with some lack of examples/doc about this technology.

You can read Sun's point of view on http://www.javasoft.com/jsp

The right thing will be I think to combine the best of both worlds.

But XML is more adapted if datas are static: the browser requests an XML
file, which can be linked with an XSL stylesheet.
Then, some clients are able to display such XML files (Mozilla, IE5).
Otherwise, the server can also be used to generate HTML from XML
files using the Cocoon servlet (see java.apache.org),

------------------------------------------------
Sylvain Randier                      CSE student
------------------------------------------------
Universite de Technologie de Compiegne (UTC)
60200 Compiegne - France
------------------------------------------------
60, Acorn Circle, #103       Tel: (410) 769 8407
Towson MD21286 USA                ICQ#: 48432988
------------------------------------------------

 On Wed, 19 Jan 2000, Mick Chang wrote:

> I kind of disagree that JSP provide a separation of presentation and content
> logic.
> I hear people talk about it, but I've yet to see a good demo that scales
> with it.
> Most people I've heard from think that a more scalable way to separate
> presentation from content logic is to use XML served up with Servlets.
>
> If you have a good example of how JSP scale with the separation of
> presentation from the content logic, by all means, share it.
>
> Gracias,
>
> Mick Chang
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to