Definitely. I'll post it by tonight or tomorrow. It is basically an Model 2
framework. Instead of shoving in all the code in an action servlet, tasks
are delegated to small, self-contained filters. For example, a filter would
transform the request data into an XML DOM, a second one would do schema
validation for type checking or what ever validation, another one would do
request delegation etc. Lot of things work similar to Struts. But instead of
Action form bean, an XML node is passed around. This relieves you of the
need for creating a plethora of form bean classes to match your different
screens. Instead of loading the action servlet at start up, config
initialization is done using application life cycle event listeners. The
HTML tags define an extra attribute called path that identifies the node
that contains the data for the control. There are also tags similar in
functionality to the XSLT valueOf, forEach etc. It is not extensive as
Struts in areas like internationalization, digesters etc. But I don't think
it will be a big problem in adding all those things. It is even possible to
use the Struts tags directly.
Regards
<Meeraj/>
-----Original Message-----
From: Matt Raible [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 5:40 PM
To: [EMAIL PROTECTED]
Subject: RE: XML/XSL/Struts Architecture
Any chance you'd want to share these rewritten tags?
--- Meeraj Kunnumpurath
<[EMAIL PROTECTED]> wrote:
> I have rewritten the Struts HTML tags to use an XML
> nodes as the data model
> instead of bean instances.
>
> Regards
>
> <Meeraj/>
>
> -----Original Message-----
> From: Mahesh Bhagia
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 3:11 PM
> To: [EMAIL PROTECTED]
> Subject: RE: XML/XSL/Struts Architecture
>
>
> Thanks John,
>
> How you do go about doing error checking with XML.
> so you use "pattern
> method mechanism" as per article form javaworld
> "Strut your stuff with JSP tags" or some other
> mechanism
>
> All suggestions are welcome
>
> Thanks
> Mahesh
>
>
> -----Original Message-----
> From: O'Reilly John
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 4:42 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: XML/XSL/Struts Architecture
>
>
> Hi Mahesh,
> We have started using Struts for an application that
> uses XSP/XML/XSL
> (using
> Cocoon). Instead of specifying a JSP page in the
> struts configuration
> file
> we specify a XSP page. This server page is
> responsible for getting XML
> data
> from some data object set up in the action classes
> (we are using
> attributes
> in the session object for now). We also have
> extended ActionMapping to
> allow us to specify the XSL stylesheet in the struts
> configuration file.
> You are right about the use of tag libraries - that
> is one aspect of
> struts
> that you potentially lose out on using the above
> approach.
> Regards,
> John
>
>
> > -----Original Message-----
> > From: Mahesh Bhagia
> [SMTP:[EMAIL PROTECTED]]
> > Sent: 10 July 2001 17:24
> > To: Apache Struts (E-mail)
> > Subject: XML/XSL/Struts Architecture
> >
> > Hi,
> >
> > In our application, we are using XML/XSL to
> generate JSP and plan to
> use
> > Struts for submitting data from HTML forms. Has
> anyone used / know
> > if this architecture works. my thinking is (
> correct me if wrong ) ,
> we
> > will not be able to use tag libraries coz of
> XML/XSL combination for
> > generating pages. unique thing about this
> application is structure of
> > HTML is different for each client.
> >
> > Thanks
> > Mahesh
> >
> >
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/