myeclipse+tomcat+oracle配置____oracle

來源:互聯網
上載者:User

跑起頁面,項目的名稱在myeclipse>project facets>web>web context-root /項目名

eclipse中>properties for order -front .web project settings >context root/

com.zy.dao:介面

com.zy.dao.imp:執行個體化

com.zy.service:介面 com.zy.service.imp:執行個體化

com.zy.struts.action:action與jsp頁面進行互動

com.zy.vo:vo是java bean

oracle安裝目錄:app\administrator\product\11.2.0\dbhome_1

設定檔:app\administrator\product\11.2.0\dbhome_1\network\admi\tnsnames.ora

建立資料庫空間和使用者並賦許可權:

creat tablespace ecupl_zc datafile 'D:\w\ecupl_zc.dbf' size 10M autoextend on next 20M maxsize 1024M;

建立使用者:

creat user ecupl_zc identified by "ecupl_zc" default tablespace ecupl_zc;

賦予許可權:

grant dba to ecupl_zc;

匯入資料庫:

imp ecupl_zc/ecupl_zc @ orcl  file = D:w\ecupl_zc.dmp full= y;

刪除資料表空間和使用者(先刪除使用者再刪除資料表空間):

drop user username cascade;

drop tablespace spacename including contents and datafiles;

svn外掛程式:解壓:然後在myeclipse安裝目錄中添加檔案夾link並在下面建立link.link檔案,內容為path=E:\\subeclipse

svn外掛程式方法二將兩個檔案夾放入myeclipse下的dropin檔案夾下的svn檔案夾下 沒有的話建立。


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.