`
fireinjava
  • 浏览: 476009 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
  <script type="text/javascript" src="http://www.my97.net/dp/My97DatePicker/WdatePicker.js"></script> 显示控件<input type="text" id="dateDisplay"/> <img onclick="WdatePicker({el:'dateHidden',dateFmt:'yyyy-MM-dd',onpicked:function(){docu ...
项目在Tomcat跑的时候报Bad version number in .class file解决方案:   解决方案1:Window --> Preferences -->Java --> compiler,设置相应的compiler compliance level,重新build   解决方案2:tomcat直接设置JRE环境,修改tomcat-xx\bin\catalina.bat, 最前面添加set JRE_HOME(适用于windows),如下:      set JRE_HOME=C:\Program Files (x86)\Java\jre6   ...
转自:http://www.sql.ru/forum/actualthread.aspx?tid=531677   CREATE OR REPLACE TYPE wm_concat_impl AUTHID CURRENT_USER AS OBJECT ( curr_str VARCHAR2 (32767), STATIC FUNCTION odciaggregateinitialize (sctx IN OUT wm_concat_impl) RETURN NUMBER, MEMBER FUNCTION odciaggregateitera ...
转自http://renxiangzyq.iteye.com/blog/387442 CSS 1、float: right的简单用法:使用代码<span style="float: right"> ****** </SPAN>,其中******就是你调用的元素,比如发布日期:{dateline},如果想让此元素靠右,则相应为:<span style="float: right">{dateline} </SPAN>;2、当使用span时,很多站长反映:靠右的元素和前面的元素被自动换行了,即不再在同一 ...
jsp页面导出时在weblogic下会出现response already committed。 解决办法: 去掉以下两句 out.clear(); out = pageContext.pushBody();     换作tomcat时需要这两句~
String xmlStr = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; SAXReader saxReader = new SAXReader(); Document doc = saxReader.read(new ByteArrayInputStream(xmlStr.getBytes()));  1.以上代码在字符串转Document时碰到以下错误:    Invalid byte 2 of 2-byte UTF-8 sequence 解决方法: Doc ...
Dwr用了一段时间了,这会儿蛮写个简单的入门示例~ 一个小小的public写成private的错误,找了半天,郁闷~ 另外碰到的两个问题: 1.org.directwebremoting.extend.MarshallException: Error marshalling com.freeStyle.dwr.bean.User解决:配置在dwr.xml的<convert >标签下的Bean如果添加了某有参数的构造器,需得再加个无参数构造器。           如:<convert match="com.freeStyle.dwr.bean.User&quo ...
转自 http://blog.csdn.net/sunyujia/article/details/2896518   Set shell = CreateObject("Shell.Application")   Set selFolder = shell.BrowseForFolder(0, "请选择JAVA_HOME目录", 0, ssfDRIVES)   Set selFolderItem = selFolder.Self   selPath = selFolderItem.Path dim wsh Set wsh = WScript.Creat ...
部署主机如果有弄域名解析的话访问http://www.domain.com时会自动请求到相应的页面http://ip:port/webApp/index.jsp此时在index.jsp代码 String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 得出的是http://ip:port/webApp/   要想获取域名http://www.domain.com/需用以下代码: ...
又解决了一个问题...之前想太复杂了...   父页面http://localhost:8080/parent/index.jsp 子页面http://localhost:8081/child1/day.jsp 子页面通过iframe嵌入到父页面,然后子页面里面要在父页面上生成一个div,div.innerHTML = '<img src="<%=request.getContextPath()%>/images/loading.gif" />' 出来后变成http://localhost:8080/child1/images/loading ...
多层iframe嵌套的时候,取最底层iframe页面鼠标点击的XY坐标, IE下测试通过~   /** * 获取最底层iframe页面中鼠标点击的位置 */ function getPosition_Iframe(){ var parentWindow = window.parent; var tmpLocation = window.location; var target = null; var left=0; var top=0; while(parentWindow!=null && typeof(parentWindow)!='u ...
原理:style="margin-top:-2"避免两个table的border叠加效果。   <style type="text/css"> td{ border:1px black solid; text-align:center; } </style> 两个table显示成一个table效果,标题列不滚动:<BR> <table border="1" cellspacing="0" width="5 ...
安装Apache HTTP Server 打开apache安装目录的conf文件夹下的httpd.conf 1、将以下两行前的注释字符 # 去掉: #LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_http_module modules/mod_proxy_http.so 2、在httpd.conf 文件的最后加上转发规则 例如: ProxyPass /cas http://192.168.0.206:9090/cas ProxyPassReverse /cas  http://192.168.0.20 ...
 MyEclipse 启动tomcat的时候突然报cannot connect to vm,网上查了好几种版本都感觉不怎么可靠, 后来想了想自己刚才到底做了什么...... 原来是之前用360安全卫士时把javaw.exe禁止访问网络了...设置重新允许访网络,启动Tomcat正常了。    
callback中window.open后弹出文件下载框却立马消失了,网上找到的解决办法,记录下..   function exportList(txtOrExcel){ dwr.engine.setAsync(false); ClientGroupMgmt.exportUsers(listId_exp, function(fileName) { window.open("<%=request.getContextPath()%>/common/ftpdownloadByFileName.jsf?fileName="+fileName); ...
Global site tag (gtag.js) - Google Analytics