Configuration
Action Mapping
Please see http://cwiki.apache.org/WW/convention-plugin.html for more details - we've switched to Conventions plugin.
...
- Explicit mapping in your action class.
- implicit mapping in the filesystem, where a
.ftl
or.jsp
file insrc/main/webapp
is parsed and delivered for content.Info title Implicit mapping example If you create a file, test.ftl in the
src/main/webapp/blougat
directory, then you should be able to see the contents of that file athttp://localhost:8080/blougat/test
Implementation
Consider using Spring Webflow for resource editing and registration. Goal is to have a TurboTax-like workflow.
Miscellaneous Issues / Notes
...
is specified in the spring configuration.
External links to Struts 2 documentation
- Ajax: http://struts.apache.org/2.x/docs/ajax.html
- Annotations: http://struts.apache.org/2.x/docs/annotations.html
- Conventions: http://struts.apache.org/2.x/docs/convention-plugin.html
- Freemarker tags: http://struts.apache.org/2.x/docs/freemarker-tags.html
- Interceptors: http://struts.apache.org/2.x/docs/interceptors.html
- Tags: http://struts.apache.org/2.x/docs/tag-reference.html
- Themes and Templates: http://struts.apache.org/2.x/docs/themes-and-templates.html
- Type conversion: http://struts.apache.org/2.x/docs/type-conversion.html
- Validation: http://struts.apache.org/2.x/docs/validation.html