COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
JAVA SERVER FACES DEPLOY WAR FILE
Deploy WAR file
• Stop the tomcat server.
• Copy the helloworld.war file to tomcat installation directory < webapps folder.
• Start the tomcat server.
• Look inside webapps directory, there should be a folder helloworld got created.
• Now helloworld.war is successfully deployed in Tomcat Webserver root.
Run Application
Enter a url in web browser:
http://localhost:8080/helloworld/home.jsf to launch the application
Server name (localhost) and port (8080) may vary as per your tomcat configuration.
No comments:
Post a Comment