You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "kuma.cra" <ku...@ntlworld.com> on 2001/07/03 02:58:15 UTC
Re: help with package struts-classpath
Hi,there since my last altication my .java files wont compile into
.class files i am recieveing invalid package declaretions . Thus can i
create a class dir that 's the same top level as tomcat's
bin,conf,lib,logs,src,webapps and work as per the tomcat doc's as im
have spent considerable time on this invalid path.
Cheers Chuck
Jonathan wrote:
>
> FIRST
> you need put the jars that are in the ora directory inside the lib directory
> instead
> take the "struts-documentation", "the struts-example" etc.etc. etc. out of
> WEB-INF. They dont belong there. In fact, the .war files are what you
> should be working with and they should be in c:\jakarta-tomcat-3.2.1\webapps
> inside the lib directory you should have struts.jar
>
> ALSO
> for compiling your project your classpath should be
> c:\......the jars inside c:\jakarta-tomcat-3.2.1\lib
> c:\......the jars inside
> c:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\lib
> c:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\classes
>
> Now try and tell me what happened
>
> ----- Original Message -----
> From: "Chuck Amadi" <ch...@breconbeacons.org>
> To: <st...@jakarta.apache.org>
> Sent: Thursday, June 14, 2001 10:50 AM
> Subject: Re: help with package struts-classpath
>
> > Is This Better Jonathan !! Cheers Chuck
> >
> > Jonathan 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: help with package struts-classpath
Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi, Can any one confirm if it is feasiable to create a classes file at tomcat's
level along with ,bin ,conf src ,work ,doc's etc etc .Thus according to the
tomcat's doc's Any class that you add to this dir will find it's place in tomcat's
classpath. Thus will this been seen as i was under the impressin that in oder for
my webapp's to locate it that it had to be beaneath my WEB-INF as it's the
deployment descipter.
Any view's , help or suggestions appreciated as i have ground to a halt as i have
fairly to much html snippets that i rather embrace within beans.
Cheers Chuck
"kuma.cra" wrote:
> Hi,there since my last altication my .java files wont compile into
> .class files i am recieveing invalid package declaretions . Thus can i
> create a class dir that 's the same top level as tomcat's
> bin,conf,lib,logs,src,webapps and work as per the tomcat doc's as im
> have spent considerable time on this invalid path.
>
> Cheers Chuck
>
> Jonathan wrote:
> >
> > FIRST
> > you need put the jars that are in the ora directory inside the lib directory
> > instead
> > take the "struts-documentation", "the struts-example" etc.etc. etc. out of
> > WEB-INF. They dont belong there. In fact, the .war files are what you
> > should be working with and they should be in c:\jakarta-tomcat-3.2.1\webapps
> > inside the lib directory you should have struts.jar
> >
> > ALSO
> > for compiling your project your classpath should be
> > c:\......the jars inside c:\jakarta-tomcat-3.2.1\lib
> > c:\......the jars inside
> > c:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\lib
> > c:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\classes
> >
> > Now try and tell me what happened
> >
> > ----- Original Message -----
> > From: "Chuck Amadi" <ch...@breconbeacons.org>
> > To: <st...@jakarta.apache.org>
> > Sent: Thursday, June 14, 2001 10:50 AM
> > Subject: Re: help with package struts-classpath
> >
> > > Is This Better Jonathan !! Cheers Chuck
> > >
> > > Jonathan 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.