[ https://issues.apache.org/struts/browse/WW-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Holmes closed WW-2662. ---------------------------- Resolution: Not A Problem Closing per the original reporter. > action tag and sitemesh issue > ----------------------------- > > Key: WW-2662 > URL: https://issues.apache.org/struts/browse/WW-2662 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.1.2 > Environment: Mac OS X 10.5.2 > Reporter: James Humphrey > > When using the action taglib in a jsp decorated by sitemesh, the results of the action are not embedding correctly. > **example.jsp** > <%@ taglib prefix="s" uri="/struts-tags" %> > > > Example > > >

Content Before action result

> >

Content after action result

> > > *Bar action* > package action.foo; > /** > * Example action. > */ > public class Bar extends ActionSupport { > @Override > public String execute() throws Exception { > // stub for example purposes > } > } > **bar.jsp result** >

foobar

> **decorators.xml** > > > > /* > > > **main.jsp decorator*** > > <%@ taglib prefix="sm" uri="http://www.opensymphony.com/sitemesh/decorator" %> > > > > <sm:title/> > > > > > > > > > Expected output: > ... > >

Content Before action result

>

foobar

>

Content after action result

> > ... > Actual output: >

foobar

-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.