http://yourip:8888/ ->Manage ->Servlet ->Enable Servlets
start the servlet enginehttp://yourip:8888/ ->Manage ->Servlet ->Servlet Directory
add a prefix like servlethttp://yourip:8888/ ->Manage ->Servlet ->Configure JVM Attributes
 Set up your classpath.put the class file to the classpath!http://yourip/servlet/date