Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to compare the characher to character in jsp?

843840Aug 16 2007 — edited Aug 16 2007
<%
initial='A';
if(initial.equals('A'))
-------------------
%>

plz tell me the above code is right or wrong.
if wrong, plz tell me other way
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2007
Added on Aug 16 2007
1 comment
233 views