Hello all. I apologize for the size of this message,
but I thought it necessary to include some of my
source.
I am trying to do a very basic thing here. I trying
to pass form data to an Action object. However i am
getting the following tomcat error, when I submit from
16:23
To: [EMAIL PROTECTED]
Subject: No action instance for path your path name could be created
Hello all. I apologize for the size of this message,
but I thought it necessary to include some of my
source.
I am trying to do a very basic thing here. I trying
to pass form data to an Action
Could it be that your action class is in package:
package src.ginsu.strutsApp;
and in your struts-config.xml you are trying to load
type=ginsu.strutsApp.AddFileAction
ie. package ginsu.strutsApp
Dan Tarkenton wrote:
Hello all. I apologize for the size of this message,
but I thought it
Yes I am sure everything is compiling. I use ant to
take care of my build and creation of my ginsu.war
(ginsu = my web app name). In my build process, after
a compile, I basically jar all of my class files into
ginsu.jar, and this jar file winds up in my
WEB-INF/lib directory. I basically
Hey, thanks Gareth. I was using netbeans as my IDE
and it must have automatically put my src directory as
part of my package. I appreciate the look at my
message. Sometimes you can just stare and stare at
code and not see the obvious. My app works now.
Thanks for the time.
--- Gareth Andrew
Here's the problem:
* struts-config.xml ***
actionpath=/addFile
type=ginsu.strutsApp.AddFileAction
** Begin AddFileAction.java
package src.ginsu.strutsApp;
Your Action's fully qualified class name is
Max, I'm curious as to whats wrong with using mixed case (camelCase)
package names. Obviously its better to remove any redundant words from
package (or class, or object) names, but surely the advising someone to
avoid mixed case package names is a little over prescriptive.
Gareth.
Your
7 matches
Mail list logo