I have a snippet like this one in my JSP: <c:catch var="ex"> <s:url var="url" beanclass="${elementActionPackage}.${chunk.elementDots}Action" prependContext="false"> <s:param name="element" value="${chunk.element}"/> <s:param name="parameters" value="${chunk.parameters}"/> </s:url> </c:catch> <c:if test="${ex != null}"> <s:url var="url" beanclass="pl.nkrop.nscaff.action.ElementAction" prependContext="false"> <s:param name="element" value="${chunk.element}"/> <s:param name="parameters" value="${chunk.parameters}"/> </s:url> </c:if>
Even though there is a c:catch there, I get a stacktrace with ClassNotFoundException logged: INFO: 16:43:40,529 ERROR StripesTagSupport:82 - Could not find class of type: pl.nkrop.appname.web.action.element.test.TestingChunkAction java.lang.ClassNotFoundException: pl.nkrop.appname.web.action.element.test.TestingChunkAction at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.glassfish.web.loader.WebappClassLoader.findClass(WebappClassLoader.java:949) at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1420) at net.sourceforge.stripes.util.ReflectUtil.findClass(ReflectUtil.java:158) at net.sourceforge.stripes.tag.StripesTagSupport.getActionBeanType(StripesTagSupport.java:191) at net.sourceforge.stripes.tag.StripesTagSupport.getActionBeanUrl(StripesTagSupport.java:226) at net.sourceforge.stripes.tag.LinkTagSupport.getPreferredBaseUrl(LinkTagSupport.java:160) at net.sourceforge.stripes.tag.LinkTagSupport.buildUrl(LinkTagSupport.java:191) at net.sourceforge.stripes.tag.UrlTag.doEndTag(UrlTag.java:64) at org.apache.jsp.WEB_002dINF.jsp.nkrop_002dcms.render_002dplaceholder_jsp._jspx_meth_s_url_0(render_002dplaceholder_jsp.java from :999) at org.apache.jsp.WEB_002dINF.jsp.nkrop_002dcms.render_002dplaceholder_jsp._jspx_meth_c_catch_0(render_002dplaceholder_jsp.java from :946) at org.apache.jsp.WEB_002dINF.jsp.nkrop_002dcms.render_002dplaceholder_jsp._jspx_meth_c_when_0(render_002dplaceholder_jsp.java from :912) at org.apache.jsp.WEB_002dINF.jsp.nkrop_002dcms.render_002dplaceholder_jsp._jspx_meth_c_choose_0(render_002dplaceholder_jsp.java from :881) at org.apache.jsp.WEB_002dINF.jsp.nkrop_002dcms.render_002dplaceholder_jsp._jspx_meth_c_forEach_0(render_002dplaceholder_jsp.java from :807) at org.apache.jsp.WEB_002dINF.jsp.nkrop_002dcms.render_002dplaceholder_jsp._jspService(render_002dplaceholder_jsp.java from :161) (...) It gets logged even if I set up a custom ExceptionHandler - it doesn't seem to intercept this exception at all. Is there a way to stop s:url from logging this problem other than directly editing Stripes source code? :-) Best regards, Grzegorz ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users