| Author |
need to invoke EL expression.
|
Vanchi Nathan
Ranch Hand
Joined: Feb 24, 2004
Posts: 107
|
|
Hi all, 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. please help. Jsp code: 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.. vanchin
|
Best regards,<br /> <br />vanchin
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
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 <c ut>.
|
Merrill
Consultant, Sima Solutions
|
 |
nick kevin
Greenhorn
Joined: Nov 26, 2006
Posts: 6
|
|
you can try: <%@ page pageEncoding="UTF-8" isELIgnore="false" %>
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: need to invoke EL expression.
|
|
|