It looks as though you named the file ActionMapping.java when it should
be ApplicationMapping.java.
The file name must be the same as the class name.

HTH,
    Pete

Chuck Amadi wrote:

> Hi all , well i have tried everthing in the book/doc's to no avail, I
> would like to know that say for instance if one declare a full
> classpath name i.e package classes/org/apache/struts/action; dir or
> does on just say declare package action; As i am still having problems
> with the Action Classes errors below.Also i have a modified Action
> class as per visual Pls check it out .
>
> note briefly i am unable to compile the .java classes.
>
>
> WEB-INF/classes/org/apache/struts/action/ActionMapping.java [85:1]
> Class ActionMapping not found in type declaration or import.
> public final class ApplicationMapping extends ActionMapping {
>                                               ^
> WEB-INF/classes/org/apache/struts/action/ActionMapping.java [85:1]
> Public class action.ApplicationMapping is defined in
> 
>C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\org\apache\struts\action\ActionMapping.java
> and must be defined in a file called "ApplicationMapping.java".
> public final class ApplicationMapping extends ActionMapping {
>                    ^
> 3 errors
> Errors compiling ActionMapping.
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at [EMAIL PROTECTED]) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal â rhoi gwybod i
> ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
>

Reply via email to