How to use useBean

Discussions

EJB programming & troubleshooting: How to use useBean

  1. How to use useBean (3 messages)



    Hi ,

    i'am doing a project related to ejb and jsp with weblogic 5.1 ,when i'am calling a bean in jsp file using useBean tag,i'am getting the error ClassNotFoundException

    pl can u tell me where to place the class file of bean
    (i tested the class files in weblogic\classes,weblogic\myserver\servletclasses,serverclasses)

    BITTU

    Threaded Messages (3)

  2. How to use useBean[ Go to top ]

    Hi,
      Make sure you have given the package name.It's better to give a constructor for you bena implementation.You can store the bean in Classes Dir.
    Regards .
  3. How to use useBean[ Go to top ]



    Thanx yogesh for ur reply .
    Yah in bean impl i used constructor,and accesing the class with package aslo, still facing the same problem

    regards
    BITTU
  4. How to use useBean[ Go to top ]

    Try to put the bean in the global classpath.
    Be careful with the different class loaders