`
yangjie1981
  • 浏览: 19766 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表

OSGI

    博客分类:
  • OSGI
OSGI最佳实践

Struts2

Struts2学习

DWR

    博客分类:
  • DWR
DWR学习
ibatis
<input type="file" id="f1" style="display:none">    <input id="f2" name="filesb"><input type="button" value="本地" onClick="f1.click();f2.value=f1.value;"> 取文件框中的值 request.getParameter("filesb" ...
package FileIO; import java.awt.image.BufferedImage; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; publi ...
设置body的与边界的距离:<body style="margin: 0px 0px 0px 0px;padding: 0px 0px 0px 0px;"> 设置div的与边界距离:<div style="float:left;margin-left:10px 0px 0px 10px;"> 设置div的绝对距离:<div style="position:absolute;margin:20px 0px 0px 100px;vertical-align: top"> 手型的样式:cursor:h ...
html: <form action="uploadrequire.do" method="post" enctype="multipart/form-data" onsubmit="return validataInput()"> <input type="file" id="fileName" name="myfile" /> </form> struts form: private FormFile myfile ...
javascript对表格的操作: function addTr() {                 var table = document.getElementById("apntable");           var lastTr = table.firstChild.lastChild;           if(lastTr.id == "lastLineStyleTr") {           lastTr.parentNode.removeChild(lastTr);           }   var input1 = ...
创建HttpRequest对象:    var httpRequest; function createXMLHttpRequest() {             if(window.XMLHttpRequest)             {                 httpRequest = new XMLHttpRequest();             }             else if(window.ActiveXOb ...
public class TestFormat { public static String dateToStr(java.util.Date date)     {         SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");         String str = sdf.format(date);         return str;     } public static void main(String[] args) { TestFormat test = ...
在以前的文章里,我介绍了IE8支持原生的JSON对象,但是,在使用的时候,还需要注意一些问题。很多人使用下面的代码测试,就会报告说JSON未定义: HTML 代码 <html> <body> <script type="text/javascript"> alert(typeof JSO ...
List<String> list = new ArrayList<String>(); list.add("test1~test2"); try { HSSFWorkbook workbook = new HSSFWorkbook(); HSSFSheet sheet = workbook.createSheet(); for (int index = 0; index < list.size(); index++) { HSSFRow row = sheet.createRow((short) index) ...
导入classes12.java public class ConnectOracleTools { private final String driverName="oracle.jdbc.driver.OracleDriver"; private final String serverName="10.11.104.213"; private final String portNumber="1521"; private String sid="oracle"; private String use ...
java对xml增,查询,修改操作
Global site tag (gtag.js) - Google Analytics