摘要: 通配符方法后面的属性一定选择false 动态方法访问一定要加上这两句话 <constant name="struts.enable.DynamicMethodInvocation" value="true" /> <global-allowed-methods>regex:.*</global-al 阅读全文
posted @ 2019-01-13 19:50 李大鹏的博客 阅读(194) 评论(0) 推荐(0)
摘要: https://struts.apache.org/这是官网,点击下面图示的按钮,下载红色勾的部分(别问为什么,我只会带你脱坑) 新建动态web工程不多说。导入以下jar包,这些jar包在这里。 将 用压缩软件解压,找到文件路径点击eclipse中--》preference选择下图所示的选项 网址是 阅读全文
posted @ 2019-01-13 19:45 李大鹏的博客 阅读(253) 评论(0) 推荐(0)
摘要: 以下是while循环: public static void print1(int num, int sum) { while (num <= 100) { sum += num; num++; } System.out.println(sum); } 以下是do while循环: public s 阅读全文
posted @ 2019-01-13 19:23 李大鹏的博客 阅读(1273) 评论(0) 推荐(0)
摘要: int a = 12; int b = a << 4; System.out.println(b); 表示乘以2的4次方 >>除法 public class JavaDemo { public static void main(String args[]) { if (1 > 2 & 10 / 0 阅读全文
posted @ 2019-01-13 19:18 李大鹏的博客 阅读(127) 评论(0) 推荐(0)