• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How Can I config Javabean in weblogic5.1

 
hero
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic