RE: Placement of jars for JSP
Title: RE: Placement of jars for JSP Well, if you point out your tld from your web.xml file like: taglib taglib-uridatabase-taglib/taglib-uri taglib-location/WEB-INF/database.tld/taglib-location /taglib you can have your taglib.tld in your WEB-INF directory. You can have the classes used by the taglib in your /WEB-INF/classes/ if you want. WR -Original Message- From: Aaron Scott-Boddendijk [mailto:[EMAIL PROTECTED]] Sent: den 3 november 2000 04:03 To: Orion-Interest Subject: Re: Placement of jars for JSP You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Ok that's working - can the taglib-location be a folder rather than a jar to test without rebuilding the jar each time... EG place the tag-location refering to the top of our package hierarchy and add a META-INF folder with the relevent taglib/tag info... I've tried it with no luck - is there a way for this to work? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
RE: Placement of jars for JSP
You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Scott-Boddendijk Sent: Friday, November 03, 2000 11:44 AM To: Orion-Interest Subject: Placement of jars for JSP I've done the JSP tutorials for making a taglib. Easy... Worked first time... Modified it to accept a parameter to query a database (ORACLE) to verify that the data-source... relatively easy - some path hiccups locating libraries... all sorted. but... I'd like to avoid the rebuilding and copying of the jar file each time to test. 1. Can a JSP be directed to a class tree (folder structure with a meta-inf folder) rather than a .jar. 2. if not can the jar be placed elsewhere than in the folder with the .jsp file itself. eg a classes folder in the web-inf folder? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
Re: Placement of jars for JSP
You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Ok that's working - can the taglib-location be a folder rather than a jar to test without rebuilding the jar each time... EG place the tag-location refering to the top of our package hierarchy and add a META-INF folder with the relevent taglib/tag info... I've tried it with no luck - is there a way for this to work? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
RE: Placement of jars for JSP
I don't see why not, but if you use a build tool (eg Ant) it's probably just as easy to build a JAR? Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Scott-Boddendijk Sent: Friday, November 03, 2000 2:03 PM To: Orion-Interest Subject: Re: Placement of jars for JSP You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Ok that's working - can the taglib-location be a folder rather than a jar to test without rebuilding the jar each time... EG place the tag-location refering to the top of our package hierarchy and add a META-INF folder with the relevent taglib/tag info... I've tried it with no luck - is there a way for this to work? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax
Re: Placement of jars for JSP
I have been doing it that way for quite a while. Heres the taglib declaration from my web.xml: taglib taglib-uriwww.itsit.de/webcomponents/taglibs/wcf01.tld/taglib-uri taglib-location/META-INF/taglib.tld/taglib-location /taglib -Original Message- From: Aaron Scott-Boddendijk [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Date: Freitag, 3. November 2000 05:54 Subject: Re: Placement of jars for JSP You can place the JAR anywhere - orion will automatically detect it has changed when you recompile / rejar, and it will load the new driver. Just change the location with the taglib-location attribute in web.xml. Ok that's working - can the taglib-location be a folder rather than a jar to test without rebuilding the jar each time... EG place the tag-location refering to the top of our package hierarchy and add a META-INF folder with the relevent taglib/tag info... I've tried it with no luck - is there a way for this to work? -- Aaron Scott-Boddendijk INTAZ Limited +64 7 838 3371 Voice +64 7 838 3372 Fax