Skip to content
Advertisement

Tag: jstl

Including JSTL implementation jar only

Following this answer, below is a simple JSP demo that includes only JSTL implementation jar(javax.servlet.jsp.jstl-1.2.1.jar), but not JSTL API jar(javax.servlet.jsp.jstl-api-1.2.1.jar), My understanding is, JSTL implementation jar holds both API(mostly Java interfaces) and it’s implementation. This is the reason test.jsp got compiled and executed successfully. Further, same approach would work with servlets using API implementation jar provided by Tomcat container without

ClassNotFoundException oracle.i18n.util.LocaleMapper on tomcat TLD scanning. ojdbc7 maven dep (xmlparserv2-12.1.0.2.jar transitive) causes this error

I am receiving an error when running my spring-boot application with embedded-tomcat (haven’t tried with server tomcat yet). On further inspection, It appears as though the previous version of the orai18n.jar depended on by the ojdbc7 maven dep contained this class in vesion 11.2.0.3 but the newer (12.1.0.2) file does not contain it. Answer It’s a conflict with xmlparserv2. Try

JSP / JSTL causes NoClassDefFound error for TagSupport

This problem has been driving me mad for several weeks now and I suspect that the resolution, once I find it, will be simple. I have looked at every relevant answer I can find in StackOverflow but haven’t managed to resolve it, so I am hopeful that someone will be able to help me. I have re-created the problem in

Changing value of <c:set jstl tag

I am using the following expression on my jsp I have a condition inside a for each loop where I might want to change this variable to true. Is there a way to do this. I’ve looked everywhere but unable to find a solution. Answer Here is the sample code you are looking for:

Advertisement