.. on the way to the forum (oh wait)....

..I mean when I recompiled all of my classes into using a package.  For
example..

package myPackage;
..

I then made a jar (myStuff.jar) that looked like this:

myPackage/servlet1.class
...
myPackage/singleton100.class

Then, I put myStuff.jar into ../WEB-INF/lib

Last, I modified the page import directive on each jsp page as follows:

<%@ page import="myPackage.*, java.text.*" errorPage="error.jsp" %>

Actually, this works just fine when using Resin 1.2.1  When I moved my app
to a tomcat 3.2 server, I get this weird error: "Cannot create bean of class
UserBean"
What is the problem?

-Chris Murphy


      Chris Murphy
OTS Information Systems
       OTS-WEST
      (916) 939-5868
         MS: 4050

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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