• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

can't find information in property"access" in a bean of type 'ministry.LoginBeans'

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this is my form

where my datas supposed to come from

then this is my bean class

this is my jsp page

then this is the error i got when try to access the database using the bean class
please can anybody inhabitant of this farm tell me what is really wrong with the code,
because i am at the cross road, don't do where to enter now.
thanks
joeidee
 
Ranch Hand
Posts: 317
Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is the error?
 
joseph okon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry here is the error i got
 
joseph okon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
somebody should do me a favor in solving my problem
thanks
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

<%@ page import="ministry.LoginBeans.*" %>



Do you have such a package or is LoginBeans a class?

<jsp:useBean id="myBean" class="ministry.LoginBeans" scope="session" />



In the code you have posted the class name is LoginBean (no 's'). So what is it actually?

Besides your code is incomplete. The authenticate() method for example does not make sense. I hope it is because it is work in progress.

cheers,
ram.
 
joseph okon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
my work was in work progress, but i saw the problem. i am using netbeans to write my code, and am new to it, so using it to compile my code is an issue!!!
i had to compiled it using command prompt.
thanks
i have to get to know how to use netbeans to compile java files into their respective packages.
thanks
 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic