Why the JavaBeans created with JBuilder can't be found by Solaris JWS?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Why the JavaBeans created with JBuilder can't be found by Solaris JWS?

  1. #1
    FRANKLIN SHEN Guest

    Why the JavaBeans created with JBuilder can't be found by Solaris JWS?


    Dear folks,

    I have made several JavaBeans in WinNT environment with JBuilder 3.5, and
    then I copied it into Solaris directoy and use Java Server Page to use it,
    just as:

    <jsp:useBean id="jdbc_bean" scope="application" class="HttpJDBCBean" />

    but, the JWS just can't find it? It response as:

    Class: HttpJDBCBean not found.

    Who can kindly tell me why?

    Truly,
    Franklin Shen




  2. #2
    tagreid Guest

    Re: Why the JavaBeans created with JBuilder can't be found by Solaris JWS?


    Franklin,

    You need to put the page directive up at the top of the page:

    <%@ page import="HttpJDBCBean" session="true" %>

    That should get it to work.

    Reid
    tagreid@hotmail.com


    "FRANKLIN SHEN" <shenfranklin@hotmail.com> wrote:
    >
    >Dear folks,
    >
    >I have made several JavaBeans in WinNT environment with JBuilder 3.5, and
    >then I copied it into Solaris directoy and use Java Server Page to use it,
    >just as:
    >
    > <jsp:useBean id="jdbc_bean" scope="application" class="HttpJDBCBean" />
    >
    >but, the JWS just can't find it? It response as:
    >
    >Class: HttpJDBCBean not found.
    >
    >Who can kindly tell me why?
    >
    >Truly,
    >Franklin Shen
    >
    >
    >



  3. #3
    Franklin Shen Guest

    Re: Why the JavaBeans created with JBuilder can't be found by Solaris JWS?


    Dear Reid,

    Thank you for the post. But in my jsp files i had those lines already. I
    tried later and find the actual problem is I had no system administrator
    authorities just like a "root" role. So with the help from our system administrator
    I can really made the JWP admit my JavaBean and run my JSP.

    Anyway, thank you very much!

    Best!
    Franklin Shen


    "tagreid" <tagreid@hotmail.com> wrote:
    >
    >Franklin,
    >
    >You need to put the page directive up at the top of the page:
    >
    ><%@ page import="HttpJDBCBean" session="true" %>
    >
    >That should get it to work.
    >
    >Reid
    >tagreid@hotmail.com
    >
    >
    >"FRANKLIN SHEN" <shenfranklin@hotmail.com> wrote:
    >>
    >>Dear folks,
    >>
    >>I have made several JavaBeans in WinNT environment with JBuilder 3.5, and
    >>then I copied it into Solaris directoy and use Java Server Page to use

    it,
    >>just as:
    >>
    >> <jsp:useBean id="jdbc_bean" scope="application" class="HttpJDBCBean" />
    >>
    >>but, the JWS just can't find it? It response as:
    >>
    >>Class: HttpJDBCBean not found.
    >>
    >>Who can kindly tell me why?
    >>
    >>Truly,
    >>Franklin Shen
    >>
    >>
    >>

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center