decorator - Struts2 Sitemesh not working in WAS 6 server -


I have a string 2-spring application that works fine in JT server, but when I make it 6 decorator (sitemesh )) Not applicable The server log does not show any errors. Is this a known issue? My web XML looks like this

  & lt; Filter & gt; & Lt; Filter-name & gt; Action 2-cleaning & lt; / Filter-name & gt; & Lt; Filter range & gt; Org.apache.struts2.dispatcher.ActionContextCleanUp & lt; / Filter range & gt; & Lt; / Filter & gt; & Lt; Filter & gt; & Lt; Filter-name & gt; Sitemesh & lt; / Filter-name & gt; & Lt; Filter range & gt; Com.opensymphony.module.sitemesh.filter.PageFilter & lt; / Filter range & gt; & Lt; / Filter & gt; & Lt; Filter & gt; & Lt; Filter-name & gt; Action 2 & lt; / Filter-name & gt; & Lt; Filter range & gt; Org.apache.struts2.dispatcher.FilterDispatcher & lt; / Filter range & gt; & Lt; / Filter & gt; & Lt; Filter-mapping & gt; & Lt; Filter-name & gt; Action 2 & lt; / Filter-name & gt; & Lt; URL pattern & gt; / * & Lt; / URL pattern & gt; & Lt; / Filter-mapping & gt; & Lt; Filter-mapping & gt; & Lt; Filter-name & gt; Action 2-cleaning & lt; / Filter-name & gt; & Lt; URL pattern & gt; / * & Lt; / URL pattern & gt; & Lt; / Filter-mapping & gt; & Lt; Filter-mapping & gt; & Lt; Filter-name & gt; Sitemesh & lt; / Filter-name & gt; & Lt; URL pattern & gt; / * & Lt; / URL pattern & gt; & Lt; Dispatcher & gt; Next & lt; / Dispatcher & gt; & Lt; Dispatcher & gt; Included & lt; / Dispatcher & gt; & Lt; Dispatcher & gt; Request & lt; / Dispatcher & gt; & Lt; / Filter-mapping & gt;  

The problem is url-pattern, websphere internally & lt; Use url-Pattern & gt; / * & Lt; / Url-pattern & gt; For some, the solution is to replace something like:

   

and put application files under that path


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -