-
struts2 恒量配置详解
struts2常量配置详解 1,struts.action.extension 作用:设置为htm的时候,把url后缀为htm的映射成为action 源码:org.apache.struts2.dispatcher.mapper.DefaultActionMapper ? Java代码? @Inject (StrutsConstants.STRUTS_ACTION_EXTENSION)...
538
热度 -
ie6,ie7,ie8和firefox上兼容的图片下传预览
ie6,ie7,ie8和firefox下兼容的图片上传预览 不需要后台支持,完全在前台通过js完成的 用到了一个jquery插件image-upload-preview 下载地址: http://code.google.com/p/image-upload-preview/ ? 下面的代码是里面的示例: ? <html> <head> <title>ImageU...
184
热度 -
gwt反照
gwt反射 Introduction Howtouse UnderstandReflection Classes ? Introduction Formaximumefficiency,GWTcompilesyourJavasourceintoamonolithic script.Nowgwt-entprovideareflectionimplementbygwtcodegenerator...
185
热度 -
oracle视图增删改的有关问题
oracle视图增删改的问题一个视图,sql语句如下CREATEORREPLACEmyviewASselect...fromtb1unionallselect...fromtb2现在我要对myview这个视图进行update操作updatemyviewvsetv.data1=2wherev.id='123'然后报错了,<SQLError:1732,SQLState:42000><...
35
热度 -
[求助]文件过滤问题
[求助]文件过滤问题 请问我这样写,当我选择文档文件时为什么会把看不到.txt的文件呢ExampleFileFilterfilter=newExampleFileFilter();filter.addExtension(".txt");filter.setDescription("文档文件");jFileChooser1.setFileFilter(filter);in...
271
热度 -
怎么判断Solaris和SolarisX86是运行在32位还是64位模式上
如何判断Solaris和SolarisX86是运行在32位还是64位模式下-bash-3.00$manisainfoReformattingpage.PleaseWait...doneUserCommandsisainfo(1)NAMEisainfo-describeinstructionsetarchitecturesSYNOPSISisainfo[[-v][-b|-n|-k]|[-x]]DES...
3689
热度 -
关于NULL 是否占空间有关问题
关于NULL是否占空间问题Forfixedwidthfieldslikenullableintthestoragespacerequiredisalwaysthesameregardlessofwhetherthevalueisnullornot.Forvariablewidthnullablefieldsthevalue’NULL‘takeszerobytesofstoragespace(ign...
57
热度 -
关于linux上oracle数据库os认证的有关问题
关于linux上oracle数据库os认证的问题小弟按照oralce的安装手册在redhat6.1上安装的oracle11g数据库。在安装数据库的时候按照手册建立了oinstalldba两个组和oracle用户,并且把oracle用户添加到了oinstall和dba两个用户组。安装完毕数据库之后,想做数据库随服务器自动启动。1已经编辑了dbstart中的ORACLE_HOME_LISTNER=$O...
44
热度 -
服务器重启后SQL Server Agent因为"The EventLog service has not been started" 启动失败
服务器重启后SQLServerAgent由于"TheEventLogservicehasnotbeenstarted"启动失败color="#000000"size="5"face="宋体">案例环境:color="#000000"face="宋体">操作系统:MicrosoftWindowsServer2003StandardEdtionSP2color="#000000"f...
147
热度 -
haXe NME透过JNI调用Android
haXeNME通过JNI调用AndroidhaXe中的JNI概念首先澄清一个概念问题,NME中的JNI接口和java中的含义并不相同,java中的JNI是java调用本地C/C++代码的标准接口,而haXe中的JNI则正好相反,是用haXe在Android目标平台调用java代码。当然,意义上也说得通,因为从haXe和Android目标的关系来说,Android自带的java运行库...
63
热度 -
[2011山东第二届ACM大学生程序设计竞赛]——The Android University ACM Team Selection Contest
[2011山东省第二届ACM大学生程序设计竞赛]——TheAndroidUniversityACMTeamSelectionContestTheAndroidUniversityACMTeamSelectionContestTimeLimit:1000MSMemorylimit:65536K题目描述Nowit's20000A.D.,andtheandroidsalsoparticipateinth...
516
热度 -
Glassfish 4 URL映射
问题描述 请帮助我,我第三天不能这样做(( 这是我的web.xml文件 <?xmlversion="1.0"encoding="ISO-8859-1"?> <web-appxmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch...
94
热度 -
[转] 五个关于提高 jQuery 选择器的小技巧
[转]5个关于提高jQuery选择器的小技巧 原文地址:5TipsforMoreEfficientjQuerySelectorshttp://www.sitepoint.com/efficient-jquery-selectors/Asthenameimplies,jQueryfocusesonqueries.ThecoreofthelibraryallowsyoutofindDOMelement...
242
热度 -
WebDriver官方引见
WebDriver官方介绍 原文地址 WebDriver的介绍以及与Selenium1的区别 WebDriverisaclean,fastframeworkforautomatedtestingofwebapps. Whyisitneeded?Andwhatproblemsdoesitsolvethatexisting frameworksdon'taddress? Forexample,Sel...
294
热度 -
寨子一个js缩减comment的Maven Plugin
山寨一个js缩减comment的MavenPlugin background:动手写一个去掉jscomment的MavenPlugin,用英文写练习练习,哈哈steps:1.Newamavenproject,thepomislikebelow.AtthebeginningIdonotaddthemavenprojectapitotheproject,itisexhaustingtofindthep...
332
热度 -
javascript 权威指南 学习札记1
javascript权威指南学习笔记1 ? Ifyouattempttoreadthevalueofanundeclaredvariable, JavaScriptwillgenerateanerror.Ifyouassignavaluetoavariablethatyou havenotdeclaredwithvar ,JavaScriptwillimplicitlydeclarethat va...
235
热度 -
运用JMX监控WebLogic服务器
使用JMX监控WebLogic服务器 MonitoringWebLogicusingJMX ???It'snotasstraightforwardasyoumightthinkorexpect,butoncesetup,givesalotmoreinsightintothebehaviorofyourapplications.UseyourfavoriteJMXclient(jconsole,jM...
227
热度 -
Book05-No.2 摄影师个人网站格局
Book05-No.2摄影师个人网站布局 1、设计模型 ? 2、代码: <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN"> <HTML> <HEAD> <TITLE>摄影师个人网站</TITLE> <METANAME="Generator"CONTENT="EditPl...
346
热度 -
仿雪片
仿雪花 2011-05-2322:33 <scriptlanguage="JavaScript"><!--if(navigator.appName=="Netscape"){?//detectswhetherthey'reusingnetscapeornotisNav=true;}else{isNav=false;}functionmakeAd(extras){varnow...
367
热度 -
web准则
web原则 Ishouldneverhavetodevoteamillisecondofthoughttowhetherthingsareclickable―ornot.Icouldlistdozensofotherthingsthatvisitorstoasiteshouldn’tspendtheirtimethinkingabout,like:>WhereamI?>Wheresho...
299
热度