摘要:
width指定虚拟窗口的屏幕宽度大小。 height指定虚拟窗口的屏幕高度大小。 initial-scale 指定初始缩放比例。 maximum-scale指定允许用户缩放的最大比例。 minimum-scale 指定允许用户缩放的最小比例。 user-scalable 指定是否允许手动缩放。 包含 阅读全文
摘要:
Flare Video 阅读全文
摘要:
public class FileOperater { // 验证字符串是否为正确路径名的正则表达式 private static String matches = "[A-Za-z]:\\\\[^:?\"><*]*"; // 通过 sPath.matches(matches) 方法的返回值判断是否正确 // sPath 为路径字符串 /**... 阅读全文
摘要:
Bbsxml.java XmlOprate.java data.xml JSP页面直接操作 xml.jsp 阅读全文
摘要:
拦截器类 admin.xml中应用 阅读全文
摘要:
3 4 5 在第4行的时候报了java.lang.NullPointerException异常 如果是下面这样 结果 2 3 4 5 本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/1182155 阅读全文
摘要:
public static int count(String txyl_table) {// 获取用户数量 int i = 0;// Store_Information Connection con = DB.getConnnection(); try { Statement stmt = con.createStatement(); ... 阅读全文
摘要:
1.url向action传值 url为 action中取值为 2.JSP 3..java 阅读全文
摘要:
struts.xml配置文件 动态方法调用 第一种方法 struts2.xml SimpleAction.java 执行完毕后跳转到add_success.jsp 第二种方法 http://localhost:8080/structstest/simple!add.action 执行完毕后跳转到ad 阅读全文
摘要:
struts.xml 放在src目录下 web.xml中添加配置 lib目录下添加jar包 asm-x.x.jar asm-commons-x.x.jar asm-tree-x.x.jar commons-io-X.X.X.jar commons-lang3-X.X.X.jar commons-fi 阅读全文