|
Thanks Sarah. I did not realize that. Good information to have! -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Sarah Poger Gladstone Sent: Friday, October 06, 2006 5:31 PM To: Web Enabling the AS400 / iSeries Subject: Re: [WEB400] JTOPEN and Tomcat Shannon- Anything you add to the workers.properties classpath will be picked up by all contexts running under Tomcat. Anything you add to /contextname/WEB-INF/lib/ will only be picked up by that one context. -Sarah On 10/6/06, Jake M <jakeroc@xxxxxxxxx> wrote:
Shannon, You need to make sure that jt400.jar is placed in the WEB-INF/'lib'
folder.
HTH, Jake. On 10/6/06, Shannon O'Donnell <shannon.odonnell@xxxxxxxxxxxxxx> wrote:I would like to use some of the AS/400 specific classes in JTOPEN (jt400.jar) in my java server pages. Where would I define the
classpath
to the jar file(s) on my iSeries so that Tomcat will be able to
compile
the jsp's and I can use them? For example, my JSP might look like this: %@page import="com.ibm.as400.access.AS400JDBCDriver" %
<mailto:%25@page%20import=%22com.ibm.as400.access.AS400JDBCDriver%22%25>
DriverManager.registerDriver(new com.ibm.as400.access.AS400JDBCDriver()); Where would I define and/or point the classpath so tomcat can find
the
jar file the as400jdbcdriver lives in? Thanks, Shannon O'Donnell -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.-- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.