Check your start up script to make sure that the classes are in your
classpath.

-----Original Message-----
From: Xunming Liu [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2000 11:18
To: [EMAIL PROTECTED]
Subject: Re: ASKING FOR HELP: Unhandled error!


Hi :

I met the very similar problem as you.  When I rename the example , compile
the
java file and run the jsp, the machine always told me it can not find the
class.

Now I will give up the jsp and try to use servlet directly.

I don't know  if any one can help me?

Xunming


wildwolf horse wrote:

> Hi there:
>
> I am using SDK1.2.2 and JSWDK1.0.1.
>
> I met a strange problem of Unhandled error! It is said
> it can not find my *.class. Any one can help me?
>
> Thanks a lot.
>
> Smart
>
> I put my *.jsp and *.html in
>
> C:\jswdk-1.0.1\Webapp\jsp\testOne\
>
> I put my *.java and *.class in
> C:\jswdk-1.0.1\Webapp\Web-inf\jsp\beans\testOne\
>  Actually i just copy the errrorpage example of
> JSWDK1.0.1 and only change the name.
>
> The *.jsp page  like this:
>
> <%@ page import="testOne.Golf"
> errorPage="errorpge.jsp" %>
> <jsp:useBean id="test" scope="request"
> class="testOne.Golf" />
> <%
> String name = null;
>
>                 if (request.getParameter("name") ==
> null) {
> %>
> <%@ include file="/jsp/testOne/golferror.html" %>
> <%
> } else {
> test.setName(request.getParameter("name"));
> if (test.getName().equalsIgnoreCase("integra"))
>
> name = "acura";
> if (name.equalsIgnoreCase("acura")) {
> %>
> <H1> Yes!!! <a href="http://www.acura.com">Acura</a>
> is my favorite car.
> <%
>                   }
>                 }
> %>
> </body>
> </html>
>
> my Golf.java is ( I use javac Golf.java to create the
> class)
>
> ******************
> package testOne;
>
> import java.io.*;
> import java.lang.*;
>
> public class Golf {
>
>   String name = "";
>   public String getName () {
>         return name;
>   }
>
>   public void setName (String name) {
>         this.name = name;
>   }
>
>  }
> **********************************
>
> __________________________________________________
> Do You Yahoo!?
> Send online invitations with Yahoo! Invites.
> http://invites.yahoo.com
>
>
===========================================================================
> 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

===========================================================================
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

===========================================================================
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

Reply via email to