RE: Problems with CSS and TEMPLATE !!
Hi Chuck, You shouldn't have to add your webapp to the classpath under Tomcat. So you might have some other setup config issue. Have you added your tlds taglib defs into your web.xml ? -Original Message- From: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sent: 07 June 2001 11:22 To: Petr Jiricka; [EMAIL PROTECTED]; Craig R. McClanahan Subject: Problems with CSS and TEMPLATE !! Hi , I have utilised my Companies Cascade Style Sheet .(struts-bbnpa is the name of My Application ). My classpath is as follows /webapps/struts-bbnpa/WEB-INF/index.jsp - Thus classpath for css is as follows /webapps/struts-templates/css/bbnpa.css. I have included the - %@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' % I have also included link rel=stylesheet href="css/bbnpa.css charset=ISO-8859-1 type=text/css within my index.jsp but i am recieving the following. Any pointers as i am about to reach a project benchmark. Cheers All.;^} Error: 500 Location: /struts-bbnpa/index.jsp Internal Servlet Error: org.apache.jasper.compiler.CompileException: C:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\index.jsp(6,0) Unable to open taglibrary /WEB-INF/tlds/template.tld : C:\jakarta-tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\tlds\template.tld (The system cannot find the path specified) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:713) -- 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: Problems with CSS and TEMPLATE !!
Hi this is what's in my xml file beaneath /webapps/struts-bbnpa(myapp)/WEB-INF/xml taglib> taglib-uri>/WEB-INF/struts-template.tld/taglib-uri> taglib-location>/WEB-INF/struts-template.tld/taglib-location> /taglib> "Jon.Ridgway" 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 [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 dilwch bob copi.
Re: Problems with CSS and TEMPLATE !!
Hi "Jon.Ridgway" going back to my set-up - tomcat3.2.1/webapps/struts-bbnpa/ Thus my jsp, taglibs and struts-framework etc should be under webapps and not struts-bbnpa. Please not that i had to deploy 6* struts-war files in C:\jarkarta-tomcat-3.2.1\webapps\and then re-start tomcat thus i renamed the struts-blank to struts-bbnpa ( bbnpa- abbreviation of my company).So basically everthing in my struts-bbnpa should be in technicaly webapps including all the taglib's and exspecially the struts details. If so uh oh. please confirm and direct as a don't fancy later into the projects having config problems . Cheers chuck. -- 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 dilwch bob copi.
Re: Problems with CSS and TEMPLATE !!
This doesn't seem to match what was given in the other message. I believe the other cited a /tlds/ folder. Chuck Amadi wrote: Hi this is what's in my xml file beaneath /webapps/struts-bbnpa(myapp)/WEB-INF/xml taglib taglib-uri/WEB-INF/struts-template.tld/taglib-uri taglib-location/WEB-INF/struts-template.tld/taglib-location /taglib Jon.Ridgway wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable
Re: Problems with CSS and TEMPLATE !!
Sorry i amended the xml Ted Husted wrote: This doesn't seem to match what was given in the other message. I believe the other cited a /tlds/ folder. Chuck Amadi wrote: Hi this is what's in my xml file beaneath /webapps/struts-bbnpa(myapp)/WEB-INF/xml taglib taglib-uri/WEB-INF/struts-template.tld/taglib-uri taglib-location/WEB-INF/struts-template.tld/taglib-location /taglib Jon.Ridgway wrote: Part 1.1Type: 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 [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.