You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chuck Amadi <ch...@breconbeacons.org> on 2001/07/05 12:50:43 UTC

Re: SV: pls Help .java File Wont compile/wrong name packages

Hi  Peter Alfors, i added the dir structure that corresponds to the package ie.
WEB-INF/classes/org/apache/struts/action/ActionMapping.class.
I recieve a mouseOver prompt saying wrong name -i am unable to edit these white
crosses on red bground.

Any other ideas.

Peter Alfors wrote:

> Are you looking for the ActionMapping class file or java file?
> either way, it should be in your download of struts???
>
> Pete
>
> Chuck Amadi wrote:
>
> > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of
> > ActionMappings.class.
> > As i have located a copy in the struts-example in another application albeit i
> > can't access it.
> > Cheers Chuck
> >
> > Calvin Yu wrote:
> >
> > > Is struts.jar in WEB-INF/lib?  If so, check to make sure
> > > ActionMappings.class is in it.  The package name is correct, its just that
> > > javac cannot find the struts.jar.
> > >
> > > Calvin
> > >
> > > ----- Original Message -----
> > > From: "Chuck Amadi" <ch...@breconbeacons.org>
> > > To: <st...@jakarta.apache.org>
> > > Sent: Tuesday, July 03, 2001 9:13 AM
> > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont
> > > compile
> > >
> > > > Hi, pls can some one confirm the package name for ActionMappings as i
> > > > recieve the following error.
> > > >
> > > > I am aware that i have the incorrect package thus were does ActionMappings
> > > > reside.
> > > > Cheers Chuck
> > > >
> > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found
> > > > in type declaration or import.
> > > > import org.apache.struts.action.ActionMapping;
> > > >                                 ^
> > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in
> > > > type declaration or import.
> > > > import org.apache.struts.action.ActionForm;
> > > >                                 ^
> > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found
> > > in
> > > > type declaration or import.
> > > > import org.apache.struts.action.ActionErrors;
> > > >                                 ^
> > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in
> > > > type declaration or import.
> > > > import org.apache.struts.action.ActionError;
> > > >                                 ^
> > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in
> > > > type declaration or import.
> > > > public final class LogonForm extends ActionForm {
> > > >                                      ^
> > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found
> > > > in type declaration or import.
> > > >     public void reset(ActionMapping mapping, HttpServletRequest request) {
> > > >                       ^
> > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found
> > > > in type declaration or import.
> > > >     public ActionErrors validate(ActionMapping mapping,
> > > >            ^
> > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found
> > > > in type declaration or import.
> > > >     public ActionErrors validate(ActionMapping mapping,
> > > >                                  ^
> > > > 8 errors
> > > > Errors compiling LogonForm.
> > > >
> > > > Chuck Amadi wrote:
> > > >
> > > > > Hi, pls could anyone confirm the ActionMappings package & ActionForward
> > > > > package name within WBE-INF\classes\. dir as im lead to believe this
> > > > > might be the cause of my problems.
> > > > >
> > > > > Chuck Amadi wrote:
> > > > >
> > > > > >    Part 1.1    Type: Plain Text (text/plain)
> > > > > >            Encoding: 8bit
> > > > >
> > > > > --
> > > > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
> > > >
> > > > --
> > > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
> > > >
> >
> > --
> > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>
>   ------------------------------------------------------------------------
>                           Name: peter.alfors.vcf
>    peter.alfors.vcf       Type: VCard (text/x-vcard)
>                       Encoding: 7bit
>                    Description: Card for Peter Alfors

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.


Re: the build process !!/invalid package declarations

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hey no problems i unmounted the filesystem anyway . The JoinStruts(
joinstruts.jar & business.jar) is part of open - source MVC implementation see
- www-106.ibm.com/developerworks/library/
j-struts/.

Very good source of material and tutorail etc.Thus back to my problem i
redeployed all the neccessary files for the taglib's joinstruts and business
and all's well except in the classes files again i have got invalid package
declarations!!.

This is my classpath C:\jakarat-tomcat-3.2.2\webapps\bbnpa (filesystem)
My work project which fortunately are jsp & database access are ok except for
a problem with sql insert tag
<sql:escapeSql><%=request.getParameter("")%></sql:escapeSql>
On checking my PostgreSql relation/table there are null values instead of
valid data.
So what the hell is going on i don't really like start again as i have
migrated all the html & resources to .jsp and trying to add the dynamic
elements i.e awaitng to transform the planning application form(submit form)
from html to a bean.

Cheers had a good cry then :^}

suhas wrote:

> dunno - but from below messages it looks to me as though you are in deep
> trouble !!!!
> What is Join struts project ????
>
> Suhas
>
> ----- Original Message -----
> From: Chuck Amadi <ch...@breconbeacons.org>
> To: <st...@jakarta.apache.org>
> Sent: Thursday, July 05, 2001 2:20 PM
> Subject: Re:the build process !!
>
> > On attempting to creat the joinstruts project recieved the following
> > error.
> > Cheers Chuck
> > compile:
> > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > Copying 1 file to
> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > Compiling 2 source files to
> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve
> > symbol
> > symbol  : class ServletException
> > location: package servlet
> > import javax.servlet.ServletException;
> >                      ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: package http
> > import javax.servlet.http.HttpServletRequest;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve
> > symbol
> > symbol  : class HttpServletResponse
> > location: package http
> > import javax.servlet.http.HttpServletResponse;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinAction
> >                                  HttpServletRequest request,
> >                                  ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve
> > symbol
> > symbol  : class HttpServletResponse
> > location: class web.mailinglist.JoinAction
> >                                  HttpServletResponse response)
> >                                  ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve
> > symbol
> > symbol  : class ServletException
> > location: class web.mailinglist.JoinAction
> >                                  throws IOException, ServletException {
> >                                                      ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: package http
> > import javax.servlet.http.HttpServletRequest;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinForm
> >     public void reset(ActionMapping mapping, HttpServletRequest request)
> > {
> >                                              ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinForm
> >                                  HttpServletRequest request) {
> >                                  ^
> > 9 errors
> > joinStruts/build.xml [21] Compile failed, messages should have been
> > provided.
> > suhas wrote:
> >
> > >    Part 1.1    Type: Plain Text (text/plain)
> > >            Encoding: quoted-printable
> >
> > --
> > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
> >

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.


Re: Re:the build process !!

Posted by suhas <su...@techmas.hcltech.com>.
dunno - but from below messages it looks to me as though you are in deep
trouble !!!!
What is Join struts project ????

Suhas

----- Original Message -----
From: Chuck Amadi <ch...@breconbeacons.org>
To: <st...@jakarta.apache.org>
Sent: Thursday, July 05, 2001 2:20 PM
Subject: Re:the build process !!


> On attempting to creat the joinstruts project recieved the following
> error.
> Cheers Chuck
> compile:
> Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> Copying 1 file to
> C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> Compiling 2 source files to
> C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve
> symbol
> symbol  : class ServletException
> location: package servlet
> import javax.servlet.ServletException;
>                      ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: package http
> import javax.servlet.http.HttpServletRequest;
>                           ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve
> symbol
> symbol  : class HttpServletResponse
> location: package http
> import javax.servlet.http.HttpServletResponse;
>                           ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: class web.mailinglist.JoinAction
>                                  HttpServletRequest request,
>                                  ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve
> symbol
> symbol  : class HttpServletResponse
> location: class web.mailinglist.JoinAction
>                                  HttpServletResponse response)
>                                  ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve
> symbol
> symbol  : class ServletException
> location: class web.mailinglist.JoinAction
>                                  throws IOException, ServletException {
>                                                      ^
> joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: package http
> import javax.servlet.http.HttpServletRequest;
>                           ^
> joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: class web.mailinglist.JoinForm
>     public void reset(ActionMapping mapping, HttpServletRequest request)
> {
>                                              ^
> joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: class web.mailinglist.JoinForm
>                                  HttpServletRequest request) {
>                                  ^
> 9 errors
> joinStruts/build.xml [21] Compile failed, messages should have been
> provided.
> suhas wrote:
>
> >    Part 1.1    Type: Plain Text (text/plain)
> >            Encoding: quoted-printable
>
> --
> 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.
>


Re: the build process !!/Servlet.jar

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Guesss WHAT "No" Peter pleasse go on , im a looking for it as we speek albiet
i don't recall deleting that servlet.jar or seeing it.

Cheers Chuck


Peter Alfors wrote:

> Do you have the servlet.jar in your classpath?
>
> Pete
>
> Chuck Amadi wrote:
>
> > On attempting to creat the joinstruts project recieved the following
> > error.
> > Cheers Chuck
> > compile:
> > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > Copying 1 file to
> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > Compiling 2 source files to
> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve
> > symbol
> > symbol  : class ServletException
> > location: package servlet
> > import javax.servlet.ServletException;
> >                      ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: package http
> > import javax.servlet.http.HttpServletRequest;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve
> > symbol
> > symbol  : class HttpServletResponse
> > location: package http
> > import javax.servlet.http.HttpServletResponse;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinAction
> >                                  HttpServletRequest request,
> >                                  ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve
> > symbol
> > symbol  : class HttpServletResponse
> > location: class web.mailinglist.JoinAction
> >                                  HttpServletResponse response)
> >                                  ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve
> > symbol
> > symbol  : class ServletException
> > location: class web.mailinglist.JoinAction
> >                                  throws IOException, ServletException {
> >                                                      ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: package http
> > import javax.servlet.http.HttpServletRequest;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinForm
> >     public void reset(ActionMapping mapping, HttpServletRequest request)
> > {
> >                                              ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinForm
> >                                  HttpServletRequest request) {
> >                                  ^
> > 9 errors
> > joinStruts/build.xml [21] Compile failed, messages should have been
> > provided.
> > suhas wrote:
> >
> > >    Part 1.1    Type: Plain Text (text/plain)
> > >            Encoding: quoted-printable
> >
> > --
> > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>
>   ------------------------------------------------------------------------
>                           Name: peter.alfors.vcf
>    peter.alfors.vcf       Type: VCard (text/x-vcard)
>                       Encoding: 7bit
>                    Description: Card for Peter Alfors

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.



Re: the build process !! found servlet & others

Posted by Peter Alfors <pe...@irista.com>.
Oops, I was not answering the right question....
You will need the Servlet.jar when running your app, but at the moment,
you need it to compile.
Therefore, make sure that it is included in your classpath in your IDE,
or in the ant script (if you are using ant), etc...

Pete

Peter Alfors wrote:

> You can leave the jar in the tomcat/lib directory.  You just need to
> make sure that it is included in your classpath when tomcat is
> started.
> check your tomcat.bat file and make sure that it appends the jars in
> the tomcat/lib directory to your class path on startup.
> Or, you can add it manually if you prefer that.
> I wouldn't put it in the WEB-INF/classes directory because it is a
> common jar that all web apps will need.
>
> Display your classpath in your tomcat window and see if it is
> included.
>
> Pete
>
>
> Chuck Amadi wrote:
>
>> Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there
>> was also parser,ant,jasper,webserver,jaxp and servlet.jar thus i
>> have c&p to my C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib.  I assume that
>> is the correct .
>>
>> Cheers Chuck
>>
>> Peter Alfors wrote:
>>
>> > Do you have the servlet.jar in your classpath?
>> >
>> > Pete
>> >
>> > Chuck Amadi wrote:
>> >
>> > > On attempting to creat the joinstruts project recieved the
>> > following
>> > > error.
>> > > Cheers Chuck
>> > > compile:
>> > > Created dir:
>> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
>> > > Copying 1 file to
>> > > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
>> > > Compiling 2 source files to
>> > > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
>> > > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class ServletException
>> > > location: package servlet
>> > > import javax.servlet.ServletException;
>> > >                      ^
>> > > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletRequest
>> > > location: package http
>> > > import javax.servlet.http.HttpServletRequest;
>> > >                           ^
>> > > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletResponse
>> > > location: package http
>> > > import javax.servlet.http.HttpServletResponse;
>> > >                           ^
>> > > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletRequest
>> > > location: class web.mailinglist.JoinAction
>> > >                                  HttpServletRequest request,
>> > >                                  ^
>> > > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletResponse
>> > > location: class web.mailinglist.JoinAction
>> > >                                  HttpServletResponse response)
>> > >                                  ^
>> > > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class ServletException
>> > > location: class web.mailinglist.JoinAction
>> > >                                  throws IOException,
>> > ServletException {
>> > >                                                      ^
>> > > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletRequest
>> > > location: package http
>> > > import javax.servlet.http.HttpServletRequest;
>> > >                           ^
>> > > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletRequest
>> > > location: class web.mailinglist.JoinForm
>> > >     public void reset(ActionMapping mapping, HttpServletRequest
>> > request)
>> > > {
>> > >                                              ^
>> > > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot
>> > resolve
>> > > symbol
>> > > symbol  : class HttpServletRequest
>> > > location: class web.mailinglist.JoinForm
>> > >                                  HttpServletRequest request) {
>> > >                                  ^
>> > > 9 errors
>> > > joinStruts/build.xml [21] Compile failed, messages should have
>> > been
>> > > provided.
>> > > suhas wrote:
>> > >
>> > > >    Part 1.1    Type: Plain Text (text/plain)
>> > > >            Encoding: quoted-printable
>> > >
>> > > --
>> > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>> >
>> >
>> > ------------------------------------------------------------------------
>> >
>> >                           Name: peter.alfors.vcf
>> >    peter.alfors.vcf       Type: VCard (text/x-vcard)
>> >                       Encoding: 7bit
>> >                    Description: Card for Peter Alfors
>>
>> --
>> 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.
>

Re: the build process !! found servlet & others

Posted by Peter Alfors <pe...@irista.com>.
You can leave the jar in the tomcat/lib directory.  You just need to
make sure that it is included in your classpath when tomcat is started.
check your tomcat.bat file and make sure that it appends the jars in the
tomcat/lib directory to your class path on startup.
Or, you can add it manually if you prefer that.
I wouldn't put it in the WEB-INF/classes directory because it is a
common jar that all web apps will need.

Display your classpath in your tomcat window and see if it is included.

Pete


Chuck Amadi wrote:

> Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there
> was also parser,ant,jasper,webserver,jaxp and servlet.jar thus i have
> c&p to my C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib.  I assume that is the
> correct .
>
> Cheers Chuck
>
> Peter Alfors wrote:
>
>> Do you have the servlet.jar in your classpath?
>>
>> Pete
>>
>> Chuck Amadi wrote:
>>
>> > On attempting to creat the joinstruts project recieved the
>> following
>> > error.
>> > Cheers Chuck
>> > compile:
>> > Created dir:
>> C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
>> > Copying 1 file to
>> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
>> > Compiling 2 source files to
>> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
>> > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot
>> resolve
>> > symbol
>> > symbol  : class ServletException
>> > location: package servlet
>> > import javax.servlet.ServletException;
>> >                      ^
>> > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletRequest
>> > location: package http
>> > import javax.servlet.http.HttpServletRequest;
>> >                           ^
>> > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletResponse
>> > location: package http
>> > import javax.servlet.http.HttpServletResponse;
>> >                           ^
>> > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletRequest
>> > location: class web.mailinglist.JoinAction
>> >                                  HttpServletRequest request,
>> >                                  ^
>> > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletResponse
>> > location: class web.mailinglist.JoinAction
>> >                                  HttpServletResponse response)
>> >                                  ^
>> > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot
>> resolve
>> > symbol
>> > symbol  : class ServletException
>> > location: class web.mailinglist.JoinAction
>> >                                  throws IOException,
>> ServletException {
>> >                                                      ^
>> > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletRequest
>> > location: package http
>> > import javax.servlet.http.HttpServletRequest;
>> >                           ^
>> > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletRequest
>> > location: class web.mailinglist.JoinForm
>> >     public void reset(ActionMapping mapping, HttpServletRequest
>> request)
>> > {
>> >                                              ^
>> > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot
>> resolve
>> > symbol
>> > symbol  : class HttpServletRequest
>> > location: class web.mailinglist.JoinForm
>> >                                  HttpServletRequest request) {
>> >                                  ^
>> > 9 errors
>> > joinStruts/build.xml [21] Compile failed, messages should have
>> been
>> > provided.
>> > suhas wrote:
>> >
>> > >    Part 1.1    Type: Plain Text (text/plain)
>> > >            Encoding: quoted-printable
>> >
>> > --
>> > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>>
>>
>> ------------------------------------------------------------------------
>>
>>                           Name: peter.alfors.vcf
>>    peter.alfors.vcf       Type: VCard (text/x-vcard)
>>                       Encoding: 7bit
>>                    Description: Card for Peter Alfors
>
> --
> 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.
>

Re: the build process !! found servlet & others

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there was also
parser,ant,jasper,webserver,jaxp and servlet.jar thus i have c&p to my
C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib.  I assume that is the correct .

Cheers Chuck

Peter Alfors wrote:

> Do you have the servlet.jar in your classpath?
>
> Pete
>
> Chuck Amadi wrote:
>
> > On attempting to creat the joinstruts project recieved the following
> > error.
> > Cheers Chuck
> > compile:
> > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > Copying 1 file to
> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > Compiling 2 source files to
> > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve
> > symbol
> > symbol  : class ServletException
> > location: package servlet
> > import javax.servlet.ServletException;
> >                      ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: package http
> > import javax.servlet.http.HttpServletRequest;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve
> > symbol
> > symbol  : class HttpServletResponse
> > location: package http
> > import javax.servlet.http.HttpServletResponse;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinAction
> >                                  HttpServletRequest request,
> >                                  ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve
> > symbol
> > symbol  : class HttpServletResponse
> > location: class web.mailinglist.JoinAction
> >                                  HttpServletResponse response)
> >                                  ^
> > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve
> > symbol
> > symbol  : class ServletException
> > location: class web.mailinglist.JoinAction
> >                                  throws IOException, ServletException {
> >                                                      ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: package http
> > import javax.servlet.http.HttpServletRequest;
> >                           ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinForm
> >     public void reset(ActionMapping mapping, HttpServletRequest request)
> > {
> >                                              ^
> > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve
> > symbol
> > symbol  : class HttpServletRequest
> > location: class web.mailinglist.JoinForm
> >                                  HttpServletRequest request) {
> >                                  ^
> > 9 errors
> > joinStruts/build.xml [21] Compile failed, messages should have been
> > provided.
> > suhas wrote:
> >
> > >    Part 1.1    Type: Plain Text (text/plain)
> > >            Encoding: quoted-printable
> >
> > --
> > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>
>   ------------------------------------------------------------------------
>                           Name: peter.alfors.vcf
>    peter.alfors.vcf       Type: VCard (text/x-vcard)
>                       Encoding: 7bit
>                    Description: Card for Peter Alfors

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.


Re: the build process !!

Posted by Peter Alfors <pe...@irista.com>.
Do you have the servlet.jar in your classpath?

Pete


Chuck Amadi wrote:

> On attempting to creat the joinstruts project recieved the following
> error.
> Cheers Chuck
> compile:
> Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> Copying 1 file to
> C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> Compiling 2 source files to
> C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
> joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve
> symbol
> symbol  : class ServletException
> location: package servlet
> import javax.servlet.ServletException;
>                      ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: package http
> import javax.servlet.http.HttpServletRequest;
>                           ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve
> symbol
> symbol  : class HttpServletResponse
> location: package http
> import javax.servlet.http.HttpServletResponse;
>                           ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: class web.mailinglist.JoinAction
>                                  HttpServletRequest request,
>                                  ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve
> symbol
> symbol  : class HttpServletResponse
> location: class web.mailinglist.JoinAction
>                                  HttpServletResponse response)
>                                  ^
> joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve
> symbol
> symbol  : class ServletException
> location: class web.mailinglist.JoinAction
>                                  throws IOException, ServletException {
>                                                      ^
> joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: package http
> import javax.servlet.http.HttpServletRequest;
>                           ^
> joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: class web.mailinglist.JoinForm
>     public void reset(ActionMapping mapping, HttpServletRequest request)
> {
>                                              ^
> joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve
> symbol
> symbol  : class HttpServletRequest
> location: class web.mailinglist.JoinForm
>                                  HttpServletRequest request) {
>                                  ^
> 9 errors
> joinStruts/build.xml [21] Compile failed, messages should have been
> provided.
> suhas wrote:
>
> >    Part 1.1    Type: Plain Text (text/plain)
> >            Encoding: quoted-printable
>
> --
> 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.

Re:the build process !!

Posted by Chuck Amadi <ch...@breconbeacons.org>.
On attempting to creat the joinstruts project recieved the following
error.
Cheers Chuck
compile:
Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
Copying 1 file to
C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
Compiling 2 source files to
C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes
joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve
symbol
symbol  : class ServletException
location: package servlet
import javax.servlet.ServletException;
                     ^
joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve
symbol
symbol  : class HttpServletRequest
location: package http
import javax.servlet.http.HttpServletRequest;
                          ^
joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve
symbol
symbol  : class HttpServletResponse
location: package http
import javax.servlet.http.HttpServletResponse;
                          ^
joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve
symbol
symbol  : class HttpServletRequest
location: class web.mailinglist.JoinAction
                                 HttpServletRequest request,
                                 ^
joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve
symbol
symbol  : class HttpServletResponse
location: class web.mailinglist.JoinAction
                                 HttpServletResponse response)
                                 ^
joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve
symbol
symbol  : class ServletException
location: class web.mailinglist.JoinAction
                                 throws IOException, ServletException {
                                                     ^
joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve
symbol
symbol  : class HttpServletRequest
location: package http
import javax.servlet.http.HttpServletRequest;
                          ^
joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve
symbol
symbol  : class HttpServletRequest
location: class web.mailinglist.JoinForm
    public void reset(ActionMapping mapping, HttpServletRequest request)
{
                                             ^
joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve
symbol
symbol  : class HttpServletRequest
location: class web.mailinglist.JoinForm
                                 HttpServletRequest request) {
                                 ^
9 errors
joinStruts/build.xml [21] Compile failed, messages should have been
provided.
suhas wrote:

>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: quoted-printable

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.



Re: SV: pls Help .java File Wont compile/ visual attached

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi suhas, cheers 4 info regardong Data Access Objects (DAO), Regarding
my dilema some how i had modified the ActionMapping.class files etc Thus

i created a package path to suit my companies.
Thus i renamed the files (post change to) org.breconbecons.it.____the
class nevertheless i then recieved invalid package declartions , then
wrong name (package) thus on copying the classes from struts-examples
path. i am presented with no access errors introspecting - wrong name:
I have checked that the jar's are in my WEB-INF/lib and my tld's and
played around with the package names( i.e package action; - public
ActionMapping ( ) ; ) and the full path org.breconbeacons.it.Thus
brought the class to different levels ie WEB-INF/classes/action.java
file

Basically none of the java files will compile since i made a silly &
regretable modificatio somewhere.
I haven't touched ANTS yet.so all this build business is another game
all together until i read the doc's

Cheers Chuck :^{

suhas wrote:

>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: quoted-printable

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.


Re: SV: pls Help .java File Wont compile/wrong name packages

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi , cheers 4 the return within the IDE when i go to ApplicationMappings
a mouseover prompt states invalid package declaration. Thus path is as u
noted plus the name of my package is package action;

Thus i intend to create another Action Class From the package
com.ora.jsp.servlets.
Thus can i just modify the package path 


Peter Alfors wrote:
> 
>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: 8bit

-- 
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.

Re: SV: pls Help .java File Wont compile/wrong name packages

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi suhas, cheers 4 info regardong Data Access Objects (DAO), Regarding
my dilema some how i had modified the ActionMapping.class files etc Thus
i created a package path to suit my companies.
Thus i renamed the files (post change to) org.breconbecons.it.____the
class nevertheless i then recieved invalid package declartions , then
wrong name (package) thus on copying the classes from struts-examples
path. i am presented with no access errors introspecting - wrong name:
I have checked that the jar's are in my WEB-INF/lib and my tld's and
played around with the package names( i.e package action; - public
ActionMapping ( ) ; ) and the full path org.breconbeacons.it.Thus
brought the class to different levels ie WEB-INF/classes/action.java
file

Basically none of the java files will compile since i made a silly &
regretable modificatio somewhere.
I haven't touched ANTS yet.so all this build business is another game
all together until i read the doc's

Cheers Chuck :^{

suhas wrote:

>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: quoted-printable

--
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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.


Re: SV: pls Help .java File Wont compile/wrong name packages

Posted by Peter Alfors <pe...@irista.com>.
A mouse over prompt?
Im not sure what you you are talking about??

"i am unable to edit these white crosses on red bground. "

What white crosses and red backgrounds???

Have you created the directory structure:

WEB-INF
-- classes
     -- org
         -- apache
             -- struts
                 -- action

and placed your ActionMapping class in it?
What happens when you restart tomcat?

Pete


suhas wrote:

> Hi Chuck I seen u sending lots of message regarding this question .
> But lost the thread in between !!I did not get what u really want to
> do ??? R u want to compile ( build ) the stuts source .????Then try
> using Ants which compiles the source files from the Struts package
> . Suhas
>
>      ----- Original Message -----
>      From: Chuck Amadi
>      To: struts-user@jakarta.apache.org
>      Sent: Thursday, July 05, 2001 11:50 AM
>      Subject: Re: SV: pls Help .java File Wont compile/wrong name
>      packages
>       Hi  Peter Alfors, i added the dir structure that
>      corresponds to the package ie.
>      WEB-INF/classes/org/apache/str
>      ts/action/ActionMapping.class.
>      I recieve a mouseOver prompt saying wrong name -i am unable
>      to edit these white crosses on red bground.
>
>      Any other ideas.
>
>      Peter Alfors wrote:
>
>     > Are you looking for the ActionMapping class file or java
>     > file?
>     > either way, it should be in your download of struts???
>     >
>     > Pete
>     >
>     > Chuck Amadi wrote:
>     >
>     > > Hi yes all my jar files are in WEB-INf\lib.Could you
>     > post a snippet of
>     > > ActionMappings.class.
>     > > As i have located a copy in the struts-example in
>     > another application albeit i
>     > > can't access it.
>     > > Cheers Chuck
>     > >
>     > > Calvin Yu wrote:
>     > >
>     > > > Is struts.jar in WEB-INF/lib?  If so, check to make
>     > sure
>     > > > ActionMappings.class is in it.  The package name is
>     > correct, its just that
>     > > > javac cannot find the struts.jar.
>     > > >
>     > > > Calvin
>     > > >
>     > > > ----- Original Message -----
>     > > > From: "Chuck Amadi" <ch...@breconbeacons.org>
>     > > > To: <st...@jakarta.apache.org>
>     > > > Sent: Tuesday, July 03, 2001 9:13 AM
>     > > > Subject: Re: SV: pls Help Invalid Package Declartions
>     > .java File Wont
>     > > > compile
>     > > >
>     > > > > Hi, pls can some one confirm the package name for
>     > ActionMappings as i
>     > > > > recieve the following error.
>     > > > >
>     > > > > I am aware that i have the incorrect package thus
>     > were does ActionMappings
>     > > > > reside.
>     > > > > Cheers Chuck
>     > > > >
>     > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class
>     > ActionMapping not found
>     > > > > in type declaration or import.
>     > > > > import org.apache.struts.action.ActionMapping;
>     > > > >                                 ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class
>     > ActionForm not found in
>     > > > > type declaration or import.
>     > > > > import org.apache.struts.action.ActionForm;
>     > > > >                                 ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class
>     > ActionErrors not found
>     > > > in
>     > > > > type declaration or import.
>     > > > > import org.apache.struts.action.ActionErrors;
>     > > > >                                 ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class
>     > ActionError not found in
>     > > > > type declaration or import.
>     > > > > import org.apache.struts.action.ActionError;
>     > > > >                                 ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class
>     > ActionForm not found in
>     > > > > type declaration or import.
>     > > > > public final class LogonForm extends ActionForm {
>     > > > >                                      ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class
>     > ActionMapping not found
>     > > > > in type declaration or import.
>     > > > >     public void reset(ActionMapping mapping,
>     > HttpServletRequest request) {
>     > > > >                       ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class
>     > ActionErrors not found
>     > > > > in type declaration or import.
>     > > > >     public ActionErrors validate(ActionMapping
>     > mapping,
>     > > > >            ^
>     > > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class
>     > ActionMapping not found
>     > > > > in type declaration or import.
>     > > > >     public ActionErrors validate(ActionMapping
>     > mapping,
>     > > > >                                  ^
>     > > > > 8 errors
>     > > > > Errors compiling LogonForm.
>     > > > >
>     > > > > Chuck Amadi wrote:
>     > > > >
>     > > > > > Hi, pls could anyone confirm the ActionMappings
>     > package & ActionForward
>     > > > > > package name within WBE-INF\classes\. dir as im
>     > lead to believe this
>     > > > > > might be the cause of my problems.
>     > > > > >
>     > > > > > Chuck Amadi wrote:
>     > > > > >
>     > > > > > >    Part 1.1    Type: Plain Text (text/plain)
>     > > > > > >            Encoding: 8bit
>     > > > > >
>     > > > > > --
>     > > > > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob
>     > copi.
>     > > > >
>     > > > > --
>     > > > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>     >
>     > > > >
>     > >
>     > > --
>     > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi.
>     >
>     >
>     > ------------------------------------------------------------------------
>     >
>     >                           Name: peter.alfors.vcf
>     >    peter.alfors.vcf       Type: VCard (text/x-vcard)
>     >                       Encoding: 7bit
>     >                    Description: Card for Peter Alfors
>
>      --
>      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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.
>
>

Re: SV: pls Help .java File Wont compile/wrong name packages

Posted by suhas <su...@techmas.hcltech.com>.
Hi Chuck 
 I seen u sending lots of message regarding this question . But lost the thread in between !!
I did not get what u really want to do ??? R u want to compile ( build ) the stuts source .???? 
Then try using Ants which compiles the source files from the Struts package  . 

Suhas 
  ----- Original Message ----- 
  From: Chuck Amadi 
  To: struts-user@jakarta.apache.org 
  Sent: Thursday, July 05, 2001 11:50 AM
  Subject: Re: SV: pls Help .java File Wont compile/wrong name packages


  Hi  Peter Alfors, i added the dir structure that corresponds to the package ie. 
  WEB-INF/classes/org/apache/struts/action/ActionMapping.class. 
  I recieve a mouseOver prompt saying wrong name -i am unable to edit these white crosses on red bground. 
  Any other ideas. 

  Peter Alfors wrote: 

    Are you looking for the ActionMapping class file or java file? 
    either way, it should be in your download of struts??? 
    Pete 

    Chuck Amadi wrote: 

    > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of 
    > ActionMappings.class. 
    > As i have located a copy in the struts-example in another application albeit i 
    > can't access it. 
    > Cheers Chuck 
    > 
    > Calvin Yu wrote: 
    > 
    > > Is struts.jar in WEB-INF/lib?  If so, check to make sure 
    > > ActionMappings.class is in it.  The package name is correct, its just that 
    > > javac cannot find the struts.jar. 
    > > 
    > > Calvin 
    > > 
    > > ----- Original Message ----- 
    > > From: "Chuck Amadi" <ch...@breconbeacons.org> 
    > > To: <st...@jakarta.apache.org> 
    > > Sent: Tuesday, July 03, 2001 9:13 AM 
    > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont 
    > > compile 
    > > 
    > > > Hi, pls can some one confirm the package name for ActionMappings as i 
    > > > recieve the following error. 
    > > > 
    > > > I am aware that i have the incorrect package thus were does ActionMappings 
    > > > reside. 
    > > > Cheers Chuck 
    > > > 
    > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found 
    > > > in type declaration or import. 
    > > > import org.apache.struts.action.ActionMapping; 
    > > >                                 ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in 
    > > > type declaration or import. 
    > > > import org.apache.struts.action.ActionForm; 
    > > >                                 ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found 
    > > in 
    > > > type declaration or import. 
    > > > import org.apache.struts.action.ActionErrors; 
    > > >                                 ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in 
    > > > type declaration or import. 
    > > > import org.apache.struts.action.ActionError; 
    > > >                                 ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in 
    > > > type declaration or import. 
    > > > public final class LogonForm extends ActionForm { 
    > > >                                      ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found 
    > > > in type declaration or import. 
    > > >     public void reset(ActionMapping mapping, HttpServletRequest request) { 
    > > >                       ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found 
    > > > in type declaration or import. 
    > > >     public ActionErrors validate(ActionMapping mapping, 
    > > >            ^ 
    > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found 
    > > > in type declaration or import. 
    > > >     public ActionErrors validate(ActionMapping mapping, 
    > > >                                  ^ 
    > > > 8 errors 
    > > > Errors compiling LogonForm. 
    > > > 
    > > > Chuck Amadi wrote: 
    > > > 
    > > > > Hi, pls could anyone confirm the ActionMappings package & ActionForward 
    > > > > package name within WBE-INF\classes\. dir as im lead to believe this 
    > > > > might be the cause of my problems. 
    > > > > 
    > > > > Chuck Amadi wrote: 
    > > > > 
    > > > > >    Part 1.1    Type: Plain Text (text/plain) 
    > > > > >            Encoding: 8bit 
    > > > > 
    > > > > -- 
    > > > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi. 
    > > > 
    > > > -- 
    > > > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi. 
    > > > 
    > 
    > -- 
    > 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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilwch bob copi. 

      ------------------------------------------------------------------------ 
                              Name: peter.alfors.vcf 
       peter.alfors.vcf       Type: VCard (text/x-vcard) 
                          Encoding: 7bit 
                       Description: Card for Peter Alfors

  -- 
  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 it@breconbeacons.org) 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 it@breconbeacons.org) ac yna dilëwch bob copi.