velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr. <ge...@adeptra.com>
Subject Re: Could Velocity set the "errorpage" as JSP?
Date Wed, 13 Aug 2003 00:39:25 GMT

On Tuesday, August 12, 2003, at 12:27 AM, JChen wrote:

> Hi!
>
> Could Velocity set the "errorpage" as JSP?
>
> I have read
> http://jakarta.apache.org/velocity/ymtd/ymtd-error-handling.html
>
> But I still want to set a error page so the user can directly
> info the administrator and hide the exception messages.
>
> Could I set the errorpage in Velocity?

It depends on how you are using velocity.  If you use the 
VelocityServlet that comes in the core, there is an error method you 
can override.

geir

>
> Thank you!
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
geirm@adeptra.com                                   203-247-1713(m)


Mime
View raw message