Hi Steve,
Yes, we've had this problem, but under different circumstances. It happened
when the servlet was invoked once as /servlet/ServletName and another time
using server side include. I don't remember how we solved it, but I think it
generally happens if the init method of the servlet fails (throws an
exception).
Petr
----------
From: Stastny, Stephen [SMTP:[EMAIL PROTECTED]]
Sent: Monday, 22 March, 1999 6:19 PM
To: [EMAIL PROTECTED]
Subject: SERVLET EXECUTES TWICE
Has anyone had this problem before. I have a servlet which reads
data from
an oracle database and reads data from an html file. When called
the
servlet is executed twice but if I comment out the code that reads
the html
file it works ok. I think it may be reading the hrefs and think it
has to
come back again. If I remove the code that modifies the href record
when
reading the file it works. I need to modify this record because it
is
looking a relative address.
Thanks ahead,
Steve Stastny
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff SERVLET-INTEREST".
Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html