Saturday, May 31, 2014

Netbeans won't parse Expression Language in a JSP page
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Hi, i've this code
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































PHP Code:










































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































<%@ taglib prefix="c" uri="http://ift.tt/QfKAz6" %>
<%@page import="Javabean.Articolo"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>

<%

String nome="porcodio";
%>

<div> ${nome}</div>

</body>
</html>








































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































I'm using Netbeans with glassfish server 4. When i try to launche the web page, i see that "nome" is not printed... Why?































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































My older projects that uses EL, still works fine, while this wont' parse the syntax... why??






























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































No comments:

Post a Comment