![]() ![]() Therefore, the first thing to do whenyou build a servlet application is create an application directory. A separate directoryis dedicated for each servlet application. A web application is a collection of servlets and other contents installedunder a specific subset of the server's URL namespace. ![]() ![]() The webapps directory is where you store your web applications. When you install Tomcat, several subdirectories are automatically createdunder the Tomcat home directory (%TOMCAT_HOME%). Step 1: Create a Directory Structure under Tomcat You need to import the rvletpackage and the package in your source file. These steps are asfollows:Ĭreate a directory structure under Tomcat for your application. Six stepstake you from writing your servlet to running it. Once Tomcat is installed and configured, you can put it to work. Learn More Buy Six Steps to Running Your First Servlet ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |