Hi Ess,
in order to enable interpretation JSP 2.0 EL expressions, you need to switch your webapp to JSP 2.0. This is done in web.xml by replacing the starting
<web-app>
tag by this syntax:
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
After this, restart tomcat, then your web app should be recognized as JSP 2.0 and the command interpretation should work!
regards,
Thilo
Hello,
I see some of the examples shipped with 5.0.25 tomcat contains ${} embedded jsp commands, as below:
<tr> <td>\${1}</td> <td>${1}</td> </tr> <tr> <td>\${1 + 2}</td> <td>${1 + 2}</td> </tr> <tr> <td>\${1.2 + 2.3}</td> <td>${1.2 + 2.3}</td> </tr>
However, as I create a new tomcat application directory (Es. /myexamples) and try to use the same jsp syntax I only get symple html output, without ${} command interpretation.
Does someone know the reason? Is it some directive missing in web.xml file?
Thanks and best regards Stefano
_________________________________________________________________
Filtri antispamming e antivirus per la tua casella di posta http://www.msn.it/msn/hotmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]