Hi all Using jdk1.3.0_02 on Windows 2000. *all code has been posted as plain text at http://ariel.mit-misys.com/javaranch for the sake of keeping this post short and clean* When I call the following code logon.revalidate(strId); from revalidate.jsp, the compiler complains as follows: "Method revalidate (java.lang.String) not found in class ariel.LogonBean" and also "Method getRevalidationError (java.lang.String) not found in class ariel.LogonBean" when it hits the code if (logon.getRevalidationError() == true) However, when I call the following code from signon.jsp, all works fine: signon.validate(un, pw). I point out this fact simply to show that the classpath must be correct, as both JSP files use the same bean - ariel.LogonBean. Could anyone please help? Many thanks. Clive
Clive van Hilten
Greenhorn
Joined: Feb 13, 2002
Posts: 18
posted
0
Hello, anybody out there? Please, any replies?? Clive
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted
0
Hello Clive, I took a look at your code a few days ago. I haven't commented because I couldn't identify any problems. It all seemed straight forward and probably correct. Perhaps someone over in the JSP forum would notice something. Give it the rest of the day here, then we'll move it to the JSP forum. Good Luck.
Originally posted by Dirk Schreckmann: Hello Clive, I took a look at your code a few days ago. I haven't commented because I couldn't identify any problems. It all seemed straight forward and probably correct. Perhaps someone over in the JSP forum would notice something. Give it the rest of the day here, then we'll move it to the JSP forum. Good Luck.
I second this ( although I am far from a JSP guru ). The only thing I could think of would be non-code related. Is there anyway that the program is finding an older version of the class somewhere else??
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted
0
As Jamie has suggested, I'd delete all class files and recompile everything, before we move this to JSP. So, still the same problem even after recompiling? [ April 25, 2002: Message edited by: Dirk Schreckmann ]
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
posted
0
Hopefully someone over in the JSP forum has a clue...
Brian Glodde
Ranch Hand
Joined: Jun 27, 2001
Posts: 171
posted
0
The first course of action is definitely to delete and recompile. Let us know the outcome.