1 Reply Latest reply on Feb 10, 2009 7:11 PM by peterj

    JSP does not display properly

      this code in JSP doesn't work in jboss-5.0.0.GA-jdk6

      <%@ page import="java.text.DecimalFormat" %>
      <%DecimalFormat df = new DecimalFormat("0.00");%>
      <%=df.format(2d/0d)%>

      it shows only empty page, no exceptions

      page must contain ? (question mark), but it's empty and if it has other content on page, then it is lost too

      can you explain why?