Re: Cant compile my .java files to a class - is it a path issue --
Hi, My Web App Structure does look like that below and i have that declartion. Cheers Again. Calvin Yu wrote: >I'm not exactly sure what you're trying to do. If your web app >directory is C:\jakarta-tomcat-3.2.2\webapps, then your structure needs >to look like this: > >C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorldResources.properties >C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorld.java > >if you HelloWorld.java class has a package declaration of: > >package helloworld; > >Calvin > > >On 25 Jul 2001 12:10:25 +0100, Chuck Amadi wrote: > >>Hi , I have been posting this problem for a while now - sorry. Albeit i >>was on a role until i modified my Action Class. Thus or hell broke >>loose. I had got to the stage whereby i had exstablished a connection to >>PostgreSQL v6( though posted a bug on PostgreSQL v7.1- same code don't >>work) and created a jsp submit form, an jsp extraction database form & >>jsp select page . >>Nevertheless i have come to a ground halt due to my inquisitiveness . I >>have transfered my original classes files but on commencing again , hit >>the same hurdle. >> >>my path is >>C:\jarkarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes(package >>name)\.java file >> >>Thus do i have to implement a base dir above /WEB-INF/ -- example >>below -- >>/bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.prperties >>/bbnpa/helloworld/WEB-INF/classes/(package name)/.java file >> or >>As my path above without the base dir (helloworld) >>Note all my other jsp work with my current path set-up except i won't to >>utilise form beans instead of html/javascript pages so need to get this >>class issue sorted for the next level. >> >> >>Sorry 4 this long winded Q. Pls Help Cheers Chuck 8^{ >> >>-- >>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. >> >
Re: Cant compile my .java files to a class - is it a path issue --
I'm not exactly sure what you're trying to do. If your web app directory is C:\jakarta-tomcat-3.2.2\webapps, then your structure needs to look like this: C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorldResources.properties C:\jakarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes\helloworld\HelloWorld.java if you HelloWorld.java class has a package declaration of: package helloworld; Calvin On 25 Jul 2001 12:10:25 +0100, Chuck Amadi wrote: > Hi , I have been posting this problem for a while now - sorry. Albeit i > was on a role until i modified my Action Class. Thus or hell broke > loose. I had got to the stage whereby i had exstablished a connection to > PostgreSQL v6( though posted a bug on PostgreSQL v7.1- same code don't > work) and created a jsp submit form, an jsp extraction database form & > jsp select page . > Nevertheless i have come to a ground halt due to my inquisitiveness . I > have transfered my original classes files but on commencing again , hit > the same hurdle. > > my path is > C:\jarkarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes(package > name)\.java file > > Thus do i have to implement a base dir above /WEB-INF/ -- example > below -- > /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.prperties > /bbnpa/helloworld/WEB-INF/classes/(package name)/.java file >or > As my path above without the base dir (helloworld) > Note all my other jsp work with my current path set-up except i won't to > utilise form beans instead of html/javascript pages so need to get this > class issue sorted for the next level. > > > Sorry 4 this long winded Q. Pls Help Cheers Chuck 8^{ > > -- > 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.
Cant compile my .java files to a class - is it a path issue --
Hi , I have been posting this problem for a while now - sorry. Albeit i was on a role until i modified my Action Class. Thus or hell broke loose. I had got to the stage whereby i had exstablished a connection to PostgreSQL v6( though posted a bug on PostgreSQL v7.1- same code don't work) and created a jsp submit form, an jsp extraction database form & jsp select page . Nevertheless i have come to a ground halt due to my inquisitiveness . I have transfered my original classes files but on commencing again , hit the same hurdle. my path is C:\jarkarta-tomcat-3.2.2\webapps\bbnpa\WEB-INF\classes(package name)\.java file Thus do i have to implement a base dir above /WEB-INF/ -- example below -- /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.prperties /bbnpa/helloworld/WEB-INF/classes/(package name)/.java file or As my path above without the base dir (helloworld) Note all my other jsp work with my current path set-up except i won't to utilise form beans instead of html/javascript pages so need to get this class issue sorted for the next level. Sorry 4 this long winded Q. Pls Help Cheers Chuck 8^{ -- 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.