This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have a simple servlet application where a HTML login form directs to my servlet. I have placed the Login app in webapps under Tomcat. Widin Login app , I have created login.html and WEB-INF dir wid web.xml & classes dir. Ihave placed the corresponding servlet class loginsvlt.class in classes directory.
This is a simple web application with a source code organization
based on the recommendations of the Application Developer's Guide.
charishma ps wrote:As I dont have any package structure under classes
You really need to have some packaging structure. Also, you better follow some naming conventions when naming a class - for instance, first letter of every word in the class name must be in upper case. Try packaging your servlet in something like com.pkg, and try using the fully qualified class name under servlet-class element.