I have a project where i need to send a confirmation email to the user after completing registration form. So i want to upload it to the live server. I want to know how do i eport my project to a folder, which i can then upload to a server.
Asked
Active
Viewed 195 times
0
-
Which IDE and build system (maven / gradel) you are using? – Akshay Pethani Nov 30 '17 at 12:04
-
Im using eclipse. Not using any build. – Shafqat Shafi Nov 30 '17 at 12:38
1 Answers
1
In Java Web project consist of servlet JSP. You need to create the war package of the project and you have to upload it to the webapps directory of the tomcat server.
Go to file > Export and export the project as a War file. Copy this war file and upload to the WebApps directory of the Tomcat on your server. restart the tomcat. you can access your web project.
This links will help you:

Akshay Pethani
- 2,390
- 2
- 29
- 42
-
-
-
Ok. I have uploaded two php projects to the hosting server, thats simple just drag and drop your project files into root directory of hosting service. Now since the directory structure of java project in eclipse is different, i want to know how do i upload my java project to the hosting service. In simple terms how can i make my java project live on web. – Shafqat Shafi Jan 17 '18 at 11:18
-