hi i am developing a web application (jsp+servlets) i am using tomcat 5.5 where to place my servlet class files in tomcat5.5 server ie in which directory the servlet are need to be placed. [ November 26, 2007: Message edited by: Bear Bibeault ]
The default package is for trivial command line apps and shouldn't be used web applications. You may get a servlet to work using it but as soon as you start to structure a more serious web app correctly, you're going to have problems locating beans and other objects from within your JSP pages.
For example a class named SimpleServlet in the package com.javaranch.servlet in a webapp named SimpleServlet would go in: tomcat/webapps/SimpleServlet/WEB-INF/classes/com/javaranch/servlet/SimpleServlet.class
subject: where to store servlets class in tomcat 5.5 server