Skip to main content

Posts

Showing posts with the label changes after tomcat installation

configurations required to run a project in tomcat

How To Store The Application: -create a folder of your project in webapps. -inside that folder create a folder WEB-INf. -inside WEB-INF create 2 more folders namely, classes and lib. -Make a web.xml in WEB-INf. To run your project, you need to configure the xml file ,i.e., web.xml. where you'll store, say, the servlet name and the url pattern which you'll use to open it in your browser. classes folder will contain the compiled files of your java program (.class). go to browser and type: http://localhost:8080/app-folder/url-pattern give localhost or (IP of the connected system) on running start tomcat manager but it'll ask for username and password. So, configure a file: tomcat->conf->tomcat-users modify/add username and password for manager. Now, start the tomcat from terminal by start.bat and go for the URL in the browser. After the completion just type shutdown.bat in command prompt. Note: while installing this, you need to kill all the processes related to tomcat. ...