*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem with jsp page and java bean " Watch "problem with jsp page and java bean " New topic
Author

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


org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

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...

regards,
albert


JAVA the only can called technology
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

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


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with jsp page and java bean
 
Similar Threads
What is the problem with this code!!!
JSP validation
creating a Loginpage.jsp in JSP with LOGIN id and Password.
problem with JSP
bean error