Are you sure that you have a compilied Action class where the webserver can
find it e.g ...webapp/web-inf/classes/.../AddFileAction.class it could be
that your Action class is not compiling
Nigel Vivian
-Original Message-
From: Dan Tarkenton [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003
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
6 matches
Mail list logo