This usually happens when you throw an exception in your init() method.
    (*Chris*)

----- Original Message -----
From: Jeff Dillon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 08, 1999 8:32 AM
Subject: DBEdit.Editor: Servlet has been marked as unavailable at this time.


> I am getting the following error from my servlet:
>
>         500 Internal Server Error
>         DBEdit.Editor:
>         Servlet has been marked as unavailable at this time.
>
> My serlvet has a general structure like the following:
>
> ...
>
> public void doGet(HttpServletRequest request, HttpServletResponse
response)
>                                        throws ServletException,
IOException
> {
>
>         file://if this is the first time the page has been accessed...
>     if((TableName == null) && (FieldName == null)) {
>
>         file://do stuff
>
>         file://else if the table has already been selected but not the
FieldName
>     } else if((TableName != null) && (FieldName == null)) {
>
>         file://do stuff
>
>         file://else if the table name and field name have been chosen
display the edit
> box
>     } else if((TableName != null) && (FieldName != null)) {
>
>         file://do stuff
>
>     } file://end if-else
>
> } file://end doGet
>
> ...
>
>
> The variables are comming in from the query string and the do stuff code
> creates a form that sends more variables back to the servlet.  Does anyone
> know why I am getting this error?  Does it have anything to do with
threads
> and instances of the servlet?  Currently the servlet does not implement
the
> single thread model.  Should it?
>
> Thanks in advance,
>
> Jeff Dillon
>
>
___________________________________________________________________________
> 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

Reply via email to