velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Baughman <>
Subject Re: Help with VelocityViewServlet
Date Tue, 12 Jul 2005 21:55:41 GMT
The "not found" error message, at least in tomcat, indicates that the
servlet container can't find the servlet definition in the web.xml
file or it can't find the servlet class anywhere in the classpath.
Be sure the servlet is properly defined in your web.xml file, with
servlet-mapping.  Be sure the servlet class is in the servlet
container's classpath.  Be sure the permissions allow the servlet
container user to read the file.  There has to be something different
between the setup of the servlet that yields this message and the
servlet that doesn't.

If it were the fault of the servlet itself, you'd be getting an
Exception message.

Barbara Baughman

On Tue, 12 Jul 2005, Withers John Z wrote:

> Greetings!
> I've been trying to sub-class the VelocityViewServlet to implement a web
> application I've been working on.  I'm pretty sure I've over-ridden the
> various methods properly, but when I access
> <> , I
> get a message about the /browse resource not being found.  Just to make sure
> I'm not totally insane, I've implemented my own trimmed down 'View' servlet
> using the same method signatures and approach as VelocityViewServlet.  This
> one seems to work.  Are there any concrete examples of sub-classes to
> VelocityViewServlet available that might be instructive in this case?
> Thanks!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message