How about making your custom ActionMapping a public class?

Niall

----- Original Message ----- 
From: "Dave" <[EMAIL PROTECTED]>
Sent: Tuesday, October 25, 2005 4:20 PM


> In my struts-config I have the following action:
>
>   <action className="com.eri.web.struts.actions.dispatchByURLAction"
>     path="/MyAccount"
>     type="com.eri.web.struts.actions.SecurePageAction"
>     scope="request">
>     <forward name="access-granted"
>       path=".member.account.page"/>
>     <forward name="access-denied"
>       path=".member.access.denied.page"/>
>   </action>
>
> My class looks like:
>
> class dispatchByURLAction extends ActionMapping
> {
>   protected String secured = "";
>   public String getSecured() {
>     return secured;
>   }
>   public void setSecured (String Secured) {
>     secured = Secured;
>   }
> }
>
> Adding the custom ActionMapping is the new addition. Prior to adding this
I had
> expected results. Compile succeeds. However deployment seems to be cut
short,
> with no reason specified in the console. (I say gets cut short because the
> series of messages seems shorter then before). When I try to access the
website
> I get a 404 with a servlet action is not available message.
>
> the first part of the log is:
>
> 2005-10-25 10:11:53 StandardContext[/eri]Marking servlet action as
unavailable
> 2005-10-25 10:11:53 StandardContext[/eri]Servlet /eri threw load()
exception
> javax.servlet.UnavailableException: Parsing error processing resource path
> at org.apache.struts.action.ActionServlet.handleConfigException
> (ActionServlet.java:1035)
> at org.apache.struts.action.ActionServlet.parseModuleConfigFile
> (ActionServlet.java:1014)
> at org.apache.struts.action.ActionServlet.initModuleConfig
> (ActionServlet.java:955)
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
>
> Any ideas?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to