Thank you very much... but i'm curious, what's an EL funcion?? At 2002-09-19 23:13:00 you wrote: >On 19 Sep 2002, Felipe Schnack wrote: > >> My problem is with a very simple part of it. I developed a default >> error page for my system, that is called when an unhandled error >> occurs (configured as the error page for Throwable exceptions). >> So, how I convert this JSP to taglibs? CtlString.getStackText() is a >> method that returns an exception's stack trace as a String. >> >> Exception e = >> (Exception)request.getAttribute("javax.servlet.jsp.jspException"); >> out.print(CtlString.getStackText(e)); >> >> I should implement a taglib that just calls getStackText and get the >> attribute from the HttpServletRequest? > >Yes, if you'd like to avoid creating that scriptlet. In JSP 2.0, you'd be >able to expose this as an "EL function," but that feature is still in the >future. > >I'd just write a simple taglib that passes on the call; it should involve >only a few lines of code. > >Hope that helps, > >-- >Shawn Bayern >"JSTL in Action" http://www.jstlbook.com > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > >.
Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Faculdade Ritter dos Reis www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303328 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>