wood burning stoves 2.0*
The moose likes Servlets and the fly likes problem using JavaBeans in Jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem using JavaBeans in Jsp" Watch "problem using JavaBeans in Jsp" New topic
Author

problem using JavaBeans in Jsp

Mohamed AshrafM
Greenhorn

Joined: May 22, 2001
Posts: 5
when ever i run the jsp in j2ee server, i get the following error
error 1
Unhandled error! You might want to consider having an error page to report such errors more gracefully
javax.servlet.ServletException: null
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)

error 2
unable to load class contact(this is classname)
remove my gloom please
thanx in advance,
regards
Mohamed Ashraf.M
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
For problem 1 - define an error page and have it dump a stack trace.
For problem 2 - the most common causes are:
a. class file in the wrong place
b. failure to give the complete package in the class attribute of your <jsp:useBean tag
Bill

------------------
author of:
 
 
subject: problem using JavaBeans in Jsp