Igor Vlasov
2008-07-18 11:54:16 UTC
Hello. I wrote a simple s2 application.
I described a filter in web.xml
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.jspa</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
but i forgot a struts.properties file and "struts.action.extension=jspa"
AND my project does not WORK
My question: why we need to write "struts.action.extension=jspa" when we
already have filter-mapping binding struts2->*.jspa
I described a filter in web.xml
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.jspa</url-pattern>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
but i forgot a struts.properties file and "struts.action.extension=jspa"
AND my project does not WORK
My question: why we need to write "struts.action.extension=jspa" when we
already have filter-mapping binding struts2->*.jspa
--
View this message in context: http://www.nabble.com/Why-we-need-struts.action.extension-property-tp18527639p18527639.html
Sent from the Struts - User mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/Why-we-need-struts.action.extension-property-tp18527639p18527639.html
Sent from the Struts - User mailing list archive at Nabble.com.