Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Post Installation steps like ClassPAth and others for BEA Weblogic Plateform 8.1?  RSS feed

ramandeep Dhanju
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone

I am new to java and studying Servlets. I started installing BEA Weblogic plateform 8.1. I installed it and configured it. But the first thing i do not know the CLASSPATH to be set?
Second please tell be the post installation steps for this BEA Weblogic 8.1?
As i was trying the program below:
import javax.servlet.*;

public class Servlet1 implements Servlet
ServletConfig config = null;
public void init(ServletConfig config)
this.config = config;
System.out.println("init() called");
public void service(ServletRequest req, ServletResponse res) throws IOException, ServletException
System.out.println("Service() called");
String us = req.getParameter("user");
String pass = req.getParameter("pass");
PrintWriter pw = res.getWriter();
pw.println("You entered:\n <h1>UserName: "+us+"</h1>");
pw.println("You entered:\n <h1>Password: "+pass+"</h1>");
public void destroy()
System.out.println("destroy() called");
public String getServletInfo()
return null;
public ServletConfig getServletConfig()
return config;

i made web.xml and Html file as .
But i got this error while executing .java file above
ERROR: Main method was not found in Servlet1....
please help
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!