As I use Forte CE as my testing tool, however; I don't know where I can put my Servlet.java. So, the page can't be found. I wrote 2 files. A html file was placed in main directory and had a Servlet.java in WEB-INF/classes. Do anyone know how to config and make the Servlet works ? Thanks.
Forte is based on something that as far as I know is unique to itself - the so-called "filesystems", which can be actual file directory trees, Java archives or source-code management subsystems. Your best best is to read the Forte help file and use the Forte "wizards" and it will handle things for you. I found their organization a little confusing myself, but if you let it do things the way it likes, all will work out in the end.
An IDE is no substitute for an Intelligent Developer.