Please Provide steps to import project from outside to run on tomcat server means to get the output in browser, I have an on-line banking project using JSP,AJAX,JavaScript.
Please Provide steps to import project from outside to run on tomcat server means to get the output in browser, I have an on-line banking project using JSP,AJAX,JavaScript.
Share Improve this question edited May 5, 2014 at 9:04 Lee 31.1k31 gold badges123 silver badges184 bronze badges asked May 5, 2014 at 9:01 user3588893user3588893 111 gold badge1 silver badge2 bronze badges 1- 2 Use the import option in Eclipse – ѕтƒ Commented May 5, 2014 at 9:04
2 Answers
Reset to default 2- On Eclipse Click File->Import , then Select General->Existing Projects into Wrokspace.
- Select the folder which have your Project
- Click on Finish
- From Window->Preferences Menu, select Server->Runtime environments
- ADd your Tomcat instance
- From Window->Showview menu, select 'Servers'
- On Servers Tab right click, select Add Server
- Add Tomcat
- Tomcat instance show up in 'Servers' Tab
- Right click on 'Tomcat server' and select 'Add/Remove'
- Add your Project to Tomcat
- Right click on 'Tomcat server' again and click on 'Clean' then 'Publish'
- Select Tomcat and click on Run button
- In you Project Explorer right click then Select Import Project
- In the import dialog box, Select Web and then select WAR file. Click on Next.
- Finally in the Target Runtime select Tomcat Apache [Note: Apache Tomcat must be added in your server in Eclipse]. Select the WAR file that you want to add. Click on Finish