To use Java Servlets with your domain, you will need to copy the compiled Java Servlet code, which is the file with the .class extension, into your servlets directory: http://<yourdomain>/servlets/YourServlet.