Yeah I think youre right on one level....that JSP is more directly
comparable to XSLT than Struts...except I was also referring to Struts'
declarative tag syntax for logic. Earlier in the thread we were talking
about how it is beneficial to make the presentation template declarative
syntax only. That is something where Strut's tag libs are more comparable to
XSLT....but ultimately I suppose tagLibs are a part of the JSP spec though
so ... alright fine....you are right.  ;-)

Nonetheless, it is interesting to know that Struts does not explicitly
dictate use of JSP.  So the controller is maliable enough (without having to
pick through the open source code to change stuff) to do a transformation
rather than a forward?  That's interesting to note.

Neal


-----Original Message-----
From: John Yu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 6:47 PM
To: Struts Users Mailing List
Subject: Re: Struts - vs XSLT (ASP.NET v. Struts)



As Joe said, Struts doesn't mandate JSP.
A more appropriate comparison will be

    JSP vs XSLT

In this regard, both are scripting-oriented languages.
Performance aside, I believe the selection is a matter of preference.


At 07:28 am 05-09-2002, you wrote:
>Alright, so if the purpose of Struts and ASP.NET is:
>
>1. To seperate code from content
>2. Make the presentation layer completely declarative
>
>The why not just write a servlet that instead for forward to display JSPs,
>looks up a different XSLT for display based upon the action class being
>requested ... and instead of having to pass all your data to the
>presentation servlet in beans ... you just transform your XML data using
>that XSLT.  Seems to achieve the same goals and architecturally removes a
>layer if you're going to use XML at all.  (Just servlet and XSL instead of
>Servlet, JSP, and XSL).
>
>??????
>
>Any thoughts??
>Neal
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"


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


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

Reply via email to