Hi folks - I'm trying to divide up my struts app into subdirectories (the
application has a 'public' interface, and an 'administrative' interface
called 'coconut'. Don't ask).
I'd like to have 2 wildcard actions that pull JSPs from different
subdirectories. (coconut and public)
Here's my configs - however, the rules are not matching at all - I have my
JSP's in WEB-INF/jsp/coconut/(blah.jsp) and WEB-INF/jsp/public/(blah.jsp).
<action name="coconut/*">
<interceptor-ref name="mystack" />
<result
name="success">/WEB-INF/jsp/coconut/{1}.jsp</result>
<result
name="login">/WEB-INF/jsp/coconut/index.jsp</result>
</action>
<action name="public/*">
<interceptor-ref name="mystack" />
<result
name="success">/WEB-INF/jsp/public/{1}.jsp</result>
<result
name="login">/WEB-INF/jsp/public/index.jsp</result>
</action>
No matter what I hit, I get:
SEVERE: Could not find action or result
There is no Action mapped for action name Welcome. - [unknown location]
at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
Help?
-dbs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]