02 2015 档案
摘要:一、环境搭建1、下载对应数据库连接驱动包并引入。2、如果在web中调用必须在tomcat中也放入对应的驱动包。3、在jre的lib\ext中也加入对应的驱动包。二、连接数据库public static String server = "localhost"; //服务器 public static...
阅读全文
摘要:一、在环境变量中设置变量()CATALINA_HOME = tomcat路径一CATALINA_BASE = tomcat路径一CATALINA_HOME2 = tomcat路径二CATALINA_BASE2 = tomcat路径二二、修改一个tomcat中bin文件夹下的startup.bat、s...
阅读全文
摘要:一、内边框padding和外边框margin属性缩写内外边框有四个属性:padding-top,padding-right,padding-bottom,padding-left;margin-top,margin-right,margin-bottom,margin-left。将其简写,就是把四个...
阅读全文
摘要:private function printHandler():void{ var printJob:FlexPrintJob = new FlexPrintJob(); printJob.printAsBitmap = true; ...
阅读全文
摘要:在程序的applicationComplete方法中添加下列代码private function reallyHideESRILogo(map : Map) : void { for(var i : int = 0 ; i 0){ ...
阅读全文