Search the web
Sign In
New User? Sign Up
struts-xsl · Struts for Transforming XML with XSL
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2611 - 2640 of 2669   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#2640 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Sun Jun 25, 2006 10:01 am
Subject: Re: Struts tiles and Stxx
rajeshsun69
Offline Offline
Send Email Send Email
 
Don,

       My template.jsp looks like this.

<body>
<table class="tilestyle1">
<tr><td ><tiles:insert attribute="header"/></td></tr>
<tr><td class="menu"><tiles:insert attribute="menu"/></td>
<td><tiles:insert attribute="body"/></td></tr>
<tr><td class="valign_center"><tiles:insert
attribute="bottom"/></td></tr>
</table></body>

my struts-config.xml looks this

   <action-mappings>
         <action    path="/mainpage"
             type="com.enrg.work.action.MainInformationAction">
             <forward name="success" path="jsp/left.dox"/>
         </action>


   <action  path="/Reports"
         type="com.enrg.work.action.MainInformationAction">
     <forward name="success" path="enrg.reports" />
     <forward name="Failure" path="enrg.error" />
   </action>


My tiles-def is

<definition name="enrg.reports" page="/template.jsp">
           <put name="title" type="string" value="Hello world" />
           <put name="header" value="/top.jsp" />
           <put name="menu" value="/reportsmenu.jsp" />
           <put name="body" value="jsp/left.dox" />
           <put name="bottom" value="/bottom.jsp" />
      </definition>

I'm using tiles-config_1_1.dtd.

Now, In the above mentioned struts config,for the "mainpage" action,
Its working perfectly fine.when i call the "Reports" action, the
template.jsp page displays fine except the left.dox saying it cant
be found.

Also, i replaced the value by page in the put tag for left.dox and
no change in the output.

I modified the tiles by calling "mainpage" action and included the
tiles inside the left.jsp(where the tranformation takes place)and i
got the error mentioned below.

Regards,
Rajesh.


