Re: [OT] Struts and XML - Any stories to tell?
On 8/12/05, Ted Husted <[EMAIL PROTECTED]> wrote: > A colleague is looking to add VoiceXML capabilities to their Struts > consumer-to-business application. > > I don't see any prior references to VoiceXML in the archives, just > this one aside: > > * http://www.mail-archive.com/user@struts.apache.org/msg30556.html > > I wonder if anyone here has any VoiceXML best practices, war stories, > or gotchas to share, especially relating to Struts or development > tools, or the Jakarta Taglibs Reuseable Dialog Components (RDC). Sounds like a RDC thing ;-) The RDC framework is agnostic to the higher layers. We use Struts for the controller bits in the sample applications. We have a multi channel sample application (GUI & VUI) called music-store, that uses Amazon Web Services (so a AWS subscription ID is needed to try it out). Looking at the struts config [1] for the sample apps might help convey how we used path wild cards (Struts 1.2) to tackle multiple views (one for each channel), while sharing many of the higher layer artifacts. Ofcourse, the entire sample app is in svn. At some point, I took a stab at explaining the RDC-Struts interface [2] in the RDC tutorials [3] section of the Taglibs wiki. Your colleague may also want to look at the RDC website [4], for developments and documentation, if there is interest. I'd be glad to help on taglibs-dev / user @jakarta.apache.org if there are other questions. -Rahul Reference Links: [1] RDC examples war - struts config for sample apps [ http://svn.apache.org/repos/asf/jakarta/taglibs/proper/rdc/trunk/examples/web/WEB-INF/struts-config.xml ] [2] Tutorial - How to use RDCs with Struts [ http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorials/StrutsInterface ] [3] RDC Tutorials - [ http://wiki.apache.org/jakarta-taglibs/ReusableDialogComponents/Tutorials ] [4] RDC home page - [ http://jakarta.apache.org/taglibs/doc/rdc-doc/intro.html ] > > TIA, Ted. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Struts and XML - Any stories to tell?
On 8/12/05, Ted Husted <[EMAIL PROTECTED]> wrote: > A colleague is looking to add VoiceXML capabilities to their Struts > consumer-to-business application. > > I don't see any prior references to VoiceXML in the archives, just > this one aside: > > * http://www.mail-archive.com/user@struts.apache.org/msg30556.html > > I wonder if anyone here has any VoiceXML best practices, war stories, > or gotchas to share, especially relating to Struts or development > tools, or the Jakarta Taglibs Reuseable Dialog Components (RDC). Ted, I can add a little to the link you mentioned. Several years ago when Struts was young and hip ;) we developed an app using Struts + Weblogic/EJB (aw, entity beans) + IBM Voice Response Server (for VoiceXML). Application has the following features: * renders regular HTML * delivers WML output * delivers voice responses via VoiceXML + voice server (we used IBM Voiceresponce, but then switched to much smaller and cheaper in-house VoiceXML browser); gets DTMF input. We do not use voice recognition or voice generation. We use pre-recorded voice sequences in sound files, and touch-tone DTMF input. For these three categories we have common EJB/business/Struts actions, but different JSPs. When client hits the application for the first time, we check "accepts" header and set medium to either WEB, WAP or IVR. Then startup action forwards to to an actual welcome action corresponding to the medium. We have three types of action mappings for each medium, like <-- for html <-- for voice xml <-- for wap Each action mapping has its own JSPs which is reasonable since markup is so different. Each JSP contains links only to actions for its own medium, so after "welcome" action detects the medium, all interaction happens within actions and JSPs for a particular medium. This is a pretty cool application, a lot of stuff there: EJB, WebLogic, clustering, telephony, sound-processing, WML markup, WML gateway interaction, VoiceXML markup, VoiceXML browser, ... Yep, this was a great project. Michael. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Struts and XML - Any stories to tell?
A colleague is looking to add VoiceXML capabilities to their Struts consumer-to-business application. I don't see any prior references to VoiceXML in the archives, just this one aside: * http://www.mail-archive.com/user@struts.apache.org/msg30556.html I wonder if anyone here has any VoiceXML best practices, war stories, or gotchas to share, especially relating to Struts or development tools, or the Jakarta Taglibs Reuseable Dialog Components (RDC). TIA, Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and XML/XSL
Gaet wrote: In fact, initially I was looking for an alternative to tag that are not part of XHTML specifications anymore. I think that tags were great as I was able to reload only a part of my web page (the body)could I retrieve this functionlity with xsl (is there a caching implementation...i don't know)? frameset is still available in xhtml. Check out frameset: http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Frameset regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and XML/XSL
In fact, initially I was looking for an alternative to tag that are not part of XHTML specifications anymore. I think that tags were great as I was able to reload only a part of my web page (the body)could I retrieve this functionlity with xsl (is there a caching implementation...i don't know)? thanks - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, May 18, 2005 12:10 PM Subject: RE: Struts and XML/XSL > Hello, > Unfortunately, I cannot send our app.. > > What we are doing is just write your JSP in xml and place > Following declaration in the page > > > > the browser would do the rest.. > we have an additional filter that is going to be used in case > the user agent does not support XSLT > > Anyway, as other posts have said, don't use if you don't > Necessarily need it > Other than adding delays, it introduces additional errors > If you are not careful in writing your JSP in XHTML ... > > Regards > marco > > > > > -Original Message----- > From: Gaet [mailto:[EMAIL PROTECTED] > Sent: 18 May 2005 10:57 > To: Struts Users Mailing List > Subject: Re: Struts and XML/XSL > > Hello, > > Thanks for replying! > > yes, struts-layout is a special taglib that offer display facilities and > support "paging"... > > Do you have a simple sample to send me Marco please, it would be really > great... > > Thanks again! > > - Original Message - > From: "Marco Mistroni" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" > Sent: Wednesday, May 18, 2005 11:32 AM > Subject: RE: Struts and XML/XSL > > > > Hello, > > >Have you already implemented this solution? > > @ my workplace we are using together tiles & XML/XSL > > >Do you know if it will be supported by WAS? > > Yes it is, in fact we are using WAS 5.1 > > >Have you a complete but simple sample with struts and XML/XSL? > > >So, that's mean that I won't have jsp anymore? > > Yes we still have JSPs, written in XML and rendered in HTML and any > > Other formats that we need > > > > >Could i still use struts-layout? > > Don't know what it is..is it a special taglibs for struts? I suppose > > So.. > > > > >Do you think it will be simple to rewrite a basic JSP-struts-tiles > > webapp? > > >Or will it be a big effort? > > Depends on your app.. > > > > >Does the XSL template will allow me to define a common template for > my > > >whole > > >webapp? > > > > Yes you can...we are doing that already.. > > > > > > Regards > > marco > > > > > > > > Thanks if you could help me to answer these important question that > will > > allow me to take my decision > > > > > > - Original Message - > > From: "Leon Rosenberg" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > Sent: Wednesday, May 18, 2005 10:50 AM > > Subject: Re: Struts and XML/XSL > > > > > > > First) > > > yes it's possible and quite easy, just render xml in your jsp or > write > > > out the dom out of the action > > > > > > Second) > > > You premises are false. It's far less powerful, and it's > significantly > > > slower then jsps. > > > > > > regards > > > Leon > > > > > > > > > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > > > hi, > > > > > > > > Actually we have a website developped with struts and tiles...but > as > > XML/XSL seems to be more powerful than tiles for presentation (support > > different browser, easier to change presentation, better > performance...) > > > > > > > > My question is : is it possible to develop an application using > > struts > > and XML/XSL.. > > > > If yes, If you have any tutorial or code sample...that's would be > > great! > > > > > > > > Thanks > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts and XML/XSL
hello, yes I am using also struts html tags.. regards marco -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: 18 May 2005 13:37 To: Struts Users Mailing List Subject: Re: Struts and XML/XSL Thanks for your reply, Just one more question, are you able to use JSP taglibs (like the ones from struts or JSTL libraries) in your JSP/XML or XSL files? Thanks again - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, May 18, 2005 12:10 PM Subject: RE: Struts and XML/XSL > Hello, > Unfortunately, I cannot send our app.. > > What we are doing is just write your JSP in xml and place > Following declaration in the page > > > > the browser would do the rest.. > we have an additional filter that is going to be used in case > the user agent does not support XSLT > > Anyway, as other posts have said, don't use if you don't > Necessarily need it > Other than adding delays, it introduces additional errors > If you are not careful in writing your JSP in XHTML ... > > Regards > marco > > > > > -Original Message- > From: Gaet [mailto:[EMAIL PROTECTED] > Sent: 18 May 2005 10:57 > To: Struts Users Mailing List > Subject: Re: Struts and XML/XSL > > Hello, > > Thanks for replying! > > yes, struts-layout is a special taglib that offer display facilities and > support "paging"... > > Do you have a simple sample to send me Marco please, it would be really > great... > > Thanks again! > > - Original Message - > From: "Marco Mistroni" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" > Sent: Wednesday, May 18, 2005 11:32 AM > Subject: RE: Struts and XML/XSL > > > > Hello, > > >Have you already implemented this solution? > > @ my workplace we are using together tiles & XML/XSL > > >Do you know if it will be supported by WAS? > > Yes it is, in fact we are using WAS 5.1 > > >Have you a complete but simple sample with struts and XML/XSL? > > >So, that's mean that I won't have jsp anymore? > > Yes we still have JSPs, written in XML and rendered in HTML and any > > Other formats that we need > > > > >Could i still use struts-layout? > > Don't know what it is..is it a special taglibs for struts? I suppose > > So.. > > > > >Do you think it will be simple to rewrite a basic JSP-struts-tiles > > webapp? > > >Or will it be a big effort? > > Depends on your app.. > > > > >Does the XSL template will allow me to define a common template for > my > > >whole > > >webapp? > > > > Yes you can...we are doing that already.. > > > > > > Regards > > marco > > > > > > > > Thanks if you could help me to answer these important question that > will > > allow me to take my decision > > > > > > - Original Message - > > From: "Leon Rosenberg" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > Sent: Wednesday, May 18, 2005 10:50 AM > > Subject: Re: Struts and XML/XSL > > > > > > > First) > > > yes it's possible and quite easy, just render xml in your jsp or > write > > > out the dom out of the action > > > > > > Second) > > > You premises are false. It's far less powerful, and it's > significantly > > > slower then jsps. > > > > > > regards > > > Leon > > > > > > > > > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > > > hi, > > > > > > > > Actually we have a website developped with struts and tiles...but > as > > XML/XSL seems to be more powerful than tiles for presentation (support > > different browser, easier to change presentation, better > performance...) > > > > > > > > My question is : is it possible to develop an application using > > struts > > and XML/XSL.. > > > > If yes, If you have any tutorial or code sample...that's would be > > great! > > > > > > > > Thanks > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > &
Re: Struts and XML/XSL
Thanks for your reply, Just one more question, are you able to use JSP taglibs (like the ones from struts or JSTL libraries) in your JSP/XML or XSL files? Thanks again - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, May 18, 2005 12:10 PM Subject: RE: Struts and XML/XSL > Hello, > Unfortunately, I cannot send our app.. > > What we are doing is just write your JSP in xml and place > Following declaration in the page > > > > the browser would do the rest.. > we have an additional filter that is going to be used in case > the user agent does not support XSLT > > Anyway, as other posts have said, don't use if you don't > Necessarily need it > Other than adding delays, it introduces additional errors > If you are not careful in writing your JSP in XHTML ... > > Regards > marco > > > > > -Original Message- > From: Gaet [mailto:[EMAIL PROTECTED] > Sent: 18 May 2005 10:57 > To: Struts Users Mailing List > Subject: Re: Struts and XML/XSL > > Hello, > > Thanks for replying! > > yes, struts-layout is a special taglib that offer display facilities and > support "paging"... > > Do you have a simple sample to send me Marco please, it would be really > great... > > Thanks again! > > - Original Message - > From: "Marco Mistroni" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" > Sent: Wednesday, May 18, 2005 11:32 AM > Subject: RE: Struts and XML/XSL > > > > Hello, > > >Have you already implemented this solution? > > @ my workplace we are using together tiles & XML/XSL > > >Do you know if it will be supported by WAS? > > Yes it is, in fact we are using WAS 5.1 > > >Have you a complete but simple sample with struts and XML/XSL? > > >So, that's mean that I won't have jsp anymore? > > Yes we still have JSPs, written in XML and rendered in HTML and any > > Other formats that we need > > > > >Could i still use struts-layout? > > Don't know what it is..is it a special taglibs for struts? I suppose > > So.. > > > > >Do you think it will be simple to rewrite a basic JSP-struts-tiles > > webapp? > > >Or will it be a big effort? > > Depends on your app.. > > > > >Does the XSL template will allow me to define a common template for > my > > >whole > > >webapp? > > > > Yes you can...we are doing that already.. > > > > > > Regards > > marco > > > > > > > > Thanks if you could help me to answer these important question that > will > > allow me to take my decision > > > > > > - Original Message - > > From: "Leon Rosenberg" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > Sent: Wednesday, May 18, 2005 10:50 AM > > Subject: Re: Struts and XML/XSL > > > > > > > First) > > > yes it's possible and quite easy, just render xml in your jsp or > write > > > out the dom out of the action > > > > > > Second) > > > You premises are false. It's far less powerful, and it's > significantly > > > slower then jsps. > > > > > > regards > > > Leon > > > > > > > > > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > > > hi, > > > > > > > > Actually we have a website developped with struts and tiles...but > as > > XML/XSL seems to be more powerful than tiles for presentation (support > > different browser, easier to change presentation, better > performance...) > > > > > > > > My question is : is it possible to develop an application using > > struts > > and XML/XSL.. > > > > If yes, If you have any tutorial or code sample...that's would be > > great! > > > > > > > > Thanks > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts and XML/XSL
Hello, Unfortunately, I cannot send our app.. What we are doing is just write your JSP in xml and place Following declaration in the page the browser would do the rest.. we have an additional filter that is going to be used in case the user agent does not support XSLT Anyway, as other posts have said, don't use if you don't Necessarily need it Other than adding delays, it introduces additional errors If you are not careful in writing your JSP in XHTML ... Regards marco -Original Message- From: Gaet [mailto:[EMAIL PROTECTED] Sent: 18 May 2005 10:57 To: Struts Users Mailing List Subject: Re: Struts and XML/XSL Hello, Thanks for replying! yes, struts-layout is a special taglib that offer display facilities and support "paging"... Do you have a simple sample to send me Marco please, it would be really great... Thanks again! - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, May 18, 2005 11:32 AM Subject: RE: Struts and XML/XSL > Hello, > >Have you already implemented this solution? > @ my workplace we are using together tiles & XML/XSL > >Do you know if it will be supported by WAS? > Yes it is, in fact we are using WAS 5.1 > >Have you a complete but simple sample with struts and XML/XSL? > >So, that's mean that I won't have jsp anymore? > Yes we still have JSPs, written in XML and rendered in HTML and any > Other formats that we need > > >Could i still use struts-layout? > Don't know what it is..is it a special taglibs for struts? I suppose > So.. > > >Do you think it will be simple to rewrite a basic JSP-struts-tiles > webapp? > >Or will it be a big effort? > Depends on your app.. > > >Does the XSL template will allow me to define a common template for my > >whole > >webapp? > > Yes you can...we are doing that already.. > > > Regards > marco > > > > Thanks if you could help me to answer these important question that will > allow me to take my decision > > > - Original Message - > From: "Leon Rosenberg" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Wednesday, May 18, 2005 10:50 AM > Subject: Re: Struts and XML/XSL > > > > First) > > yes it's possible and quite easy, just render xml in your jsp or write > > out the dom out of the action > > > > Second) > > You premises are false. It's far less powerful, and it's significantly > > slower then jsps. > > > > regards > > Leon > > > > > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > > hi, > > > > > > Actually we have a website developped with struts and tiles...but as > XML/XSL seems to be more powerful than tiles for presentation (support > different browser, easier to change presentation, better performance...) > > > > > > My question is : is it possible to develop an application using > struts > and XML/XSL.. > > > If yes, If you have any tutorial or code sample...that's would be > great! > > > > > > Thanks > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and XML/XSL
Hello, Thanks for replying! yes, struts-layout is a special taglib that offer display facilities and support "paging"... Do you have a simple sample to send me Marco please, it would be really great... Thanks again! - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Wednesday, May 18, 2005 11:32 AM Subject: RE: Struts and XML/XSL > Hello, > >Have you already implemented this solution? > @ my workplace we are using together tiles & XML/XSL > >Do you know if it will be supported by WAS? > Yes it is, in fact we are using WAS 5.1 > >Have you a complete but simple sample with struts and XML/XSL? > >So, that's mean that I won't have jsp anymore? > Yes we still have JSPs, written in XML and rendered in HTML and any > Other formats that we need > > >Could i still use struts-layout? > Don't know what it is..is it a special taglibs for struts? I suppose > So.. > > >Do you think it will be simple to rewrite a basic JSP-struts-tiles > webapp? > >Or will it be a big effort? > Depends on your app.. > > >Does the XSL template will allow me to define a common template for my > >whole > >webapp? > > Yes you can...we are doing that already.. > > > Regards > marco > > > > Thanks if you could help me to answer these important question that will > allow me to take my decision > > > - Original Message - > From: "Leon Rosenberg" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Wednesday, May 18, 2005 10:50 AM > Subject: Re: Struts and XML/XSL > > > > First) > > yes it's possible and quite easy, just render xml in your jsp or write > > out the dom out of the action > > > > Second) > > You premises are false. It's far less powerful, and it's significantly > > slower then jsps. > > > > regards > > Leon > > > > > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > > hi, > > > > > > Actually we have a website developped with struts and tiles...but as > XML/XSL seems to be more powerful than tiles for presentation (support > different browser, easier to change presentation, better performance...) > > > > > > My question is : is it possible to develop an application using > struts > and XML/XSL.. > > > If yes, If you have any tutorial or code sample...that's would be > great! > > > > > > Thanks > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts and XML/XSL
Hello, >Have you already implemented this solution? @ my workplace we are using together tiles & XML/XSL >Do you know if it will be supported by WAS? Yes it is, in fact we are using WAS 5.1 >Have you a complete but simple sample with struts and XML/XSL? >So, that's mean that I won't have jsp anymore? Yes we still have JSPs, written in XML and rendered in HTML and any Other formats that we need >Could i still use struts-layout? Don't know what it is..is it a special taglibs for struts? I suppose So.. >Do you think it will be simple to rewrite a basic JSP-struts-tiles webapp? >Or will it be a big effort? Depends on your app.. >Does the XSL template will allow me to define a common template for my >whole >webapp? Yes you can...we are doing that already.. Regards marco Thanks if you could help me to answer these important question that will allow me to take my decision - Original Message - From: "Leon Rosenberg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 18, 2005 10:50 AM Subject: Re: Struts and XML/XSL > First) > yes it's possible and quite easy, just render xml in your jsp or write > out the dom out of the action > > Second) > You premises are false. It's far less powerful, and it's significantly > slower then jsps. > > regards > Leon > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > hi, > > > > Actually we have a website developped with struts and tiles...but as XML/XSL seems to be more powerful than tiles for presentation (support different browser, easier to change presentation, better performance...) > > > > My question is : is it possible to develop an application using struts and XML/XSL.. > > If yes, If you have any tutorial or code sample...that's would be great! > > > > Thanks > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and XML/XSL
You may take a look at stXX http://stxx.sourceforge.net/ , that is a commonly used XSLT extension to Struts. I've used it for a prototype, but we have finally built our app on standard JSP, as it was easier to learn for developers. According to prototype, XSLT (Stxx) was aprox. 2 time slower than JSP (JSP 1.2 + JSTL). Nico. Gaet a écrit : Thanks Leon! Have you already implemented this solution? Do you know if it will be supported by WAS? Have you a complete but simple sample with struts and XML/XSL? So, that's mean that I won't have jsp anymore? Could i still use struts-layout? Do you think it will be simple to rewrite a basic JSP-struts-tiles webapp? Or will it be a big effort? Does the XSL template will allow me to define a common template for my whole webapp? Thanks if you could help me to answer these important question that will allow me to take my decision - Original Message - From: "Leon Rosenberg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 18, 2005 10:50 AM Subject: Re: Struts and XML/XSL First) yes it's possible and quite easy, just render xml in your jsp or write out the dom out of the action Second) You premises are false. It's far less powerful, and it's significantly slower then jsps. regards Leon On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: hi, Actually we have a website developped with struts and tiles...but as XML/XSL seems to be more powerful than tiles for presentation (support different browser, easier to change presentation, better performance...) My question is : is it possible to develop an application using struts and XML/XSL.. If yes, If you have any tutorial or code sample...that's would be great! Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and XML/XSL
Thanks Leon! Have you already implemented this solution? Do you know if it will be supported by WAS? Have you a complete but simple sample with struts and XML/XSL? So, that's mean that I won't have jsp anymore? Could i still use struts-layout? Do you think it will be simple to rewrite a basic JSP-struts-tiles webapp? Or will it be a big effort? Does the XSL template will allow me to define a common template for my whole webapp? Thanks if you could help me to answer these important question that will allow me to take my decision - Original Message - From: "Leon Rosenberg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 18, 2005 10:50 AM Subject: Re: Struts and XML/XSL > First) > yes it's possible and quite easy, just render xml in your jsp or write > out the dom out of the action > > Second) > You premises are false. It's far less powerful, and it's significantly > slower then jsps. > > regards > Leon > > > > On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > > hi, > > > > Actually we have a website developped with struts and tiles...but as XML/XSL seems to be more powerful than tiles for presentation (support different browser, easier to change presentation, better performance...) > > > > My question is : is it possible to develop an application using struts and XML/XSL.. > > If yes, If you have any tutorial or code sample...that's would be great! > > > > Thanks > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts and XML/XSL
First) yes it's possible and quite easy, just render xml in your jsp or write out the dom out of the action Second) You premises are false. It's far less powerful, and it's significantly slower then jsps. regards Leon On Wed, 2005-05-18 at 10:45 +0200, Gaet wrote: > hi, > > Actually we have a website developped with struts and tiles...but as XML/XSL > seems to be more powerful than tiles for presentation (support different > browser, easier to change presentation, better performance...) > > My question is : is it possible to develop an application using struts and > XML/XSL.. > If yes, If you have any tutorial or code sample...that's would be great! > > Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts and XML/XSL
hi, Actually we have a website developped with struts and tiles...but as XML/XSL seems to be more powerful than tiles for presentation (support different browser, easier to change presentation, better performance...) My question is : is it possible to develop an application using struts and XML/XSL.. If yes, If you have any tutorial or code sample...that's would be great! Thanks
RE: Struts and XML
Hi, Have a look to the struts-example.war file from the jakarta-struts package It is struts-mailreader.war in the struts 1.2.4 that one deals with data stored in a "XML database" (database.xml). then this xml file is open, read, updated and finally closed by the application. good example. -Message d'origine- De : Tito Eritja [mailto:[EMAIL PROTECTED] Envoyé : jeudi 7 octobre 2004 10:06 À : struts Objet : Struts and XML Anyone knows some document or book of struts and XML? We are working in application done with struts, but we have a provider that gives us some xml response that we have to parse with xslt. We would like to use the generated html with an ActionForm. Is it possible? Thanks in advance. tito -- _ Tito Eritja GnuPG key: FD022DAF ( http://www.keyserver.net/ ) Key fingerprint = 31E3 7E17 3C59 DEEC 51AC 635C FF95 CC05 FD02 2DAF _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts and XML
Anyone knows some document or book of struts and XML? We are working in application done with struts, but we have a provider that gives us some xml response that we have to parse with xslt. We would like to use the generated html with an ActionForm. Is it possible? Thanks in advance. tito -- _ Tito Eritja GnuPG key: FD022DAF ( http://www.keyserver.net/ ) Key fingerprint = 31E3 7E17 3C59 DEEC 51AC 635C FF95 CC05 FD02 2DAF _ signature.asc Description: PGP signature
Struts and XML
Anyone knows some document or book of struts and XML? We are working in application done with struts, but we have a provider that gives us some xml response that we have to parse with xslt. We would like to use the generated html with an ActionForm. Is it possible? Thanks in advance. tito -- _ Tito Eritja GnuPG key: FD022DAF ( http://www.keyserver.net/ ) Key fingerprint = 31E3 7E17 3C59 DEEC 51AC 635C FF95 CC05 FD02 2DAF _ signature.asc Description: PGP signature