<html><head></head><body><div>Hello again,</div><div><br></div><div>in the german shibboleth-group one suggested to create a separate tou.jsp and include the vm-templates via velocity-tools.</div><div><br></div><div>I managed to include the missing velocity-tools libraries and the syntax seem to work in the jsp-file but unfortunately the vm-files cannot be found:</div><div><br></div><div><br></div><pre><font face="Courier New, Courier, monospace">HTTP ERROR 500 javax.servlet.ServletException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Failed to render class org.apache.velocity.tools.view.jsp.VelocityViewTag: VelocityViewTag</font></pre><pre><font face="Courier New, Courier, monospace">URI: /tou.jsp</font></pre><pre><font face="Courier New, Courier, monospace">STATUS: 500</font></pre><pre><font face="Courier New, Courier, monospace">MESSAGE: javax.servlet.ServletException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Failed to render class org.apache.velocity.tools.view.jsp.VelocityViewTag: VelocityViewTag</font></pre><pre><font face="Courier New, Courier, monospace">SERVLET: jsp</font></pre><pre><font face="Courier New, Courier, monospace">CAUSED BY: javax.servlet.ServletException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Failed to render class org.apache.velocity.tools.view.jsp.VelocityViewTag: VelocityViewTag</font></pre><pre><font face="Courier New, Courier, monospace">CAUSED BY: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Failed to render class org.apache.velocity.tools.view.jsp.VelocityViewTag: VelocityViewTag</font></pre><pre><font face="Courier New, Courier, monospace">CAUSED BY: javax.servlet.ServletException: javax.servlet.jsp.JspException: Failed to render class org.apache.velocity.tools.view.jsp.VelocityViewTag: VelocityViewTag</font></pre><pre><font face="Courier New, Courier, monospace">CAUSED BY: org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'footer.vm'</font></pre><pre><br></pre><div>the tou.jsp looks as follows:</div><div><br></div><pre><font face="Courier New, Courier, monospace"><%@ page pageEncoding="UTF-8" %></font></pre><pre><font face="Courier New, Courier, monospace"><%@ taglib uri="<a href="http://www.springframework.org/tags">http://www.springframework.org/tags</a>" prefix="spring" %></font></pre><pre><font face="Courier New, Courier, monospace"><%@ taglib prefix="velocity" uri="<a href="http://velocity.apache.org/velocity-view">http://velocity.apache.org/velocity-view</a>" %></font></pre><pre><font face="Courier New, Courier, monospace"><br></font></pre><pre><font face="Courier New, Courier, monospace"><velocity:view var="termsOfUseId"></font></pre><pre><font face="Courier New, Courier, monospace">#parse('footer.vm')</font></pre><pre><font face="Courier New, Courier, monospace"></velocity:view></font></pre><pre><br></pre><div>The footer.vm resides in the views-directory.</div><div><br></div><div>Any ideas how i can tell the jsp where to find the vm-files ?</div><div><br></div><div>Thanks in advance</div><div><br></div><div>cheers</div><div>-- </div><div><span><pre>Ulf Seltmann
System-Administrator
Hochschule für Musik und Theater Leipzig
IT-Dienste
Grassistraße 8 | 04107 Leipzig
Tel.: +49 341 2144 681
ulf.seltmann@hmt-leipzig.de | www.hmt-leipzig.de
</pre></span></div></body></html>