I am using Struts 1.3.8 and want to use EL expression in my Jsp page. The application is using a bean "code.AddressForm" and action "code.AddressAction" which are defined in struts-config.xml file. The problem is that when i want to use EL it displays the expression itself. I dont know what is missing, but struts bean tag displays the bean property.
The output is:
The lib folder contains the following jar files: jstl.jar struts-core-1.3.8.jar struts-taglib-1.3.8.jar struts-tiles-1.3.8.jar antlr-2.7.2.jar oro-2.0.8.jar
thanks in advance..
Best regards,<br /> <br />vanchin
Joined: Feb 15, 2005
I suspect the problem here is that you've declared your project as a Servlet 1.3 project instead of a Servlet 1.4 project. You can verify whether or not this is the case by looking at the DTD reference in your web.xml file.
In a Servlet 1.3 project, EL expressions are not allowed except inside JSTL tags such as <cut>.