AW: exception handeling in JSP

1999-03-01 Thread Werner Hennrich
HI Guy I couldn't find a better way to deal with this either; too bad. I really hope the JSP 1.0 Spex will provide some simple means for that. Any non-programmer who has to work on such a JSP page will most propably not understand what is going on there and have a good reaon to dislike JSP. bye,

AW: exception handeling in JSP

1999-03-01 Thread Volker Stiehl
You can use the ERRORPAGE directive: <%@ ERRORPAGE="pageURL" %>. This directive names the file to be displayed should an error codition be encountered. You can access a special bean inside the file pageURL points to: the exception bean. Without declaring it, you can access information about the mo

AW: exception handeling in JSP

1999-03-01 Thread Werner Hennrich
Hi Volker, that sounds excellent! Unfortunately, I couldn't find anything about that in the JSP-Spex I have and its a shame that Sun doesn't provide the most recent JSP Spex. I _think_ all the versions I have are 0.91, all those drafts don't show their version number... its a mess. Are you refe

AW: exception handeling in JSP

1999-03-01 Thread Volker Stiehl
I refer to version 0.92 of the JSP specification. You can get it from http://java.sun.com/products/jsp/. You have to download the reference implementation because the specification is part of that package. bye Volker -Ursprungliche Nachricht- Von:Werner Hennrich [SMTP:[EMAIL PROTECTE

ServletBeans

1999-03-01 Thread Mark Minnoye
When you make a bean which extends  javax.httpServlet , does this bean then has the same capebilitys as a servlet?  I mean: has it the same multiThreated system? (created once, multiple threads afterwards)   Is it  a good idea to let my beans do a lot of work en then use a JSP-page to make

Re: is it violation of spec

1999-03-01 Thread Dave Ferguson
I'm seeing a similar problem. In my case, I'm using the 0.92 reference implementation and trying to set a boolean property with SETFROMREQUEST. It does not work. My setter and getter methods are named correctly and there are no exceptions or other errors. I could try adding a BeanInfo class

Re: is it violation of spec

1999-03-01 Thread Ronel Sumibcay
Dave, This issue has been addressed and fixed in JRun2.3 build 2. You can download the new build at: http://www.livesoftware.com/products/jrun/updates.html At 12:10 PM 3/1/99 -0600, you wrote: >I'm seeing a similar problem. In my case, I'm using the 0.92 reference implementation and trying t

Re: is it violation of spec

1999-03-01 Thread David Hecksel
I'm having some problems with 2.3 Pro (it doesn't seem to accept InitParameters). Also some usability regression on the admin screens. Since I'v burned several hours today, probably only to wind up uninstalling it, I'd thought I'd give others a heads up. I'v got in inquiry into their service ema

Re: exception handeling in JSP

1999-03-01 Thread Joe Shevland
Hi, (Sorry I started reading this thread a bit late... if there were archives I could go through them.) That sounds way cleaner than my try..catch blocks in the JSP. Will the GnuJSP implementation support this? If so, do you think you could provide just a little snippet of how you might referenc

Re: ServletBeans

1999-03-01 Thread Joe Shevland
Hi,   Yuck, looks like an Outlook template (no offense, just a personal bias). Anyway, a bean is really only a glorified Java object, in that it follows certain conventions about Setters and Getters etc. But yip, it does have the capabilities of a servlet if it extends javax.servlet.http.Htt

Error handling with JSP

1999-03-01 Thread Yan Pujante
Following the discussion about error handling in JSP, and several problems that people have encountered (like "trying to write more than content length")... I remember someone saying that the reference implementation uses a special writer that has a discard method on it, so when an exception is f