Step 1: Create war file
i) In netbeans right click the project and select build.Automatically the war file created the project folder.
Step 2: go to tomcat->bin folder start tomcat by clicking startup.bat
(or)
goto command prompt-->services.msc--->select apache tomcat---Right click--->to start
Step 3: Copy the .war file (E.g.:ImageUpload.war) to Tomcat 8.0\webapps. before copy the war file
have to stop the server
Step 4: Now restart or start the server
Step 5: goto browser and give localhost:8080(server port must be same as server.xml(conf folder in apache tomcat) file connector port no)
(eg)localhost:8080/ImageUpload/
No comments:
Post a Comment