aspose file tools*
The moose likes Servlets and the fly likes Java Beans - Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Beans - " Watch "Java Beans - " New topic

Java Beans -


Joined: Dec 28, 2000
Posts: 11
Hi ,
I have a bean named testBean in the classpath directory when I try to run that bean it gives me an internal servlet error, where as when I move that same bean to foo directory and call it using foo.testBean, it runs fine. could someone explain it. Since This was my first bean, so the question will seem little stupid.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12671
Is the bean in the foo package?
Show the code you use to try to instantiate the bean.
And, MOST important - what is the error reported? Your servlet engine should be logging errors somewhere.

author of:

Java Resources at
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Java Beans -
Similar Threads
servlet/jsp not running in tomcat
"package does not exist" message in servlet
Error in Calling Bean from JSP
Status 405 - HTTP method GET is not supported by this URL
Accessing Bean