struts-user  

Re: No action instance for path <your path name> could be created

Max Cooper
Wed, 02 Apr 2003 16:34:57 -0800

Here's the problem:

> ********* struts-config.xml ***************
>     <action    path="/addFile"
>                type="ginsu.strutsApp.AddFileAction"

> ****** Begin AddFileAction.java ****************
>
> package src.ginsu.strutsApp;

Your Action's fully qualified class name is src.ginsu.strutsApp.AddFileForm
but Struts will be looking for ginsu.strutsApp.AddFileAction.

I recommend removing src. from your package structure as it is probably a
mistake for it to be there. Many project directory structures have a 'src'
directory, but that should not be a part of the package name itself. Also,
avoid the use of mixed case package names, like 'strutsApp'. Simply using
'struts' or 'web' or something might be better.

-Max



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