用自由開源的eclipse jee學java

開放原始碼的軟體,免費,分享,自由
Post Reply
ejsoon
Site Admin
Posts: 3919
Joined: 2016 Jan 10, 22:15

用自由開源的eclipse jee學java

Post by ejsoon » 2018 Jan 24, 17:29

這篇文章介紹了如何用eclipse跑tomcat。
  1. 建個tomcat服務(Window > Preferences > Server > Runtime Environments
  2. 建個動態頁工程(File > New> Dynamic Web Project)
  3. 建個tomcat庫(Window > Preferences > Java> Build Path> User Libraries,Add External JARs,tomcat*\lib)
  4. 往工程加庫(右鍵 > Properties > Java Build Path > Libraries > Add Library > User Library)
  5. 往工程加動態頁(File > New > Servlet,名爲com.lpggg.java.web,寫入內容${param.name})
  6. 在下面servers中增加new server
  7. run server

ejsoon
Site Admin
Posts: 3919
Joined: 2016 Jan 10, 22:15

Re: 用自由開源的eclipse jee學java

Post by ejsoon » 2018 Feb 08, 11:31

Package Explorer : window > Perspective > Open Perspective > Java
Servers : window > Show view > other ...

ejsoon
Site Admin
Posts: 3919
Joined: 2016 Jan 10, 22:15

Re: 用自由開源的eclipse jee學java

Post by ejsoon » 2018 Feb 08, 14:45

陶發我的eclipse熱佈署

ejsoon
Site Admin
Posts: 3919
Joined: 2016 Jan 10, 22:15

自動換行

Post by ejsoon » 2018 Feb 10, 11:09

自動換行:
Alt+Shift+y

Post Reply