equal « Bean « JSP-Servlet Q&A





1. jsp bean problem, equal not working on strings    coderanch.com

here is what I have: <%@ page import = "UserLogin" %> <%= c.getDescription() %>
<% String temp = c.getLevel(); %> <% out.println(temp); %> <% if (temp == "admin" ) { %> equal <% } else { %> not equal <% } %> Now why when temp equal "admin" why does the not equal part of the ...

2. Servlet equivalent to     coderanch.com