File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How Can I  config Javabean in weblogic5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How Can I  config Javabean in weblogic5.1" Watch "How Can I  config Javabean in weblogic5.1" New topic

How Can I config Javabean in weblogic5.1


Joined: Mar 21, 2001
Posts: 3
in weblogic5.1
I placed the javabean class in the myserver/serverclass/mypackage
,and use jsp to invoke it.<jsp:useBean id="RegisterBean" class="mypackage.connect_db"/>, when I first run this jsp, it works fine, but I run it again,error is:cannot instantiate 'mypackage.connect_db'
thanks for your help
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 log in with 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: How Can I config Javabean in weblogic5.1
It's not a secret anymore!