|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] We created a WebApplication using WSAD 4.0.3 I have following applet-code in an html-file, loaded from within a servlet using following statement: getServletConfig().getServletContext().getRequestDispatcher("/ssi/Header.html").include(req, res); This is a piece of the header.html: <APPLET CODE="DropDownMenu.class" ARCHIVE="../WEB-INF/lib/DropDownMenu.jar" WIDTH="150" HEIGHT="30" style="font-size: 10px"> <param name="appletbgcolor" value="FFFFFF"> <PARAM NAME="menubgcolor" VALUE="ffffff"> <PARAM NAME="textcolor" VALUE="000000"> <PARAM NAME="audio" VALUE="../MultiMedia/drip.au"> <PARAM NAME="textfile" VALUE="../Information.txt"> <PARAM NAME="fontface" VALUE="Arial"> <PARAM NAME="fontstyle" VALUE="plain"> <PARAM NAME="fontbold" VALUE="off"> <PARAM NAME="fontsize" VALUE="12"> <PARAM NAME="reset" VALUE="on"> </APPLET> I have place the 'DropDownMenu.jar' in 'WebApplication/WEB-INF/lib/' en added the path to the 'classpath-file' of the application: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="var" path="SERVERJDK_PLUGINDIR/jre/lib/rt.jar" rootpath="src" sourcepath="SERVERJDK_PLUGINDIR/src.jar"/> <classpathentry kind="src" path="source"/> <classpathentry kind="var" path="WAS_PLUGINDIR/lib/j2ee.jar"/> <classpathentry kind="var" path="WAS_PLUGINDIR/lib/webcontainer.jar"/> <classpathentry kind="var" path="WAS_PLUGINDIR/lib/ivjejb35.jar"/> <classpathentry kind="var" path="WAS_PLUGINDIR/lib/websphere.jar"/> <classpathentry kind="lib" path="webApplication/WEB-INF/lib/clipper.jar"/> <classpathentry kind="lib" path="webApplication/WEB-INF/lib/jt400.jar"/> <classpathentry kind="lib" path="webApplication/WEB-INF/lib/DropDownMenu.jar"/> <classpathentry kind="output" path="webApplication\WEB-INF\classes"/> </classpath> I the editor all seems ok, but while executing, I get following error in console: snippet of console output: [9/9/02 16:49:05:923 CEST] 701c58a4 WebApp X SRVE0115E: Error occurred while invoking error reporter com.ibm.servlet.engine.webapp.WebAppErrorReport: Servlet Not Found: DropDownMenu.class at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispatcherResponse.java:85) at com.ibm.servlet.engine.webapp.InvokerServlet.service(InvokerServlet.java:289) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167) at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297) at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110) at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472) at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012) at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282) at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112) at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91) at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184) at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67) at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106) at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125) at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315) at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252) at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122) Any ideas why the class isn't found. " I don't have problems, only challenges... " Patrick Goovaerts WebMaster Clipper Support nv TEL : 0032 (0)3 5453991 GSM: 0498 610 325 WEB: www.conti7.be
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.