I've tried that but it doesn't seem to help!
On 3/22/07, Matt Raible <[EMAIL PROTECTED]> wrote:
You might try adding the following to the filter-mapping:
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
Matt
On 3/21/07, climbingrose <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> My decorators.xml:
>
> <decorators defaultdir="/decorators">
> <excludes>
> <pattern>/resources/*</pattern>
> <pattern>/decorators/*</pattern>
> </excludes>
>
> <decorator name="public" page="public.jsp">
> <pattern>/public/*</pattern>
> </decorator>
> </decorators>
>
>
> The problem is that Sitemesh seems only to decorate jsp pages in public
> folder but not an action. For example if I put test.jsp in
> src/main/webapp/public/ folder then the page gets decorated when I try
to
> access localhost:8080/public/test.jsp. Now if I define an action:
>
> <package name="public" namespace="/public" extends="struts-default">
> <action name="browse!*" method="{1}" class="browseAction">
> <result
> name="success">/public/browse.jsp</result>
> </action>
> </package>
>
> Now I try to browse localhost:8080/public/browse.html then
> I got forwarded to public/browse.jsp but this page doesn't get
decorated.
>
> Any ideas?
>
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Regards,
Cuong Hoang