Yes, but you'll have to modify the staticFilter in web.xml so the request to your HTML page is not handled by your web framework.

Matt

On Feb 26, 2008, at 2:41 AM, tibi wrote:

is there someone who can show me or can confirm me that it is possible
to point to an html page.
html file being a file which is used by struts.
for example the 'mainMenu.html'

<decorators defaultdir="/decorators">
    <excludes>
        <pattern>/struts/dojo/*</pattern> <!-- OK to remove if you're
not using Struts -->
    </excludes>
    <decorator name="default" page="default.jsp">
        <pattern>/some_thml_file_here_please</pattern>
    </decorator>
</decorators>

just a simple example from wich i can continu. if above would point to
the mainMenu.html only that page will be decorated.

thanks!

tibi

ps i'm using struts/spring/hibernate appfuse 2.0m5


tibi wrote:
i don't have a catch all at the moment (because of the order)

tibi

Dale Newfield wrote:

tibi wrote:

ok any help would be great

In decorator pattern matching, order matters.  I think it'll use the
first pattern that matches, so make sure your catch-all is listed
*after* the special case deocators.

-Dale

-------------------------------------------------------------------- -
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]

Reply via email to