--- In struts-xsl@yahoogroups.com, Don Brown <mrdon@...> wrote:
>
> What does your struts-config.xml look like?  It looks like the
tiles
> forward is somehow going to stxx.  Are you sure that forward is
using
> the correct tiles extension?
>
> Don
>
> Rajesh Sundar wrote:
> >
> > Hi,
> > Thank you very much for the reply. I did the way you mentioned
> > and i don't get this error.
> >
> > If i try to insert a struts tiles insert tag inside the jsp, i'm
> > getting the following error.
> >
> > com.oroad.stxx.transform.TransformerException:
> > javax.servlet.ServletException: JSP compilation of /left.jsp
failed:
> > webl
> > ogic.utils.ParsingException: Could not complete parsing,
unmatched
> > tags: insert
> > at com.oroad.stxx.transform.DOMWriteTransformer.transform
> > (Lcom/oroad/stxx/action/ActionTransform;Ljavax/servlet/
> > http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)
V
> > (DOMWriteTransformer.java:201)
> > at
> >
com.oroad.stxx.transform.TransformerHandler.processActionTransform
> > (Lcom/oroad/stxx/action/ActionTransform;Lja
> >
vax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRe
> > sponse;)V(TransformerHandler.java:203)
> > at
> >
com.oroad.stxx.plugin.RequestProcessorHelper.processStxxDefinition
> > (Ljava/lang/String;ZLjavax/servlet/http/Htt
> > pServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z
> > (RequestProcessorHelper.java:260)
> > at
> >
com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig
> > (Ljavax/servlet/http/HttpServletRequest;L
> >
javax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/Forw
> > ardConfig;)V(StxxTilesRequestProcessor.java:133)
> > at org.apache.struts.action.RequestProcessor.process
> > (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/
> > HttpServletResponse;)V(RequestProcessor.java:279)
> > at org.apache.struts.action.ActionServlet.process
> > (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Htt
> > pServletResponse;)V(ActionServlet.java:1482)
> > at org.apache.struts.action.ActionServlet.doGet
> > (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpS
> > ervletResponse;)V(ActionServlet.java:507)
> > at javax.servlet.http.HttpServlet.service
> >
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl
> > et
> > Response;)V(HttpServlet.java:740)
> > at javax.servlet.http.HttpServlet.service
> > (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
> > (HttpSe
> > rvlet.java:853)
> > at
> >
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
> > ()Ljava/lang/Object;(ServletStubImpl.jav
> > a:1072)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletR
> > esponse;Lweblogic/servlet/internal/FilterChainImpl;)V
> > (ServletStubImpl.java:465)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletR
> > esponse;)V(ServletStubImpl.java:348)
> > at
> >
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
> > n.run()Ljava/lang/Object;(WebAppServletC
> > ontext.java:6981)
> > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > (Lweblogic/security/subject/AbstractSubject;Ljava/sec
> > urity/PrivilegedAction;)Ljava/lang/Object;
> > (AuthenticatedSubject.java:321)
> > at weblogic.security.service.SecurityManager.runAs
> > (Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogi
> >
c/security/acl/internal/AuthenticatedSubject;Ljava/security/Privilege
> > dAction;)Ljava/lang/Object;(SecurityManager.java:12
> > 1)
> > at
> > weblogic.servlet.internal.WebAppServletContext.invokeServlet
> > (Lweblogic/servlet/internal/ServletRequestImpl;Lw
> > eblogic/servlet/internal/ServletResponseImpl;)V
> > (WebAppServletContext.java:3892)
> > at weblogic.servlet.internal.ServletRequestImpl.execute
> > (Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.jav
> > a:2766)
> > at weblogic.kernel.ExecuteThread.execute
> > (Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
> > at weblogic.kernel.ExecuteThread.run()V
> > (ExecuteThread.java:183)
> > at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V
> > (Unknown Source)
> >
> > Please can you correct me if i'm doing wrong way of implementing
> > tiles with Stxx.
> >
> > Regards,
> > Rajesh.
> >
> > --- In struts-xsl@yahoogroups.com
> > <mailto:struts-xsl%40yahoogroups.com>, Don Brown <mrdon@> wrote:
> > >
> > > You need to use the StxxTilesRequestProcessor. IIRC, you need
to
> > put the Tiles
> > > plugin before the Stxx one, so Stxx knows to load the correct
> > version of its
> > > RequestProcessor.
> > >
> > > Don
> > >
> > > Rajesh Sundar wrote:
> > > >
> > > >
> > > > Don,
> > > > I'm getting the jsp output using the Stxx.
> > > >
> > > > If i try to include the TilesPlugin of Struts1.1 in my
struts-
> > > > config.xml, Im getting the following error.
> > > >
> > > > - Initializing,
> > config='org.apache.struts.action.ActionResources',
> > > > returnNull=true
> > > > - Loading the stxx request processor without Tiles support
> > > > - TilesPlugin : Specified RequestProcessor not compatible
with
> > > > TilesRequestProcessor
> > > > <Jun 23, 2006 3:08:14 PM BST> <Error> <HTTP> <BEA-101018> <
> > > > [ServletContext(id=6952394,name=StxxDemo,context-
path=/StxxDemo)]
> > > > Servlet failed with ServletException
> > > > javax.servlet.ServletException: TilesPlugin : Specified
> > > > RequestProcessor not compatible with TilesRequestProcessor
> > > > at
> > > > org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass
> > > > (TilesPlugin.java:360)
> > > > at org.apache.struts.tiles.TilesPlugin.init
> > > > (TilesPlugin.java:164)
> > > > at org.apache.struts.action.ActionServlet.initModulePlugIns
> > > > (ActionServlet.java:1158)
> > > > at org.apache.struts.action.ActionServlet.init
> > > > (ActionServlet.java:473)
> > > > at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > > > at
> > > >
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
> > > > (ServletStubImpl.java:1028)
> > > > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > > > (AuthenticatedSubject.java:321)
> > > > at weblogic.security.service.SecurityManager.runAs
> > > > (SecurityManager.java:121)
> > > > at weblogic.servlet.internal.ServletStubImpl.createServlet
> > > > (ServletStubImpl.java:904)
> > > > at weblogic.servlet.internal.ServletStubImpl.createInstances
> > > > (ServletStubImpl.java:883)
> > > > at weblogic.servlet.internal.ServletStubImpl.prepareServlet
> > > > (ServletStubImpl.java:822)
> > > > at weblogic.servlet.internal.ServletStubImpl.getServlet
> > > > (ServletStubImpl.java:535)
> > > > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > > > (ServletStubImpl.java:373)
> > > > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > > > (ServletStubImpl.java:315)
> > > > at
> > > >
> >
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
> > n
> > > > .run(WebAppServletContext.java:6718)
> > > > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > > > (AuthenticatedSubject.java:321)
> > > > at weblogic.security.service.SecurityManager.runAs
> > > > (SecurityManager.java:121)
> > > > at
> > > > weblogic.servlet.internal.WebAppServletContext.invokeServlet
> > > > (WebAppServletContext.java:3764)
> > > > at weblogic.servlet.internal.ServletRequestImpl.execute
> > > > (ServletRequestImpl.java:2644)
> > > > at weblogic.kernel.ExecuteThread.execute
> > > > (ExecuteThread.java:219)
> > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> > > >
> > > > I read in the Stxx "changes" link that as of Stxx1.3.1a
support
> > to
> > > > tiles frame work was added.
> > > >
> > > > My project insist on using Struts tiles framework. Please
can you
> > > > tell me how to use Struts tiles along with Stxx?
> > > >
> > > > Have a nice day!
> > > >
> > > > Regards,
> > > > Rajesh
> > > >
> > > > --- In struts-xsl@yahoogroups.com
> > <mailto:struts-xsl%40yahoogroups.com> <mailto:struts-xsl%
> > 40yahoogroups.com>,
> > > > Don Brown <mrdon@> wrote:
> > > > >
> > > > > Tiles is tied to JSP, so I'm not sure how or even why you'd
> > use it
> > > > with Stxx.
> > > > > I've found Sitemesh to fulfill a similar goal, but with
much
> > less
> > > > work and
> > > > > better features.
> > > > >
> > > > > Don
> > > > >
> > > > > Rajesh Sundar wrote:
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > > I was able to run Stxx successfully.
> > > > > >
> > > > > > Now i'm trying to do Stxx with Struts tiles.Is there any
> > example
> > > > for
> > > > > > Stxx with Struts?
> > > > > >
> > > > > > Regards,
> > > > > > Rajesh
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

#2639 From: Don Brown <mrdon@...>
Date: Sun Jun 25, 2006 4:45 am
Subject: Re: Re: Struts tiles and Stxx
mrdon42
Offline Offline
Send Email Send Email
 
What does your struts-config.xml look like?  It looks like the tiles
forward is somehow going to stxx.  Are you sure that forward is using
the correct tiles extension?

Don

Rajesh Sundar wrote:
>
> Hi,
> Thank you very much for the reply. I did the way you mentioned
> and i don't get this error.
>
> If i try to insert a struts tiles insert tag inside the jsp, i'm
> getting the following error.
>
> com.oroad.stxx.transform.TransformerException:
> javax.servlet.ServletException: JSP compilation of /left.jsp failed:
> webl
> ogic.utils.ParsingException: Could not complete parsing, unmatched
> tags: insert
> at com.oroad.stxx.transform.DOMWriteTransformer.transform
> (Lcom/oroad/stxx/action/ActionTransform;Ljavax/servlet/
> http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
> (DOMWriteTransformer.java:201)
> at
> com.oroad.stxx.transform.TransformerHandler.processActionTransform
> (Lcom/oroad/stxx/action/ActionTransform;Lja
> vax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRe
> sponse;)V(TransformerHandler.java:203)
> at
> com.oroad.stxx.plugin.RequestProcessorHelper.processStxxDefinition
> (Ljava/lang/String;ZLjavax/servlet/http/Htt
> pServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z
> (RequestProcessorHelper.java:260)
> at
> com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig
> (Ljavax/servlet/http/HttpServletRequest;L
> javax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/Forw
> ardConfig;)V(StxxTilesRequestProcessor.java:133)
> at org.apache.struts.action.RequestProcessor.process
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/
> HttpServletResponse;)V(RequestProcessor.java:279)
> at org.apache.struts.action.ActionServlet.process
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Htt
> pServletResponse;)V(ActionServlet.java:1482)
> at org.apache.struts.action.ActionServlet.doGet
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpS
> ervletResponse;)V(ActionServlet.java:507)
> at javax.servlet.http.HttpServlet.service
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl
> et
> Response;)V(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service
> (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
> (HttpSe
> rvlet.java:853)
> at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
> ()Ljava/lang/Object;(ServletStubImpl.jav
> a:1072)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletR
> esponse;Lweblogic/servlet/internal/FilterChainImpl;)V
> (ServletStubImpl.java:465)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletR
> esponse;)V(ServletStubImpl.java:348)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
> n.run()Ljava/lang/Object;(WebAppServletC
> ontext.java:6981)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> (Lweblogic/security/subject/AbstractSubject;Ljava/sec
> urity/PrivilegedAction;)Ljava/lang/Object;
> (AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs
> (Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogi
> c/security/acl/internal/AuthenticatedSubject;Ljava/security/Privilege
> dAction;)Ljava/lang/Object;(SecurityManager.java:12
> 1)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet
> (Lweblogic/servlet/internal/ServletRequestImpl;Lw
> eblogic/servlet/internal/ServletResponseImpl;)V
> (WebAppServletContext.java:3892)
> at weblogic.servlet.internal.ServletRequestImpl.execute
> (Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.jav
> a:2766)
> at weblogic.kernel.ExecuteThread.execute
> (Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
> at weblogic.kernel.ExecuteThread.run()V
> (ExecuteThread.java:183)
> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V
> (Unknown Source)
>
> Please can you correct me if i'm doing wrong way of implementing
> tiles with Stxx.
>
> Regards,
> Rajesh.
>
> --- In struts-xsl@yahoogroups.com
> <mailto:struts-xsl%40yahoogroups.com>, Don Brown <mrdon@...> wrote:
> >
> > You need to use the StxxTilesRequestProcessor. IIRC, you need to
> put the Tiles
> > plugin before the Stxx one, so Stxx knows to load the correct
> version of its
> > RequestProcessor.
> >
> > Don
> >
> > Rajesh Sundar wrote:
> > >
> > >
> > > Don,
> > > I'm getting the jsp output using the Stxx.
> > >
> > > If i try to include the TilesPlugin of Struts1.1 in my struts-
> > > config.xml, Im getting the following error.
> > >
> > > - Initializing,
> config='org.apache.struts.action.ActionResources',
> > > returnNull=true
> > > - Loading the stxx request processor without Tiles support
> > > - TilesPlugin : Specified RequestProcessor not compatible with
> > > TilesRequestProcessor
> > > <Jun 23, 2006 3:08:14 PM BST> <Error> <HTTP> <BEA-101018> <
> > > [ServletContext(id=6952394,name=StxxDemo,context-path=/StxxDemo)]
> > > Servlet failed with ServletException
> > > javax.servlet.ServletException: TilesPlugin : Specified
> > > RequestProcessor not compatible with TilesRequestProcessor
> > > at
> > > org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass
> > > (TilesPlugin.java:360)
> > > at org.apache.struts.tiles.TilesPlugin.init
> > > (TilesPlugin.java:164)
> > > at org.apache.struts.action.ActionServlet.initModulePlugIns
> > > (ActionServlet.java:1158)
> > > at org.apache.struts.action.ActionServlet.init
> > > (ActionServlet.java:473)
> > > at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > > at
> > > weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
> > > (ServletStubImpl.java:1028)
> > > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > > (AuthenticatedSubject.java:321)
> > > at weblogic.security.service.SecurityManager.runAs
> > > (SecurityManager.java:121)
> > > at weblogic.servlet.internal.ServletStubImpl.createServlet
> > > (ServletStubImpl.java:904)
> > > at weblogic.servlet.internal.ServletStubImpl.createInstances
> > > (ServletStubImpl.java:883)
> > > at weblogic.servlet.internal.ServletStubImpl.prepareServlet
> > > (ServletStubImpl.java:822)
> > > at weblogic.servlet.internal.ServletStubImpl.getServlet
> > > (ServletStubImpl.java:535)
> > > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > > (ServletStubImpl.java:373)
> > > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > > (ServletStubImpl.java:315)
> > > at
> > >
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
> n
> > > .run(WebAppServletContext.java:6718)
> > > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > > (AuthenticatedSubject.java:321)
> > > at weblogic.security.service.SecurityManager.runAs
> > > (SecurityManager.java:121)
> > > at
> > > weblogic.servlet.internal.WebAppServletContext.invokeServlet
> > > (WebAppServletContext.java:3764)
> > > at weblogic.servlet.internal.ServletRequestImpl.execute
> > > (ServletRequestImpl.java:2644)
> > > at weblogic.kernel.ExecuteThread.execute
> > > (ExecuteThread.java:219)
> > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> > >
> > > I read in the Stxx "changes" link that as of Stxx1.3.1a support
> to
> > > tiles frame work was added.
> > >
> > > My project insist on using Struts tiles framework. Please can you
> > > tell me how to use Struts tiles along with Stxx?
> > >
> > > Have a nice day!
> > >
> > > Regards,
> > > Rajesh
> > >
> > > --- In struts-xsl@yahoogroups.com
> <mailto:struts-xsl%40yahoogroups.com> <mailto:struts-xsl%
> 40yahoogroups.com>,
> > > Don Brown <mrdon@> wrote:
> > > >
> > > > Tiles is tied to JSP, so I'm not sure how or even why you'd
> use it
> > > with Stxx.
> > > > I've found Sitemesh to fulfill a similar goal, but with much
> less
> > > work and
> > > > better features.
> > > >
> > > > Don
> > > >
> > > > Rajesh Sundar wrote:
> > > > >
> > > > >
> > > > > Hi,
> > > > > I was able to run Stxx successfully.
> > > > >
> > > > > Now i'm trying to do Stxx with Struts tiles.Is there any
> example
> > > for
> > > > > Stxx with Struts?
> > > > >
> > > > > Regards,
> > > > > Rajesh
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

#2638 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Sat Jun 24, 2006 5:36 pm
Subject: Re: Struts tiles and Stxx
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
    Thank you very much for the reply. I did the way you mentioned
and i don't get this error.

If i try to insert a struts tiles insert tag inside the jsp, i'm
getting the following error.

com.oroad.stxx.transform.TransformerException:
javax.servlet.ServletException: JSP compilation of /left.jsp failed:
webl
ogic.utils.ParsingException: Could not complete parsing, unmatched
tags: insert
         at com.oroad.stxx.transform.DOMWriteTransformer.transform
(Lcom/oroad/stxx/action/ActionTransform;Ljavax/servlet/
http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
(DOMWriteTransformer.java:201)
         at
com.oroad.stxx.transform.TransformerHandler.processActionTransform
(Lcom/oroad/stxx/action/ActionTransform;Lja
vax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRe
sponse;)V(TransformerHandler.java:203)
         at
com.oroad.stxx.plugin.RequestProcessorHelper.processStxxDefinition
(Ljava/lang/String;ZLjavax/servlet/http/Htt
pServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z
(RequestProcessorHelper.java:260)
         at
com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig
(Ljavax/servlet/http/HttpServletRequest;L
javax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/Forw
ardConfig;)V(StxxTilesRequestProcessor.java:133)
         at org.apache.struts.action.RequestProcessor.process
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/
HttpServletResponse;)V(RequestProcessor.java:279)
         at org.apache.struts.action.ActionServlet.process
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Htt
pServletResponse;)V(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpS
ervletResponse;)V(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServl
et
Response;)V(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service
(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
(HttpSe
rvlet.java:853)
         at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
()Ljava/lang/Object;(ServletStubImpl.jav
a:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletR
esponse;Lweblogic/servlet/internal/FilterChainImpl;)V
(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletR
esponse;)V(ServletStubImpl.java:348)
         at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run()Ljava/lang/Object;(WebAppServletC
ontext.java:6981)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(Lweblogic/security/subject/AbstractSubject;Ljava/sec
urity/PrivilegedAction;)Ljava/lang/Object;
(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs
(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogi
c/security/acl/internal/AuthenticatedSubject;Ljava/security/Privilege
dAction;)Ljava/lang/Object;(SecurityManager.java:12
1)
         at
weblogic.servlet.internal.WebAppServletContext.invokeServlet
(Lweblogic/servlet/internal/ServletRequestImpl;Lw
eblogic/servlet/internal/ServletResponseImpl;)V
(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute
(Lweblogic/kernel/ExecuteThread;)V(ServletRequestImpl.jav
a:2766)
         at weblogic.kernel.ExecuteThread.execute
(Lweblogic/kernel/ExecuteRequest;)V(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run()V
(ExecuteThread.java:183)
         at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V
(Unknown Source)

Please can you correct me if i'm doing wrong way of implementing
tiles with Stxx.

Regards,
Rajesh.


--- In struts-xsl@yahoogroups.com, Don Brown <mrdon@...> wrote:
>
> You need to use the StxxTilesRequestProcessor.  IIRC, you need to
put the Tiles
> plugin before the Stxx one, so Stxx knows to load the correct
version of its
> RequestProcessor.
>
> Don
>
> Rajesh Sundar wrote:
> >
> >
> > Don,
> > I'm getting the jsp output using the Stxx.
> >
> > If i try to include the TilesPlugin of Struts1.1 in my struts-
> > config.xml, Im getting the following error.
> >
> > - Initializing,
config='org.apache.struts.action.ActionResources',
> > returnNull=true
> > - Loading the stxx request processor without Tiles support
> > - TilesPlugin : Specified RequestProcessor not compatible with
> > TilesRequestProcessor
> > <Jun 23, 2006 3:08:14 PM BST> <Error> <HTTP> <BEA-101018> <
> > [ServletContext(id=6952394,name=StxxDemo,context-path=/StxxDemo)]
> > Servlet failed with ServletException
> > javax.servlet.ServletException: TilesPlugin : Specified
> > RequestProcessor not compatible with TilesRequestProcessor
> > at
> > org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass
> > (TilesPlugin.java:360)
> > at org.apache.struts.tiles.TilesPlugin.init
> > (TilesPlugin.java:164)
> > at org.apache.struts.action.ActionServlet.initModulePlugIns
> > (ActionServlet.java:1158)
> > at org.apache.struts.action.ActionServlet.init
> > (ActionServlet.java:473)
> > at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > at
> > weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
> > (ServletStubImpl.java:1028)
> > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > (AuthenticatedSubject.java:321)
> > at weblogic.security.service.SecurityManager.runAs
> > (SecurityManager.java:121)
> > at weblogic.servlet.internal.ServletStubImpl.createServlet
> > (ServletStubImpl.java:904)
> > at weblogic.servlet.internal.ServletStubImpl.createInstances
> > (ServletStubImpl.java:883)
> > at weblogic.servlet.internal.ServletStubImpl.prepareServlet
> > (ServletStubImpl.java:822)
> > at weblogic.servlet.internal.ServletStubImpl.getServlet
> > (ServletStubImpl.java:535)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > (ServletStubImpl.java:373)
> > at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> > (ServletStubImpl.java:315)
> > at
> >
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n
> > .run(WebAppServletContext.java:6718)
> > at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> > (AuthenticatedSubject.java:321)
> > at weblogic.security.service.SecurityManager.runAs
> > (SecurityManager.java:121)
> > at
> > weblogic.servlet.internal.WebAppServletContext.invokeServlet
> > (WebAppServletContext.java:3764)
> > at weblogic.servlet.internal.ServletRequestImpl.execute
> > (ServletRequestImpl.java:2644)
> > at weblogic.kernel.ExecuteThread.execute
> > (ExecuteThread.java:219)
> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
> >
> > I read in the Stxx "changes" link that as of Stxx1.3.1a support
to
> > tiles frame work was added.
> >
> > My project insist on using Struts tiles framework. Please can you
> > tell me how to use Struts tiles along with Stxx?
> >
> > Have a nice day!
> >
> > Regards,
> > Rajesh
> >
> > --- In struts-xsl@yahoogroups.com <mailto:struts-xsl%
40yahoogroups.com>,
> > Don Brown <mrdon@> wrote:
> >  >
> >  > Tiles is tied to JSP, so I'm not sure how or even why you'd
use it
> > with Stxx.
> >  > I've found Sitemesh to fulfill a similar goal, but with much
less
> > work and
> >  > better features.
> >  >
> >  > Don
> >  >
> >  > Rajesh Sundar wrote:
> >  > >
> >  > >
> >  > > Hi,
> >  > > I was able to run Stxx successfully.
> >  > >
> >  > > Now i'm trying to do Stxx with Struts tiles.Is there any
example
> > for
> >  > > Stxx with Struts?
> >  > >
> >  > > Regards,
> >  > > Rajesh
> >  > >
> >  > >
> >  >
> >
> >
>

#2637 From: Don Brown <mrdon@...>
Date: Fri Jun 23, 2006 4:16 pm
Subject: Re: Re: Struts tiles and Stxx
mrdon42
Offline Offline
Send Email Send Email
 
You need to use the StxxTilesRequestProcessor.  IIRC, you need to put the Tiles
plugin before the Stxx one, so Stxx knows to load the correct version of its
RequestProcessor.

Don

Rajesh Sundar wrote:
>
>
> Don,
> I'm getting the jsp output using the Stxx.
>
> If i try to include the TilesPlugin of Struts1.1 in my struts-
> config.xml, Im getting the following error.
>
> - Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> - Loading the stxx request processor without Tiles support
> - TilesPlugin : Specified RequestProcessor not compatible with
> TilesRequestProcessor
> <Jun 23, 2006 3:08:14 PM BST> <Error> <HTTP> <BEA-101018> <
> [ServletContext(id=6952394,name=StxxDemo,context-path=/StxxDemo)]
> Servlet failed with ServletException
> javax.servlet.ServletException: TilesPlugin : Specified
> RequestProcessor not compatible with TilesRequestProcessor
> at
> org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass
> (TilesPlugin.java:360)
> at org.apache.struts.tiles.TilesPlugin.init
> (TilesPlugin.java:164)
> at org.apache.struts.action.ActionServlet.initModulePlugIns
> (ActionServlet.java:1158)
> at org.apache.struts.action.ActionServlet.init
> (ActionServlet.java:473)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at
> weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
> (ServletStubImpl.java:1028)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> (AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs
> (SecurityManager.java:121)
> at weblogic.servlet.internal.ServletStubImpl.createServlet
> (ServletStubImpl.java:904)
> at weblogic.servlet.internal.ServletStubImpl.createInstances
> (ServletStubImpl.java:883)
> at weblogic.servlet.internal.ServletStubImpl.prepareServlet
> (ServletStubImpl.java:822)
> at weblogic.servlet.internal.ServletStubImpl.getServlet
> (ServletStubImpl.java:535)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (ServletStubImpl.java:373)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (ServletStubImpl.java:315)
> at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction
> .run(WebAppServletContext.java:6718)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs
> (AuthenticatedSubject.java:321)
> at weblogic.security.service.SecurityManager.runAs
> (SecurityManager.java:121)
> at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet
> (WebAppServletContext.java:3764)
> at weblogic.servlet.internal.ServletRequestImpl.execute
> (ServletRequestImpl.java:2644)
> at weblogic.kernel.ExecuteThread.execute
> (ExecuteThread.java:219)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
> I read in the Stxx "changes" link that as of Stxx1.3.1a support to
> tiles frame work was added.
>
> My project insist on using Struts tiles framework. Please can you
> tell me how to use Struts tiles along with Stxx?
>
> Have a nice day!
>
> Regards,
> Rajesh
>
> --- In struts-xsl@yahoogroups.com <mailto:struts-xsl%40yahoogroups.com>,
> Don Brown <mrdon@...> wrote:
>  >
>  > Tiles is tied to JSP, so I'm not sure how or even why you'd use it
> with Stxx.
>  > I've found Sitemesh to fulfill a similar goal, but with much less
> work and
>  > better features.
>  >
>  > Don
>  >
>  > Rajesh Sundar wrote:
>  > >
>  > >
>  > > Hi,
>  > > I was able to run Stxx successfully.
>  > >
>  > > Now i'm trying to do Stxx with Struts tiles.Is there any example
> for
>  > > Stxx with Struts?
>  > >
>  > > Regards,
>  > > Rajesh
>  > >
>  > >
>  >
>
>

#2636 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Fri Jun 23, 2006 2:26 pm
Subject: Re: how to use stxx
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
    Very good examples are provided along with the Stxx zip file. I
recommend you to deploy stxx-1.3.1-plugin-example.war in your server
and run through it.

Regards,
Rajesh


--- In struts-xsl@yahoogroups.com, "Ankit Verma" <ankitverma_mca@...>
wrote:
>
> hi all,
>     can anyone give me a brief example which shows how i can create a
> simple application using stxx.
>      thanks in advance
>                                            Ankit
>

#2635 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Fri Jun 23, 2006 2:24 pm
Subject: Re: Struts tiles and Stxx
rajeshsun69
Offline Offline
Send Email Send Email
 
Don,
     I'm getting the jsp output using the Stxx.

If i try to include the TilesPlugin of Struts1.1 in my struts-
config.xml, Im getting the following error.

   - Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
- Loading the stxx request processor without Tiles support
- TilesPlugin : Specified RequestProcessor not compatible with
TilesRequestProcessor
<Jun 23, 2006 3:08:14 PM BST> <Error> <HTTP> <BEA-101018> <
[ServletContext(id=6952394,name=StxxDemo,context-path=/StxxDemo)]
Servlet failed with ServletException
javax.servlet.ServletException: TilesPlugin : Specified
RequestProcessor not compatible with TilesRequestProcessor
         at
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass
(TilesPlugin.java:360)
         at org.apache.struts.tiles.TilesPlugin.init
(TilesPlugin.java:164)
         at org.apache.struts.action.ActionServlet.initModulePlugIns
(ActionServlet.java:1158)
         at org.apache.struts.action.ActionServlet.init
(ActionServlet.java:473)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
(ServletStubImpl.java:1028)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletStubImpl.createServlet
(ServletStubImpl.java:904)
         at weblogic.servlet.internal.ServletStubImpl.createInstances
(ServletStubImpl.java:883)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet
(ServletStubImpl.java:822)
         at weblogic.servlet.internal.ServletStubImpl.getServlet
(ServletStubImpl.java:535)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:373)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:315)
         at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction
.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121)
         at
weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute
(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)


I read in the Stxx "changes" link that as of Stxx1.3.1a support to
tiles frame work was added.

My project insist on using Struts tiles framework. Please can you
tell me how to use Struts tiles along with Stxx?

Have a nice day!

Regards,
Rajesh


--- In struts-xsl@yahoogroups.com, Don Brown <mrdon@...> wrote:
>
> Tiles is tied to JSP, so I'm not sure how or even why you'd use it
with Stxx.
> I've found Sitemesh to fulfill a similar goal, but with much less
work and
> better features.
>
> Don
>
> Rajesh Sundar wrote:
> >
> >
> > Hi,
> > I was able to run Stxx successfully.
> >
> > Now i'm trying to do Stxx with Struts tiles.Is there any example
for
> > Stxx with Struts?
> >
> > Regards,
> > Rajesh
> >
> >
>

#2634 From: Don Brown <mrdon@...>
Date: Thu Jun 22, 2006 8:14 pm
Subject: Re: Struts tiles and Stxx
mrdon42
Offline Offline
Send Email Send Email
 
Tiles is tied to JSP, so I'm not sure how or even why you'd use it with Stxx.
I've found Sitemesh to fulfill a similar goal, but with much less work and
better features.

Don

Rajesh Sundar wrote:
>
>
> Hi,
> I was able to run Stxx successfully.
>
> Now i'm trying to do Stxx with Struts tiles.Is there any example for
> Stxx with Struts?
>
> Regards,
> Rajesh
>
>

#2633 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Thu Jun 22, 2006 2:48 pm
Subject: Struts tiles and Stxx
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
    I was able to run Stxx successfully.

Now i'm trying to do Stxx with Struts tiles.Is there any example for
Stxx with Struts?

Regards,
Rajesh

#2632 From: Don Brown <mrdon@...>
Date: Wed Jun 21, 2006 8:49 pm
Subject: Re: how to configure custum validation in struts
mrdon42
Offline Offline
Send Email Send Email
 
Stxx doesn't deal with validations itself; that is part of Struts.  That said,
you will find that Struts Validation framework isn't very easy to use with stxx,
mainly because on validation failure, they will direct the request back to the
input jsp or in our case, xslt, but without the objects put in the request from
the Action, that page won't work right.

The solution is to have two Actions, edit and save, with the validation enabled
on save.  When validation fails on save, forward back to the edit Action, not
the edit XSLT.

Don

nitinkshir wrote:
>
>
> can anyone plz tell me how to use custum validation in struts as i have
> to apply in my current application for some buisness rules.
>
>

#2631 From: "nitinkshir" <nitinkshir@...>
Date: Wed Jun 21, 2006 4:19 am
Subject: how to configure custum validation in struts
nitinkshir
Offline Offline
Send Email Send Email
 
can anyone plz tell me how to use custum validation in struts as i have
to apply in my current application for some buisness rules.

#2630 From: Don Brown <mrdon@...>
Date: Tue Jun 20, 2006 5:44 pm
Subject: Re: Help!
mrdon42
Offline Offline
Send Email Send Email
 
What happens is the XML that STXX creates is saved as a DOM in the request
attributes.  Then, you can access that DOM using JSTL's XML tags and transform
it there.  There should be an example in the stxx release.

Don

Rajesh Sundar wrote:
>
>
> Hi,
> This is my understanding.Please correct me if im wrong.
>
> <pipeline match="jsp/*.dox">
> <display-name>JSP/JSTL</display-name>
> <description>Creates DOM and forwards to JSP</description>
> <transform type="dom">
> <param name="path" value="/{1}.jsp" />
> </transform>
> </pipeline>
>
> Does this means that if the JSP has XSL tags,The Transformed detects
> the tag and populate the jsp with the xml values from the document?
>
> My jsp is
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform
> <http://www.w3.org/1999/XSL/Transform>">
> <xsl:template match="/">
> <html>
> <head>
> <title>FPS Main Page</title>
> </head>
> <body>
> <h3>Menu List</h3>
>
> <xsl:for-each select="menu">
>
> <h4> <xsl:value-of select="menu/menuname"/> </h4>
>
> </xsl:for-each>
>
> </body>
> </html>
> </xsl:template>
> </xsl:stylesheet>
>
> and the document contains xml:
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <menu>
> <menuname>Reports</menuname>
> <menuname>USMS</menuname>
> <menuname>Status</menuname>
> <menuname>Settlement</menuname>
> <menuname>Maintenance</menuname>
> </menu>
>
> My page dispalys only the "Menu List and no xml is transformed.Please
> can you answer on this?
>
> Have a nice day!
>
> Regards,
> Rajesh
>
>

#2629 From: Don Brown <mrdon@...>
Date: Tue Jun 20, 2006 5:43 pm
Subject: Re: stxx-1.3.1-plugin-example.war required help
mrdon42
Offline Offline
Send Email Send Email
 
The example does work with Struts 1.1 and Tomcat.  What exceptions are you
seeing?

Don

Viswamohan wrote:
>
>
> I have deployed the stxx-1.3.1-plugin-example.war and tried to run
> the application using IE browser , I am getting lot of exceptions ,
> could anybody post the full working example of stxx.
>
> I have replicated the similar application as the addressBookExample
> example , but i am ending up with the below message on the browser
>
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error
> and then click the Refresh button, or try again later.
>
> ----------------------------------------------------------
> ----------
>
> The stylesheet does not contain a document element. The stylesheet
> may be empty, or it may not be a well-formed XML documen...
>
>

#2628 From: Don Brown <mrdon@...>
Date: Tue Jun 20, 2006 5:41 pm
Subject: Re: tranforming single value from the list of values
mrdon42
Offline Offline
Send Email Send Email
 
The best way to troubleshoot this is request the page with "?debug=true" on the
url, getting the XML.  Then, apply the XSLT against the XML either in your IDE
or on the command line.  Some IDE's will let you walk through the
transformation, making it easy to see what went wrong.

Don

Viswamohan wrote:
>
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform
> <http://www.w3.org/1999/XSL/Transform>">
>
> <xsl:import href="common/addressBook.xsl" />
> <xsl:output method="html" />
>
> <xsl:template match="/">
> <xsl:apply-templates select="stxx" />
> </xsl:template>
>
> <xsl:template match="stxx">
> <html>
> <body>
> <table width="100%" border="1" align="center">
> <xsl:for-each select="menu">
> <TR>
> <TD><xsl:value-of
> select="menuname"/></TD>
> </TR>
> </xsl:for-each>
> </table>
> </body>
> </html>
> </xsl:template>
>
> </xsl:stylesheet>
>
> expected out put is
>
> Reports
> Usms
> xxxx
> yyyy
> zzzz
> I can see onle one value is transformed and printed onthe browser IE
> can anybody help me in transforming all the values using for-each and
> displaying on the browser.
>
>

#2627 From: "Viswamohan" <ravi_brain@...>
Date: Tue Jun 20, 2006 3:47 pm
Subject: tranforming single value from the list of values
ravi_brain
Offline Offline
Send Email Send Email
 
<xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

     <xsl:import href="common/addressBook.xsl" />
     <xsl:output method="html" />

     <xsl:template match="/">
         <xsl:apply-templates select="stxx" />
     </xsl:template>

     <xsl:template match="stxx">
         <html>
             <body>
                 <table width="100%" border="1" align="center">
                        <xsl:for-each select="menu">
    					 <TR>
    					 <TD><xsl:value-of
select="menuname"/></TD>
    					 </TR>
    					 </xsl:for-each>
                 </table>
             </body>
         </html>
     </xsl:template>

</xsl:stylesheet>

expected out put is

Reports
Usms
xxxx
yyyy
zzzz
  I can see onle one value is transformed and printed onthe browser IE
can anybody help me in transforming all the values using for-each and
displaying on the browser.

#2626 From: "Viswamohan" <ravi_brain@...>
Date: Tue Jun 20, 2006 1:24 pm
Subject: XSL is not valid please anybody help
ravi_brain
Offline Offline
Send Email Send Email
 
i am here by attaching the code replicating the example of stxx


struts-config.xml

<!DOCTYPE struts-config PUBLIC
      "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
      "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">


<struts-config>
   <!-- ======== Form Bean Definitions ======-->
   <!-- ========== Action Mapping Definitions ========== -->
  <action-mappings>

  <action    path="/addressBookExample"
              type="com.voca.fps.action.AddressBookExampleAction">
                  <forward name="Success" path="browser/note.dox"/>
   </action>
   </action-mappings>
   <!--  Message Resources Definitions -->
     <message-resources
parameter="com.test.properties.ApplicationResources"
factory="com.oroad.stxx.util.PropertyMessageResourcesFactory"
null="false"/>

   <!-- Define the StxxPlugin files -->

     <plug-in className="com.oroad.stxx.plugin.StxxPlugin" >
       <set-property property="pipeline-config"
  	                  value="/WEB-INF/stxx-pipelines.xml" />
     </plug-in>

</struts-config>



addressBookExample.xsl

<xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

     <xsl:import href="common/addressBook.xsl" />
     <xsl:output method="html" />

     <xsl:template match="/">
         <xsl:apply-templates select="stxx" />
     </xsl:template>

     <xsl:template match="stxx">
         <html>
             <body>
                 <table width="75%" border="1" align="center">
                     <tr>
                       <td colspan="2" bgcolor="lightblue"
align="center">
                      	 <br/>
                         <h4>Index</h4>
                   	   </td>
                     </tr>
                     <xsl:apply-templates select="addressBook" />
                 </table>
             </body>
         </html>
     </xsl:template>

</xsl:stylesheet>

/common/addressBook.xsl

<xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

     <xsl:template match="addressBook">

    	 <xsl:for-each select="menu">
    	 <TR>
    		 <TD><xsl:value-of select="menuname"/></TD>
    	 </TR>
    	 </xsl:for-each>

     </xsl:template>

</xsl:stylesheet>


XML file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<menu>
	 <menuname>Reports</menuname>
	 <menuname>USMS</menuname>
	 <menuname>Status</menuname>
	 <menuname>Settlement</menuname>
	 <menuname>Maintenance</menuname>
</menu>

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.


----------------------------------------------------------------------
----------

The stylesheet does not contain a document element. The stylesheet
may be empty, or it may not be a well-formed XML documen...


i am not at getting any exceptions

Please have look at the above code , and let me know is anything
wrong  with the xsl file.

Thanks,
Viswamohan

#2625 From: "Viswamohan" <ravi_brain@...>
Date: Tue Jun 20, 2006 1:13 pm
Subject: stxx-1.3.1-plugin-example.war required help
ravi_brain
Offline Offline
Send Email Send Email
 
I have deployed the stxx-1.3.1-plugin-example.war and tried to run
the application using IE browser , I am getting lot of exceptions ,
could anybody post the full working example of stxx.

I have replicated the similar application as the addressBookExample
example , but i am ending up with the below message on the browser

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.


----------------------------------------------------------------------
----------

The stylesheet does not contain a document element. The stylesheet
may be empty, or it may not be a well-formed XML documen...

#2624 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Tue Jun 20, 2006 11:24 am
Subject: Help!
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
     This is my understanding.Please correct me if im wrong.

   <pipeline match="jsp/*.dox">
     <display-name>JSP/JSTL</display-name>
     <description>Creates DOM and forwards to JSP</description>
     <transform type="dom">
         <param name="path" value="/{1}.jsp" />
     </transform>
   </pipeline>


Does this means that if the JSP has XSL tags,The Transformed detects
the tag and populate the jsp with the xml values from the document?

My jsp is

<xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:template match="/">
<html>
   <head>
     <title>FPS Main Page</title>
   </head>
   <body>
     <h3>Menu List</h3>

    	 <xsl:for-each select="menu">

    	 <h4> <xsl:value-of select="menu/menuname"/> </h4>

    	 </xsl:for-each>

   </body>
</html>
</xsl:template>
</xsl:stylesheet>


and the document contains xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<menu>
	 <menuname>Reports</menuname>
	 <menuname>USMS</menuname>
	 <menuname>Status</menuname>
	 <menuname>Settlement</menuname>
	 <menuname>Maintenance</menuname>
</menu>

My page dispalys only the "Menu List and no xml is transformed.Please
can you answer on this?


Have a nice day!

Regards,
Rajesh

#2623 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Tue Jun 20, 2006 10:58 am
Subject: Re:TransformerException
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
     I found the reason for this exception.I have to uncomment the dom
transform in the stxx.properties.

Its interesting as i keep learning stxx.


Regards,
Rajesh


--- In struts-xsl@yahoogroups.com <mailto:struts-xsl@yahoogroups.com> ,
"Rajesh Sundar" <rajeshsun69@...> wrote:
>
> Hi,
>     Please can any one tell me the reason for this exception?
>
> com.oroad.stxx.transform.TransformerException: The type of
> transformation cannot be found: dom
>
>  at com.oroad.stxx.transform.TransformerHandler.processActionTransform
> (TransformerHandler.java:208)
>         at
> com.oroad.stxx.plugin.RequestProcessorHelper.processStxxDefinition
> (RequestProcessorHelper.java:260)
>         at
> com.oroad.stxx.plugin.StxxRequestProcessor.processForwardConfig
> (StxxRequestProcessor.java:133)
>
>
> Regards,
> Rajesh
>




[Non-text portions of this message have been removed]

#2622 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Tue Jun 20, 2006 9:57 am
Subject: com.oroad.stxx.transform.TransformerException
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
     Please can any one tell me the reason for this exception?

com.oroad.stxx.transform.TransformerException: The type of
transformation cannot be found: dom

  at com.oroad.stxx.transform.TransformerHandler.processActionTransform
(TransformerHandler.java:208)
         at
com.oroad.stxx.plugin.RequestProcessorHelper.processStxxDefinition
(RequestProcessorHelper.java:260)
         at
com.oroad.stxx.plugin.StxxRequestProcessor.processForwardConfig
(StxxRequestProcessor.java:133)


Regards,
Rajesh

#2621 From: "Don Brown" <mrdon@...>
Date: Mon Jun 19, 2006 4:56 pm
Subject: Re: Stxx with Struts1.1 example
mrdon42
Offline Offline
Send Email Send Email
 
Stxx ships with an example for Struts 1.1, the one with the suffix "-plugin".

BTW, I accidently deleted your two previous emails when I was clearing out
spam, so please resend.  Thanks :)

Don

> Hi,
>     Please can anyone provide me with an example of Stxx with Struts
> 1.1?
>
> Thanks in Advance!
>
> Rajesh
>
>
>
>
>
>
>
>
>

#2620 From: "Rajesh Sundar" <rajeshsun69@...>
Date: Mon Jun 19, 2006 2:58 pm
Subject: Stxx with Struts1.1 example
rajeshsun69
Offline Offline
Send Email Send Email
 
Hi,
     Please can anyone provide me with an example of Stxx with Struts
1.1?

Thanks in Advance!

Rajesh

#2619 From: Don Brown <mrdon@...>
Date: Mon May 8, 2006 8:29 pm
Subject: Re: stxx and XQuery
mrdon42
Offline Offline
Send Email Send Email
 
I don't know if anyone doing that in stxx, but I do in Cocoon, which is the
granddaddy of XML pipeline frameworks:

http://demo.exist-db.org/examples.xml

You could port their XQuery generator over to stxx as a custom Transformer.

Don

juettnla wrote:
> Hi !
>
> I am developing a web application using a native XML database. I use
> XQuery to query the database. I thougt about different ways for a re-
> usable design.
>
> I think a good way is to put dynamic parts of the query in an stxx
> action class ( build a XML document using FOR LET WHERE ... XQuery
> syntax ) and build the whole xhtml document using XSLT with this
> dynamic part.
>
> Another way is to build the whole resulting page with XQuery like
>
> <HTML>....etc
> <BODY>
>   {FOR $foo ...
>    LET $a ... etc.     //dynamic part with XQuery
>   }
>   ... etc
>
> Has anyone made such an application and could give me some hints ?
>
> Thank you for your help.
>
>
>
>
>
>
>
>
>
>
>
> Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#2618 From: "juettnla" <l.juettner@...>
Date: Mon May 8, 2006 7:26 pm
Subject: stxx and XQuery
juettnla
Offline Offline
Send Email Send Email
 
Hi !

I am developing a web application using a native XML database. I use
XQuery to query the database. I thougt about different ways for a re-
usable design.

I think a good way is to put dynamic parts of the query in an stxx
action class ( build a XML document using FOR LET WHERE ... XQuery
syntax ) and build the whole xhtml document using XSLT with this
dynamic part.

Another way is to build the whole resulting page with XQuery like

<HTML>....etc
<BODY>
   {FOR $foo ...
    LET $a ... etc.     //dynamic part with XQuery
   }
   ... etc

Has anyone made such an application and could give me some hints ?

Thank you for your help.

#2617 From: Don Brown <mrdon@...>
Date: Thu May 4, 2006 5:52 pm
Subject: Re: How to set index.do as welcome-file
mrdon42
Offline Offline
Send Email Send Email
 
This is a known issue with many web containers, particularly older ones:
http://sunsolve.sun.com/search/document.do?assetkey=1-9-83094

HTH,

Don

joe_bashir wrote:
> I want to set index.do as welcome-file. I have defined it in web.xml as
>
> <welcome-file-list>
>      <welcome-file>index.do</welcome-file>
> </welcome-file-list>
>
> but it is not working. Can someone please guide me how to do this, OR
> what else I have to do?
>
> Joseph Bashir
> Ufnasoft
> http://ufnasoft.com <http://ufnasoft.com>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#2616 From: "joe_bashir" <joe_bashir@...>
Date: Thu May 4, 2006 9:25 am
Subject: How to set index.do as welcome-file
joe_bashir
Offline Offline
Send Email Send Email
 
I want to set index.do as welcome-file. I have defined it in web.xml as

<welcome-file-list>
      <welcome-file>index.do</welcome-file>
</welcome-file-list>

but it is not working. Can someone please guide me how to do this, OR
what else I have to do?

Joseph Bashir
Ufnasoft
http://ufnasoft.com <http://ufnasoft.com>




[Non-text portions of this message have been removed]

#2615 From: "Pierre-Luc Dupont" <pldupont@...>
Date: Fri Apr 28, 2006 7:46 pm
Subject: Re: Is it possible to process a foward twice?
pierreluc_du...
Offline Offline
Send Email Send Email
 
Thanks, it's working.


On 4/28/06, Don Brown <mrdon@...> wrote:
>
> Well, sf is having problems, but I think all you have to do is include the
> path parameter multiple times.  The docs
> should talk about how to chain transformations better.
>
> Don
>
>
> Pierre-Luc Dupont wrote:
> > That's exactly what i wanted to do. Thanks.
> >
> >
> > On 4/28/06, Don Brown <mrdon@...> wrote:
> >> You can chain transformations, it that'll help.  What exactly are you
> >> trying to do?
> >>
> >> Don
> >>
> >> pierreluc_dupont wrote:
> >>> Hi, i'm new with stxx and i need to find out if it is possible to
> >>> process the same forward twice like this :
> >>>
> >>>         1st XSL Proc.                    2nd XSL Proc.
> >>> XML Doc -----------> First result(XHTML) -----------> Final
> result(HTML)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> >>> Yahoo! Groups Links
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>  Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> >>
> >>
> >>
> >>  SPONSORED LINKS
> >>   Xml xsl<
>
http://groups.yahoo.com/gads?t=ms&k=Xml+xsl&w1=Xml+xsl&w2=Basic+programming+lang\
uage&w3=C+programming+language&w4=Computer+programming+languages&w5=The+c+progra\
mming+language&w6=C+++programming+language&c=6&s=171&.sig=-i5V2yrYGkHAzsNKeT8ZkQ\
>
> Basic
> >> programming language<
>
http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Xml+xsl&w2=Bas\
ic+programming+language&w3=C+programming+language&w4=Computer+programming+langua\
ges&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.sig=SUw\
vt8FsPKocsVlyUUgE4g>
> C
> >> programming language<
>
http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Xml+xsl&w2=Basic+p\
rogramming+language&w3=C+programming+language&w4=Computer+programming+languages&\
w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.sig=KPpWRZk\
3y9DBtYJ-SlBmxg>
> Computer
> >> programming languages<
>
http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Xml+xsl&w2\
=Basic+programming+language&w3=C+programming+language&w4=Computer+programming+la\
nguages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.sig\
=kJVZR9lzUTVnLVpwA4ohig>
> The
> >> c programming language<
>
http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=Xml+xsl&w2=Bas\
ic+programming+language&w3=C+programming+language&w4=Computer+programming+langua\
ges&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.sig=OVr\
uWE6AMO_TwPars-0-oA>
> C++
> >> programming language<
>
http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Xml+xsl&w2=Basic\
+programming+language&w3=C+programming+language&w4=Computer+programming+language\
s&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.sig=e-VgC\
_z3T2eAqHn8T-SkIA
> >
> >>  ------------------------------
> >> YAHOO! GROUPS LINKS
> >>
> >>
> >>    -  Visit your group "struts-xsl<
> http://groups.yahoo.com/group/struts-xsl>"
>
> >>    on the web.
> >>
> >>    -  To unsubscribe from this group, send an email to:
> >>     struts-xsl-unsubscribe@yahoogroups.com<
> struts-xsl-unsubscribe@yahoogroups.com?subject=Unsubscribe>
> >>
> >>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >>    Service <http://docs.yahoo.com/info/terms/>.
> >>
> >>
> >>  ------------------------------
> >>
> >
> >
> > [Non-text portions of this message have been removed]
>
> >
> >
> >
> > Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>  Visit the group site at: http://groups.yahoo.com/group/struts-xsl
>
>
>
>  SPONSORED LINKS
>   Xml
xsl<http://groups.yahoo.com/gads?t=ms&k=Xml+xsl&w1=Xml+xsl&w2=Basic+programming+\
language&w3=C+programming+language&w4=Computer+programming+languages&w5=The+c+pr\
ogramming+language&w6=C+++programming+language&c=6&s=171&.sig=-i5V2yrYGkHAzsNKeT\
8ZkQ>  Basic
> programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Xml+x\
sl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programmi\
ng+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171\
&.sig=SUwvt8FsPKocsVlyUUgE4g>  C
> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Xml+xsl&w\
2=Basic+programming+language&w3=C+programming+language&w4=Computer+programming+l\
anguages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.si\
g=KPpWRZk3y9DBtYJ-SlBmxg>   Computer
> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=\
Xml+xsl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+prog\
ramming+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&\
s=171&.sig=kJVZR9lzUTVnLVpwA4ohig>  The
> c programming
language<http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=Xml+x\
sl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programmi\
ng+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171\
&.sig=OVruWE6AMO_TwPars-0-oA>  C++
> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Xml+xsl\
&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programming\
+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.\
sig=e-VgC_z3T2eAqHn8T-SkIA>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group "struts-xsl<http://groups.yahoo.com/group/struts-xsl>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>    
struts-xsl-unsubscribe@yahoogroups.com<struts-xsl-unsubscribe@yahoogroups.com?su\
bject=Unsubscribe>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>


[Non-text portions of this message have been removed]

#2614 From: Don Brown <mrdon@...>
Date: Fri Apr 28, 2006 6:33 pm
Subject: Re: Is it possible to process a foward twice?
mrdon42
Offline Offline
Send Email Send Email
 
Well, sf is having problems, but I think all you have to do is include the path
parameter multiple times.  The docs
should talk about how to chain transformations better.

Don

Pierre-Luc Dupont wrote:
> That's exactly what i wanted to do. Thanks.
>
>
> On 4/28/06, Don Brown <mrdon@...> wrote:
>> You can chain transformations, it that'll help.  What exactly are you
>> trying to do?
>>
>> Don
>>
>> pierreluc_dupont wrote:
>>> Hi, i'm new with stxx and i need to find out if it is possible to
>>> process the same forward twice like this :
>>>
>>>         1st XSL Proc.                    2nd XSL Proc.
>>> XML Doc -----------> First result(XHTML) -----------> Final result(HTML)
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Visit the group site at: http://groups.yahoo.com/group/struts-xsl
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>  Visit the group site at: http://groups.yahoo.com/group/struts-xsl
>>
>>
>>
>>  SPONSORED LINKS
>>   Xml
xsl<http://groups.yahoo.com/gads?t=ms&k=Xml+xsl&w1=Xml+xsl&w2=Basic+programming+\
language&w3=C+programming+language&w4=Computer+programming+languages&w5=The+c+pr\
ogramming+language&w6=C+++programming+language&c=6&s=171&.sig=-i5V2yrYGkHAzsNKeT\
8ZkQ>  Basic
>> programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Xml+x\
sl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programmi\
ng+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171\
&.sig=SUwvt8FsPKocsVlyUUgE4g>  C
>> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Xml+xsl&w\
2=Basic+programming+language&w3=C+programming+language&w4=Computer+programming+l\
anguages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.si\
g=KPpWRZk3y9DBtYJ-SlBmxg>   Computer
>> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=\
Xml+xsl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+prog\
ramming+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&\
s=171&.sig=kJVZR9lzUTVnLVpwA4ohig>  The
>> c programming
language<http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=Xml+x\
sl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programmi\
ng+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171\
&.sig=OVruWE6AMO_TwPars-0-oA>  C++
>> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Xml+xsl\
&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programming\
+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.\
sig=e-VgC_z3T2eAqHn8T-SkIA>
>>  ------------------------------
>> YAHOO! GROUPS LINKS
>>
>>
>>    -  Visit your group "struts-xsl<http://groups.yahoo.com/group/struts-xsl>"
>>    on the web.
>>
>>    -  To unsubscribe from this group, send an email to:
>>    
struts-xsl-unsubscribe@yahoogroups.com<struts-xsl-unsubscribe@yahoogroups.com?su\
bject=Unsubscribe>
>>
>>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>>    Service <http://docs.yahoo.com/info/terms/>.
>>
>>
>>  ------------------------------
>>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#2613 From: "Pierre-Luc Dupont" <pldupont@...>
Date: Fri Apr 28, 2006 6:30 pm
Subject: Re: Is it possible to process a foward twice?
pierreluc_du...
Offline Offline
Send Email Send Email
 
That's exactly what i wanted to do. Thanks.


On 4/28/06, Don Brown <mrdon@...> wrote:
>
> You can chain transformations, it that'll help.  What exactly are you
> trying to do?
>
> Don
>
> pierreluc_dupont wrote:
> > Hi, i'm new with stxx and i need to find out if it is possible to
> > process the same forward twice like this :
> >
> >         1st XSL Proc.                    2nd XSL Proc.
> > XML Doc -----------> First result(XHTML) -----------> Final result(HTML)
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>  Visit the group site at: http://groups.yahoo.com/group/struts-xsl
>
>
>
>  SPONSORED LINKS
>   Xml
xsl<http://groups.yahoo.com/gads?t=ms&k=Xml+xsl&w1=Xml+xsl&w2=Basic+programming+\
language&w3=C+programming+language&w4=Computer+programming+languages&w5=The+c+pr\
ogramming+language&w6=C+++programming+language&c=6&s=171&.sig=-i5V2yrYGkHAzsNKeT\
8ZkQ>  Basic
> programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Xml+x\
sl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programmi\
ng+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171\
&.sig=SUwvt8FsPKocsVlyUUgE4g>  C
> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Xml+xsl&w\
2=Basic+programming+language&w3=C+programming+language&w4=Computer+programming+l\
anguages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.si\
g=KPpWRZk3y9DBtYJ-SlBmxg>   Computer
> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=\
Xml+xsl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+prog\
ramming+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&\
s=171&.sig=kJVZR9lzUTVnLVpwA4ohig>  The
> c programming
language<http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=Xml+x\
sl&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programmi\
ng+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171\
&.sig=OVruWE6AMO_TwPars-0-oA>  C++
> programming
language<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=Xml+xsl\
&w2=Basic+programming+language&w3=C+programming+language&w4=Computer+programming\
+languages&w5=The+c+programming+language&w6=C+++programming+language&c=6&s=171&.\
sig=e-VgC_z3T2eAqHn8T-SkIA>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    -  Visit your group "struts-xsl<http://groups.yahoo.com/group/struts-xsl>"
>    on the web.
>
>    -  To unsubscribe from this group, send an email to:
>    
struts-xsl-unsubscribe@yahoogroups.com<struts-xsl-unsubscribe@yahoogroups.com?su\
bject=Unsubscribe>
>
>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>


[Non-text portions of this message have been removed]

#2612 From: Don Brown <mrdon@...>
Date: Fri Apr 28, 2006 6:27 pm
Subject: Re: Is it possible to process a foward twice?
mrdon42
Offline Offline
Send Email Send Email
 
You can chain transformations, it that'll help.  What exactly are you trying to
do?

Don

pierreluc_dupont wrote:
> Hi, i'm new with stxx and i need to find out if it is possible to
> process the same forward twice like this :
>
>         1st XSL Proc.                    2nd XSL Proc.
> XML Doc -----------> First result(XHTML) -----------> Final result(HTML)
>
>
>
>
>
>
>
>
>
> Visit the group site at: http://groups.yahoo.com/group/struts-xsl
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#2611 From: "pierreluc_dupont" <pldupont@...>
Date: Fri Apr 28, 2006 1:56 pm
Subject: Is it possible to process a foward twice?
pierreluc_du...
Offline Offline
Send Email Send Email
 
Hi, i'm new with stxx and i need to find out if it is possible to
process the same forward twice like this :

         1st XSL Proc.                    2nd XSL Proc.
XML Doc -----------> First result(XHTML) -----------> Final result(HTML)

Messages 2611 - 2640 of 2669   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help