what do I need to change in web.xml to omit the .action extension?
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
Hey S2 experts
can anyone tell me what I can modified in web.xml to omit the .action extension? is it in <url-pattern></url-pattern> tag?
and if it is, how do I change it because the default for s2 is /*
http://struts.apache.org/2.1.6/docs/strutsproperties.html wrote:The properties file can be locate anywhere on the classpath, but it is typically found under /WEB-INF/classes
But I guess you should listen to Dave since he's more into Struts than me.
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
ok Gentlemen
Just want to report to you that in struts.xml
I have
and it will omit the .action extension
just want to make sure one thing from Mr. Newton
Is this the XML configuration that you're referring to?