I have a package name
/cabinet/s
where all actions return JSP snippets.
and the rest of the path of any URL for this package below
/cabinet/s/actionid/snippetgroup/filename.do
- actionid - identifier for action class
- snippetgroup - identifier of snippets group for certain functionality (this is just a directory name)
- filename - JSP filename
<action name="actionid/*/*" class="someclass">
<result>/WEB-INF/jsp/{1}/{2}.jps</result>
</action>
The problem is that Struts never call a correct class. It always errors that filename
action does not exist.
Struts application is configured to use .do
extension instead of .action
.