wood burning stoves
The moose likes JSP and the fly likes problem with jsp page and java bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem with jsp page and java bean " Watch "problem with jsp page and java bean " New topic

problem with jsp page and java bean

albert sie
Ranch Hand

Joined: Jan 15, 2006
Posts: 108
here is my jsp page:

this is my bean file:

This is my error message:
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 6 in the jsp file: /process2.jsp
Generated servlet error:
The method validate() is undefined for the type Login


root cause

i solve this problem for several day already still cannot get it... any one expert here can help me oversee where is my error
thank you...


JAVA the only can called technology
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62127

The method validate() is undefined for the type Login

That pretty much says it all.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

compiler suggestion:
use authenticate method instead of validate or defined this inside Login bean in order to give you response

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
subject: problem with jsp page and java bean