Hi Bill,
Again thanx a lot for the reply, but the problem is still there...I'll now tell u the whole thing..I'm using JWS 1.1.3 now when I compile it using this, it says that it can't import javax package...so I'm compiling the servlet file and other files using Oracle JDeveloper and then copying the files from its directory to the directory of JWS...now I'm not using any packages, so then again the problem persists..and the whole code for the servlet is
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import oracle.sql.*;
import java.util.*;
public class input extends HttpServlet{
public void init(ServletConfig config) throws ServletException {
super.init(config);
}
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String registrationID = "";
HttpSession session = request.getSession(true);
registrationID=(String)session.getValue("registration");
response.setContentType("text/html");
PrintWriter out = new PrintWriter (response.getOutputStream());
out.println("<html>");
out.println("<body>");
out.println("<applet code=\"userinter.class\" codebase=\"http://its_78:8080/public_html/student/\" height=400 width=400>");
out.println("<param name=\"r1\" value=registrationID>");
out.println("</applet>");
out.println("</body>");
out.println("</html>");
out.close();
}
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
doPost(request,response);
}
}
now the applet's class files are in
serverroot/pubic_html/student/userinter.class and also other files userinter$A,$B,$C,$D,$E which I had defined in the userinter.java file which contains these Classes A,B,C,D,E...and the userinter.java file is in the JDeveloper's directory...
so this is all .....
so again please help me..
Thank You!