You may need to change the import directives in the JSP pages to reference
the new beans. E.g.:
<%@ page import='com.taglib.wdjsp.arch.FetchDatasetServlet' %>

Or whatever the path is.

Tom

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Norris, Michael
> Sent: Wednesday, May 31, 2000 5:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: trying to mimic example in chapter 8 of Fields&Kolb book
>
>
> Did you check the package directive at the top of the source?
>
> > ----------
> > From:         John Cartwright[SMTP:[EMAIL PROTECTED]]
> > Reply To:     A mailing list about Java Server Pages specification and
> > reference
> > Sent:         Wednesday, May 31, 2000 2:54 PM
> > To:   [EMAIL PROTECTED]
> > Subject:      trying to mimic example in chapter 8 of Fields&Kolb book
> >
> > Hello,
> >
> > I am very much enjoying this book, but am now trying to very slightly
> > modify the employee example in chapter 8 for my own purposes.  Running
> > tomcat 3.1 installed the examples as "webdev".
> > /webdev/fundamentals/helloBean.jsp seems to work just fine.
> >
> > I duplicated the list.jsp and employee.jsp as listDataset.jsp and
> > dataset.jsp respectively, modifying them to reference my new beans.
> >
> > Similarly, I modified EmployeeBean.java and FetchDatasetServlet.java as
> > DatasetBean.java and FetchDatasetServlet.java in
> > webdev/WEB-INF/classes/com/taglib/wdjsp/arch.  They compile fine.
> >
> > However, when I try to access my jsp pages, it complains that the
> > DatasetBean class is not found.  Partial error message below.  Any
> > Suggestions would be greatly appreciated!
> >
> > Thanks!
> >
> > --john
> >
> >
> >
> >
> >
> > Internal Servlet Error:
> >
> > org.apache.jasper.JasperException: Unable to compile class for
> >
> JSP/usr/local/jakarta-tomcat/work/localhost_8080%2Fwebdev/_0002farch_0002f
> > listDataset_0002ejsplistDataset_jsp_0.java:64:
> > Class com.taglib.wdjsp.arch.DatasetBean not found.
> >
> >
> >
> >
> >
> ==========================================================================
> > =====
> > John Cartwright
> > Professional Research Assistant / Associate Scientist
> > CIRES, SEG/NGDC/NOAA
> > (303) 497-6284
> > [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
> >
>
> ==================================================================
> =========
> 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