----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi all,

This might be slightly off the topic. Hopefully someone can give me a tip.

I am having a problem of loading support classes (my env is Apache Jserv1.0
plus Blackdown 1.17 JVM on Redhat5.2: I am about to go for an upgrade on
both Jserv and Redhat). I have a support class compiled ok. Not a big deal.
But I had a problem compiling the calling class. The error message is "Class
support not found in type declaration."  Can anyone tell me why? I copied
the code here as well if someone can have a look.

Thanks in advance.

Regards

Gangmeng

/* the support class */

import java.util.*;

public class support {
  private int increment;
  private String user, password;

  public support (String param1,String param2) {
    this.user = param1;
    this.password = param2;
    }



/*  the calling class */

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class testCaller extends HttpServlet {
  private support newInstance;

  public void init(ServletConfig config) throws ServletException {
   ;
  }

  public void doPost(HttpServletRequest req, HttpServletResponse res)
   throws ServletException, IOException {

  ;

 }
}

}




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to