----- Original Message -----
From: "Ralf Suckow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 12, 2000 4:28 PM
Subject: doPost invoked twice on ServletException


> Hello,
>
> with tomcat 3.1 I'm throwing a ServletException in a servlet's
> doPost method, and in this case the doPost is invoked a second time,
> throwing the ServletException again, which is then shown
> in the response page.
>
> What am I doing wrong?

I had the same problem. In my case tomcat loaded the WebApplication
twice.

I specified a context in the server.xml with a different name than the
name
of the directory containing my application in in tomcat/webapps/.

Removing the context worked for me.

hth,
Thomas

Reply via email to