when i add the forward part it will not work for html anymore
when i add the request part i still can't exclude the jsp's
tibi
tibi wrote:
> my sitemesh in the web.xml:
> has neiter request nor forward
> <filter-mapping>
> <filter-name>sitemesh</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> i will change it to this... and test again.
> <filter-mapping>
> <filter-name>sitemesh</filter-name>
> <url-pattern>/*</url-pattern>
> <dispatcher>REQUEST</dispatcher>
> <dispatcher>FORWARD</dispatcher>
> </filter-mapping>
>
> thanks later,
>
> tibi
>
> Matt Raible wrote:
>> What does your filter-mapping look like for SiteMesh? You may
have to
>> add <dispatcher>FORWARD</dispatcher> (in addition to
>> <dispatcher>REQUEST</dispatcher>).
>>
>> Matt
>>
>> On 5/1/07, tibi <[EMAIL PROTECTED]> wrote:
>>> i hope someone can help me...
>>>
>>> tried:
>>> <excludes>
>>> <pattern>/resources/*</pattern>
>>> <pattern>/topnet/ajax-return/*</pattern>
>>> <pattern>/topnet/salesSoon.html</pattern>
>>> <pattern>/topnet/ajax-return/*</pattern>
>>>
>>>
<pattern>/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp</pattern>
>>>
>>>
>>> <pattern>/pages/topnet/ajax-return/eventSpanAction.jsp</pattern>
>>> <pattern>/topnet/ajax-return/eventSpanAction.jsp</pattern>
>>> <pattern>/ajax-return/eventSpanAction.jsp</pattern>
>>> <pattern>/eventSpanAction.jsp</pattern>
>>> <pattern>eventSpanAction.jsp</pattern>
>>> <pattern>*/eventSpanAction.jsp</pattern>
>>> <pattern>**/eventSpanAction.jsp</pattern>
>>> <pattern>*/**/eventSpanAction.jsp</pattern>
>>> </excludes>
>>>
>>> thanks,
>>>
>>> tibi
>>>
>>> tibi wrote:
>>> > hi,
>>> >
>>> > exluding html pages is no problem met jsp page will not be
exluded.
>>> > anyone a hint?
>>> >
>>> > my decorators.xml
>>> > ---------------------------------
>>> > <decorators defaultdir="/decorators">
>>> > <excludes>
>>> > <pattern>/resources/*</pattern>
>>> > <pattern>/topnet/ajax-return/*</pattern>
>>> > <pattern>/topnet/salesSoon.html</pattern>
>>> > </excludes>
>>> > <decorator name="default" page="default.jsp">
>>> > <pattern>/*</pattern>
>>> > </decorator>
>>> > </decorators>
>>> > ---------------------------------
>>> >
>>> > my ajax-return folders holds the jsp pages. when in my strtus xml
>>> i have:
>>> > <!--result name="AJAX"
>>> >
type="redirect">/topnet/ajax-return/eventSpanAction.html</result-->
>>> > <result
>>> >
>>>
name="AJAX">/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp</result>
>>>
>>> >
>>> > when i use the first one the decorations will be excluded but
when i
>>> > have the second it will not.
>>> >
>>> > thanks,
>>> >
>>> > tibi
>>> >
>>> >
---------------------------------------------------------------------
>>> > 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]