<init-param>
<param-name>errorOnUseBeanInvalidClassAttribute</param-name>
<param-value>false</param-value>
</init-param>
in the jsp declaration in TOMCAT_HOME/conf/server.xml if you want to use jsp:useBean with generics. For example:
<jsp:useBean id=”users” class=”java.util.ArrayList<UserVO>” scope=”request”/>
2) The ant compiler seems to be a lot more picky than Jasper. For example, I had a bunch of import statements on classes that didn’t exist in my classpath. Jasper has no issue with the issue and the pages ran fine w/ this import, but Ant reported these as errors whenever the page compiled. For this reason, I strongly recommend testing every page before deploying this to production environments.
I will continue posting new issues that I find on this Blog. If you have any that you’ve found, publish a comment here.
























Leave a Reply