🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2752

Servlet problems

#2752
From: Sherwin Gaddis
Date: Fri, 19 May 2000 00:00
19 lines
1436 bytes
I have a servlet that is not working proporly. if you go to
http://www.novocode.com/doc/servlet-essentials/ and look at the
ListManagerServlet. The code is listed there. My server returns a 500
internal error code. I know it has to do with these lines:
  public void init(ServletConfig config) throws ServletException
  {
    super.init(config);
    filename = config.getInitParameter("addressfile");
       if(filename == null)
      throw new UnavailableException(this,
         "The \"addressfile\" property "+
         "must be set to a file name");
Because if I comment them out. it at least loads. But still will not run.
Does anyone have a clue what config setting I need to make is my servlet
proporties file in JRUN2.3.3?  I know the problem has to be there but I have
not the foggiest where to begin from there. I tried writing the creator but
he does not answer.

Thanks!
Technical Details
Message-ID: <sib4ihjqius39@corp.supernews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f40169d241109e21,start
X-Google-Attributes: gid1089d0,public
From: "Sherwin Gaddis" <ges14@jse.net>
Subject: Servlet problems
Date: 2000/05/19
Message-ID: <sib4ihjqius39@corp.supernews.com>
X-Deja-AN: 625507302
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Complaints-To: newsabuse@supernews.com
Organization: Posted via Supernews, http://www.supernews.com
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.api