Not Struts.. Taglib (look right under Struts in jakarta navigation).
The way that it is used is that the Servlet will set the xml/xsl that the
JSP will display.
That follows the concept of the MVC.
-Tim

-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlet / JSP / XML - to a MVC implementation ?


Are you using Struts?  And using JSP as a controller is not a good idea
because JSP should be limited as much as possible to rendering the view.  A
controller should not be used for this purpose.  In effect, you are
violating the MVC pattern.

Mark

-----Original Message-----
From: Chen,Gin
Sent: Thursday, December 13, 2001 9:19 AM

I'm doing XML/XSL translations in my project as well. I'm actually using
jakarta's XSL tags within the Taglib library. Its very cool and will do
exactly what i think you asking for.
-Tim :)

-----Original Message-----
From: Fabrice Valois [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 6:41 AM

Today, i'm using JSP to perform the view. I also use JSP as controller.
Although view and controller are separated, I'm looking for a best way to do
this via XML/XSLT.

___________________________________________________________________________
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

___________________________________________________________________________
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