What upgrade are you waiting for?
Anyway, it looks like if you just make your servlet use a valid method signature
for the Servlet 2.1 API, it will work.
example:
throw new ServletException();
But I think it'd be better and more useful to just catch the Exception and do an
e.printStackTrace().
Scott Stirling
-----Original Message-----
From: Antoine Oberlaender [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 10, 2000 9:45 AM
To: [EMAIL PROTECTED]
Subject: Re: JINI ....
--------------851764F04DD43BE480FBCFF5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I use 2.3.3 (waiting for the upgrade ... )
Scott Stirling wrote:
> Look at line 52 of your program. It's the throw clause in the catch block.
> I don't see constructor in the Servlet 2.1 API for creating a
> ServletException while passing it just an Exception object. There is such a
> method in Servlet 2.2. Are you using JRun 2.3.3 or 3.0?
>
> Why not just catch the exception and do an e.printStackTrace() into the logs
> for now?
>
> Scott Stirling
> Allaire Corporation
> http://www.allaire.com/developer/jrunreferencedesk/
>
> > -----Original Message-----
> > From: Antoine Oberlaender [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 07, 2000 1:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: JINI ....
> >
> >
> >
> > --------------659CCC0EC334330B0E00ADCF
> > Content-Type: text/plain; charset=us-ascii
> > Content-Transfer-Encoding: 7bit
> >
> > here is the log :
> >
> > { javax.servlet.ServletException
> > at ImageServlet.doGet(ImageServlet.java:52)
>
> [snip]
>
> > catch (Exception e)
> > {
> > throw new ServletException(e);
> > }
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.