I have an sort of irrelant question: when several .jar
file specifies the same class, how should we determine which
.jar file is responsible for the class currently?

Just as we see, too much time has been spent on similar situation
like this one below.

Thanks a lot!
Huaxin

On Thu, 13 Sep 2001, Stadie wrote:

>       Sorry, you're right. Wasn't the servlet.jar, was the j2ee.jar !!
>       Thanx a lot.
>
> > Looks like you have an old copy of "servlet.jar" in your Java extensions
> > directory ($JAVA_HOME/jre/lib/ext).  Don't do that.
> >
> > Craig
> >
> >
> > On Thu, 13 Sep 2001, Stadie wrote:
> >
> > > Date: Thu, 13 Sep 2001 19:39:06 +0200
> > > From: Stadie <[EMAIL PROTECTED]>
> > > Reply-To: [EMAIL PROTECTED]
> > > To: [EMAIL PROTECTED]
> > > Subject: custom tag
> > >
> > > Hi,
> > > not easy to run custom tags with tomcat.
> > > I'm using jakarta-tomcat-4.0-rc1. By trying the example:
> > > http://localhost:8080/examples/jsp/simpletag/foo.jsp
> > > an error occurs.
> > > --- ERROR:
> > > A Servlet Exception Has Occurred
> > > org.apache.jasper.JasperException: Unable to compile class for JSP
> > >
> > > An error occurred at line: 15 in the jsp file: /jsp/simpletag/foo.jsp
> > >
> > > Generated servlet error:
> > > C:\tom40\work\localhost\examples\jsp\simpletag\foo$jsp.java:98: No
> > variable
> > > EVAL_BODY_AGAIN defined in interface javax.servlet.jsp.tagext.BodyTag.
> > >                           } while (_jspx_th_eg_foo_0.doAfterBody() ==
> > > javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
> > >
> > > --- END Error
> > >
> > > What is the problem, I'm trying around for several days just to run only
> > one
> > > custom tag. But nothing works.
> > >
> > > Thanx Peter
> > >
>

Reply via email to