最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - how to import java project into eclipse to run on tomcat server - Stack Overflow

matteradmin5PV0评论

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
Add a ment  | 

2 Answers 2

Reset to default 2
  1. On Eclipse Click File->Import , then Select General->Existing Projects into Wrokspace.
  2. Select the folder which have your Project
  3. Click on Finish
  4. From Window->Preferences Menu, select Server->Runtime environments
  5. ADd your Tomcat instance
  6. From Window->Showview menu, select 'Servers'
  7. On Servers Tab right click, select Add Server
  8. Add Tomcat
  9. Tomcat instance show up in 'Servers' Tab
  10. Right click on 'Tomcat server' and select 'Add/Remove'
  11. Add your Project to Tomcat
  12. Right click on 'Tomcat server' again and click on 'Clean' then 'Publish'
  13. Select Tomcat and click on Run button
  1. In you Project Explorer right click then Select Import Project

  1. In the import dialog box, Select Web and then select WAR file. Click on Next.

  1. 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

Post a comment

comment list (0)

  1. No comments so far