再透過Spring把這些properties load進去
現在沒有Spring要開始改用JNDI
J2EE application server有JNDI
Tomcat則是實作JNDI(Java Naming and Directory Interface) InitialContext給web app
要寫JNDI resources要在
$CATALINA_HOME/conf/server.xml
這個檔寫詳細內容JNDI Resources HOW-TO
$CATALINA_HOME/conf/server.xml
這個檔寫
if (cellIsEmpty(this)) {
// User clicked on an empty cell
alert("Please click on a numbered tile.");
return;
}
function scrollImages() {
var coverBarDiv = document.getElementById("coverBar");
var images = coverBarDiv.getElementsByTagName("img");
for (var i = 0; i < images.length; i++) {
var left = images[i].style.left.substr(0, images[i].style.left.length - 2);
if (left <= -86) {
left = 532;
}
images[i].style.left = (left - 1) + "px";
}
}
function checkA(){
var request = createRequest();
}
function checkB(){
var request = createRequest();
}
function checkA(){
var requestForA = createRequest();
}
function checkB(){
var requestForB = createRequest();
}