This week's book giveaway is in the Java in General forum. We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line! See this thread for details.
I think I would write the above qouted statement like this:
I tried it like this ,
with JSP code as ,
But field invalidated whether you select 'paypal' or 'authorize' , the right part of Boolean statement , like (*this* != null) , this works but not the first part , paymentOption == "authorize" , What seems to be problem here , I declared it as a String , Cant we match string like this ?
Originally posted by Ove Lindstr�m:
One of the "secrets" is to use the label attribute of the field you are validating.
What do you mean by label attribute ? [ September 03, 2008: Message edited by: Sagar Rohankar ]