先到apache官網download(注意:此版支援JAVA6以上)
分類彙整: 高級打字員murmur
工作筆記
Tool-How to access folders on host machine in VirtualBox
設定好VM後,是否發現本機與VM的檔案無法共用?
此篇為如何設定本機與VM檔案共用 閱讀全文 Tool-How to access folders on host machine in VirtualBox
Tool-Building a VirtualBox(WIN 7)
VirtualBox為免費的虛擬電腦軟體,好處是玩壞了,砍掉就好
麻煩的地方是要去找iso檔 閱讀全文 Tool-Building a VirtualBox(WIN 7)
jQuery-this 與 $(this) 的差別
this代表目前的DOM對象
$(this)代表我們用jQuery所選取的jQuery對象
$(“div”).each(function(){
this.xxx
$(this).html()
});
this指的是html元素的”div”
$(this)則是指jQuery的物件
JAVA-Spring
Angular-ngRepeat error
[ngRepeat:dupes] Duplicates in a repeater are not allowed. Use ‘track by’ expression to specify unique keys. Repeater: {1} in {2}, Duplicate key
<td ng-repeat=“detail in details” ng-bind=“detail”></td>
change to
<td ng-repeat=“detail in details track by $index” ng-bind=“detail”></td>
Ajax-Origin ‘http://localhost:8080’ is therefore not allowed access
Ajax response console show
XMLHttpRequest cannot load http://127.0.0.1:8080/jerseyStock/services/stockJersey/getStock?stock_id=0050&stock_name=. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access.
Create a new filter, which will set the header response
Edit web.xml add those lines
Eclipse-Missing web.xml after created Dynamic Web Project
Eclipse-Navigator
Eclipse-How to get Dynamic Web Project option in Luna
1.Help -> Install New Software
2.http://download.eclipse.org/releases/luna
3.展開 “Web, XML, Java EE and OSGi Enterprise Development”找Java EE Developer Tools並按下next
4.Eclipse重開即可看到Dynamic Web Project






