You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by JChen <jc...@itri.org.tw> on 2003/08/12 06:27:37 UTC
Could Velocity set the "errorpage" as JSP?
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?
Thank you!
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Could Velocity set the "errorpage" as JSP?
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Could Velocity set the "errorpage" as JSP?
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
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)