Hi,
I write a servlet with following code, I have set the CLASSPATH of the
.jar file to import com.f1j.* in autoexec.bat and I can complie it.
When I load this servlet in JWS.
It prompts me that:
Internal problem processing administration
command: java.lang.NoclassDefFoundError.
javax/swing/JPanel
but I haven't use JPanel in my code!!!!
Why I get this message.
After I get this message box. I try again to Load it.
But this time, it prompts me:
Internal problem processing administration
command: java.lang.NoclassDefFoundError.
com/f1j/swing/JBook
Can anyone tell me what procesdure need to Load that servlet?
What have I done wrongly?
Thanks a lot.
Gary
import java.io.*;
import java.sql.*;
import com.f1j.util.*;
import com.f1j.ss.*;
import com.f1j.swing.*;
public class
WorksheetServlet
extends
javax.servlet.http.HttpServlet
private com.f1j.swing.JBook jb = new com.f1j.swing.JBook();
private java.sql.Connection m_sqlCon = null;
private java.sql.Statement m_stmt = null;
private java.sql.ResultSet rs = null;
private String drivers = "sun.jdbc.odbc.JdbcOdbcDriver";
public void init(javax.servlet.ServletConfig config) throws
javax.servlet.ServletException {
super.init(config);
}
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___________________________________________________________________________
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