Hello, Im having an issue with my web.xml's filter-mapping configuration.
Im using sitemesh with struts2.
My initial
jsp page is called, people submit their login info, the info is sent to an action class which forwards
to my Success.jsp page.
My problem lies within my web.xml's filter-mapping.
In my filter-mapping for sitemesh, under <dispatcher> i have Request and Forward. If I use both then
my Requests get decorated, but not my Forwards.
If I designate Forward, but not Request, then my requests show up, but not after an action class is executed and a Forward takes place.
ie:
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
VS
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
I would like to use both FORWARD and REQUEST and have my requests AND forwards show up.
Everything I read online points toward this being the default if you specify both forward and request in <dispatcher>,
but mine seems to do only one or the other.
Any ideas?
Sincerely,
thebravedave