hi everyone: it seems to have difference among the following three code: <% if ( %> <jsp:getProperty name="hello" property="usename" /> <% != null ) { %> <% if ( hello.getusename() != null ) %> <% if ( request.getParameter("usename") != null ) %> the first doesnot work at all, the second is fine and the last cannot identifies "null". the last one always thinks "null" as "". thanks liu hao =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to