Ho scritto questo file hello.jsp:

codice:
<html>
	<head><title>Hello :: Spring Application</title></head>
	<body>
		<h1>Hello - Spring Application</h1>
		

Greetings, it is now ${1 +2 } /></p>
	</body>
</html>
Quando avvio il file con Tomcat, l'espressione non viene espansa, mi viene stampato ${1 +2} letteralmente. Se utilizzo invece un'espressione del tipo:

codice:
<html>
	<head><title>Hello :: Spring Application</title></head>
	<body>
		<h1>Hello - Spring Application</h1>
		

Greetings, <%String name = "Paolo";%> <%=name%> /></p>
	</body>
</html>
la stringa Paolo viene stampata correttamente. Perchè? Eppure nei file jsp d'esempio di Tomcat, le espressioni scritte con l'operatore $ vengono valutate correttamente. grazie a tutti in anticipo.