Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error

----------------------------------------------------------------------------
----

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: class
com.<company_name>.javaBeans.MerchandiseBean :
java.lang.NullPointerException
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java, Compiled Code)
        at org.apache.jsp.validate$jsp._jspService(validate$jsp.java, Compiled
Code)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java, Compiled
Code)
<jsp:useBean id="merchandise" scope="application"
class="com.<company_name>.javaBeans.MerchandiseBean"/>----- Original
Message -----
From: "Barney Hamish" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 1:47 PM
Subject: RE: JSP fine but no Java.


> What is the actual error message being displayed?
> Can you send an example of the the <jsp:useBean> tag you're using and then
> the use of that bean?
> It's hard to diagnose the problem without more specific information.
> Hamish
>
> > -----Original Message-----
> > From: Andoni [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 16, 2003 2:37 PM
> > To: Tomcat Users List
> > Subject: Re: JSP fine but no Java.
> >
> >
> > The classfiles are in the right place.  That tag is what's being used.
> >
> > Andoni.
> > ----- Original Message -----
> > From: "Barney Hamish" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Thursday, January 16, 2003 1:20 PM
> > Subject: RE: JSP fine but no Java.
> >
> >
> > > Are the class files you're trying to use in your /WEB-INF/classes/
> > directory
> > > or in a jar in your /WEB-INF/lib/ directory?
> > > Have you tried using the <jsp:useBean> tag?
> > >
> > > > -----Original Message-----
> > > > From: Andoni [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, January 16, 2003 2:12 PM
> > > > To: Tomcat Users List
> > > > Subject: JSP fine but no Java.
> > > >
> > > >
> > > > Hello,
> > > >
> > > > I am having a really annoying problem that I hope somebody
> > > > can help me with.
> > > >
> > > > My tomcat will run .jsp files fine and process them perfectly
> > > > but will not
> > > > even consider using a .class file.
> > > >
> > > > My app has jsps with javabeans linked in through tags in the
> > > > .jsp files.  In
> > > > fact any java code in the .jsp files seems to work fine until
> > > > a java class
> > > > needs to be called.
> > > >
> > > > Please help as I haven't got much hair left from pulling
> > it all out ;)
> > > >
> > > > Regards
> > > >
> > > > Andoni.
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to