Looks like you have some infinite recursion going on. Your <action name="showListing"> in struts.xml returns success which causes tiles to process the <definition name="listing-page"> in tiles.xml which processes the /pages/tiles/listing.jsp that includes <s:action name="showListing"> which return success which execute's the result sending it to the tiles listing-page which includes listing.jsp, that runs the showListing action and on and on until the stack runs out of space. You shouldn't need to use the <s:action> tag inside your tile, by the time you're processing the tile, that action has already run. (*Chris*)
On Wed, Apr 1, 2009 at 9:56 PM, joea88 <[email protected]> wrote: > > I have a struct action tag in my body.jsp, something like this: > <div>Title</div> > <div>Listings.... > <s:action name="showListing" executeResult="true"></s:action> > </div> > > And in struts.xml > <action name="shoListing" class="showListingAction"> > <result name="success" type="tiles">listing-page</result> > </action> > > in tiles.xml > <definition name="listing-page" template="/pages/tiles/listing.jsp" > extends="layout-base"> > <put-attribute name="listing-details" value="listing-details.jsp" /> > </definition> > > When the s:action is executed, instead of inserting the returned > listing.jsp > into body.jsp, the content in body.jsp got rendered again and again until > stackoverflowerror exception is thrown. > > Everything is fine with tiles version 2.0.5. Please anyone help me with > this? > -- > View this message in context: > http://www.nabble.com/StackOverFlow-Error-with-tiles-2.1.2-tp22840882p22840882.html > Sent from the tiles users mailing list archive at Nabble.com. > >
