posted @ 2010-06-24 10:52 Kevin Meng 閱讀(422) | 評論 (0) | 編輯 收藏
(7)點下一步開始安裝,耐心等待,安裝完后重啟,就可以進入美麗的Mac世界了。
posted @ 2009-08-05 12:27 Kevin Meng 閱讀(330) | 評論 (0) | 編輯 收藏
posted @ 2009-02-16 13:29 Kevin Meng 閱讀(4223) | 評論 (4) | 編輯 收藏
posted @ 2009-02-12 15:31 Kevin Meng 閱讀(915) | 評論 (3) | 編輯 收藏
posted @ 2009-02-06 16:08 Kevin Meng 閱讀(2591) | 評論 (2) | 編輯 收藏
(2)安裝oracle 10g客戶端,如果你用的是oracle 9i同樣需要安裝oracle 10g客戶端,否則無法連接oracle。如果你的機器上已經安裝有oracle 9i,安裝oracle 10g客戶端對oracle 9i并沒有影響。
(3)重新啟動機器。
(4)用phpinfo()檢驗是否已經加載了php_pdo和php_pdo_oci擴展
連接代碼
[development]
database.config.type = pdo_oci
database.config.host=localhost
database.config.username = szapp
database.config.password = szapp
database.config.dbname = ora
database.config.port=1521
$params = array ('dbname' => $config->database->config->dbname,
'username' => $config->database->config->username,
'password' => $config->database->config->password,
'host'=>$config->database->config->host,
'port'=>$config->database->config->port );
$db = Zend_Db::factory ( $config->database->config->type, $params );
$registry->set ( 'db', $db );
posted @ 2009-01-16 13:54 Kevin Meng 閱讀(752) | 評論 (0) | 編輯 收藏
posted @ 2009-01-08 15:28 Kevin Meng 閱讀(267) | 評論 (0) | 編輯 收藏
<filter>
<filter-name>struts-cleanup</filter-name>
<filter-class>
org.apache.struts2.dispatcher.ActionContextCleanUp
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts-cleanup</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
再次用jprofiler進行分析,果然好了。
posted @ 2008-12-11 12:44 Kevin Meng 閱讀(782) | 評論 (0) | 編輯 收藏
<servlet>
<servlet-name>JSPSupportServlet</servlet-name>
<servlet-class>
org.apache.struts2.views.JspSupportServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
(2)把struts-html.tld復制到WEB-INF目錄
(3)在頁面最前面定義標簽庫
<#assign html=JspTaglibs["/WEB-INF/struts-html.tld"] />
(4)在<head>中引用標簽
<@html.base/>
(5)特別注意,在action的配置里面type="freemarker"去掉。因為如果加type="freemarker",那么base為action的路徑,如http://localhost:8080/szmap/findpoi.go,如果去掉type="freemarker",那么base才為網頁路徑,如http://localhost:8080/szmap/find_poi.htm
posted @ 2008-11-12 12:11 Kevin Meng 閱讀(1207) | 評論 (0) | 編輯 收藏
昨天老肖提醒了我一下,打補丁,于是立刻給arcEngine打上了SP5補丁,果然再也沒有問題了!靠
心得是:有事別找ESRI技術支持?。海?br />
posted @ 2008-10-24 10:08 Kevin Meng 閱讀(1980) | 評論 (8) | 編輯 收藏