Hi,
        I have the following problem :

The expression :

 <%= inputparams.getAreatype().equals("Nativeforest")?"Checked" : "Notchecked" %>

compiles OK but crashes the JSP

BUT

<%= "Nativeforest".equals(inputparams.getAreatype())?"Checked" : "Notchecked" %>

works OK !

Any suggestions?

Peter

===========================================================================
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