Define your servlet in the web.xml of your web application. How? It's in the tomcat documentation as well as the examples that came with tomcat.
Anitha K Rao wrote:
Hello,
I'm Anitha, working on JSP/Servlet.
In simple sentence...
I want to create a Directory called "AppDir" under webapps.
Then i need to configure my servlets.
The Directory Structure looks like this..
webapps
--- AppDir ----- JSP file
--- Web-inf ----- web.xml file
-- classes ----- My Servlet Class files
http://localhost:port/AppDir/<Servletclass>
does not display the servlet.
Kindly help me out as to where I need to configure the servlet, Application
Directory
with example code or a web site to help me run the servlets.
Thank you
Regards
Anitha
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
