摘要: 阅读全文
posted @ 2012-06-14 22:51 feiling 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 访问链接是http://localhost:8080/Struts2_0700_ActionAttrParamInput/user/user!add?name=a&age=8 时在UserAction extends ActionSupport这个类中是通过setName()和setAge()方法将参数设定好的,与类中的属性无关红色部分是一一对应的 阅读全文
posted @ 2012-06-14 22:22 feiling 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 在jsp中添加用户如果点击这个链接,则会跳转到http://localhost:8080/user/userAdd这个地址这是因为/user/userAdd中"/"代表tomcat web 应用程序的根路径即:http://localhost:8080,故会出现上述情况解决方法: 获取当前web应用程序的contextpath,然后加在前面,如下所示/user/userAdd">添加用户 阅读全文
posted @ 2012-06-14 21:30 feiling 阅读(160) 评论(0) 推荐(0) 编辑
摘要: After cloning a virtual machine running Ubuntu Server 10.04 found that it didn’t have any network available.Restarting networking gave: sudo /etc/init.d/networking restart * Reconfiguring network interfaces... eth0: ERROR while getting interface flags: No such device SIOCSIFADDR: No such device eth0 阅读全文
posted @ 2012-06-13 16:09 feiling 阅读(331) 评论(0) 推荐(0) 编辑
摘要: TheCLASSPATHyou set in your environment affects only standalone Java applications, i.e. ones you run from a command prompt or an icon. As you've noticed, Eclipse ignores this. It sets up its own per-project classpaths.javacandjava, if called from the command prompt, should/may honor this path, b 阅读全文
posted @ 2012-06-10 22:03 feiling 阅读(298) 评论(0) 推荐(0) 编辑
摘要: America/Los_Angeles 阅读全文
posted @ 2012-06-10 22:00 feiling 阅读(112) 评论(0) 推荐(0) 编辑
摘要: false 阅读全文
posted @ 2012-06-10 22:00 feiling 阅读(78) 评论(0) 推荐(0) 编辑
摘要: true 阅读全文
posted @ 2012-06-10 22:00 feiling 阅读(105) 评论(0) 推荐(0) 编辑
摘要: rgcyc 阅读全文
posted @ 2012-06-10 22:00 feiling 阅读(92) 评论(0) 推荐(0) 编辑
摘要: true 阅读全文
posted @ 2012-06-10 22:00 feiling 阅读(79) 评论(0) 推荐(0) 编辑