I'm currently doing upgrade of our codes to the latest version. However, after migration, JSTL tags are working fine but our custom tag (struts-el) is not working anymore. The root cause is that the EL has been evaluated twice since EL is now enabled by default based on the latest version of web container and JSP.
I tried to set the web.xml with the codes below. The custom tags are working but the JSTL fails.
Question: Is there a way to resolve this issue without disabling the el evaluation of the web container so that JSTL will still work? Is it possible to migrate struts-el to regular struts?
Web Container: From 2.3 to 2.5.
JSP: From 1.2 to 2.1.
JSTL: From 1.0.3 to 1.2.
posted 4 years ago
All that should be necessary is to change the URI of the taglib you are using from the EL tag library to the standard tag library distributed with struts.
This should just involve deleting "-el" from the end of the uri