Is there just the one JSP, or do you include any others? If you change a 'nested' JSP, sometimes it desn't get picked up and recompiled. You can delete the contents of your <tomcat_home>/working directory to force it to build it again.
Timothy Sam
Ranch Hand
Joined: Sep 18, 2005
Posts: 746
posted
0
Hi, I process my JSP like this...
JSP Input - > Process data/create sessions in servlet -> JSP get session/Disply
there is only one JSP involved in this process... If the code need be posted, I'd gladly do it. I just think it's too lengthy with the JSP. Thanks!
Timothy Sam
Ranch Hand
Joined: Sep 18, 2005
Posts: 746
posted
0
Hi, please consider this code...
My Servlet
My JSP page...
I really help someone could help me... I always have problems when casting a session to a primitive type like int or bool... Thanks!
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
posted
0
if ( errorFlag == true)
Here there definitely is a problem,.. Incompatible operands ( String and boolean) ??
Antonio Giovanni
Ranch Hand
Joined: Jun 27, 2005
Posts: 85
posted
0
I am sorry, before i wrote the complete thing i accidently clicked the Add Reply..
Anyway coming back to the problem, instead of if ( errorFlag == true) it should be
if(errorFlag.equalsIgnoreCase("true"))
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
posted
0
Given that the compiler error is on login.jsp I think it would be useful if you showed us login.jsp.