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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Beans - " Watch "Java Beans - " New topic
Author

Java Beans -

Goldie
Greenhorn

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
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.
Bill

------------------
author of:
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"Goldie",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
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.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Beans -