wood burning stoves*
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 Spring in Action 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
Author

How Can I config Javabean in weblogic5.1

hero
Greenhorn

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
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"hero",
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 log in with 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: How Can I config Javabean in weblogic5.1