This is probably because Resin allows the use of .jar files (Java
Application aRchive), whereas Tomcat adheres more strictly to the formal
servlet specifications which disallow the use of .jar files.

Instead or .jar files, you will need to use .war files (Web Application
aRchive).  Check out the Servlet Specification v2.2 for more info on .war
files.

- Brad Wilson
BT Web Enterprises.
+61 8 8244 7760

----- Original Message -----
From: "Murphy, Chris (OTS-EDH)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 22, 2000 8:25 AM
Subject: Funny thing happened to me ...


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

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