Hi
Put your hardware in classes dir of the webserver
ie
\jakarta-tomcat\webapps\ROOT\WEB-INF\classes
Hope this Help You
At 05:00 PM 22/08/2000 +0700, you wrote:
>hi all.. i'm having difficulties with loading class..
>please help :)
>
>in myclasspath i have
>c:\;c:\jdk1.2.2\lib;c:\myjava;
>
>I have directory c:\myjava\hardware
>and inside the hardware directory i have Harddisk.java
>and i already stated inside it: package hardware;
>compile it, and to test it, i make a new java file to test it by
>importing from hardware.Harddisk, make a new instance of Harddisk
>and so far no error..
>
>but when it comes to jsp, it error..this is the jsp script i make :
><%@ page import="hardware.*" %>
><%@ page errorPage="etc/error.jsp" %>
>
><jsp:useBean id="mybean" scope="page" class="hardware.Harddisk" />
>
>and the error msg from servlet engine is :
>javax.servlet.ServletException: Could not load class
>'hardware.Harddisk'. Class was not found.
>
>is there anything i miss?
>i'm using Windows NT, Jrun 2.3.3.
>
>TIA.
>
>-
>Best regards,
> d10n mailto:[EMAIL PROTECTED]
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
Regards :-)
Kanojia Jogesh(Senior Web Developer)
IG Technologies Ltd,Mumbai
We are in Web Development and B2B and B2C Solution provider
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets