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
{
//if this is the first time the page has been accessed...
if((TableName == null) && (FieldName == null)) {
//do stuff
//else if the table has already been selected but not the FieldName
} else if((TableName != null) && (FieldName == null)) {
//do stuff
//else if the table name and field name have been chosen display the edit
box
} else if((TableName != null) && (FieldName != null)) {
//do stuff
} //end if-else
} //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