摘要: 1:“You know, people get up everyday, do the same thing, they tell themselves they change their life one day, they never do. I gonna change my life.”(你知道吗,人们每天起床,做着同样的事情,他们告诉自己,有一天要改变生活,但他们从来不付诸行动。我想改变自己的生活)——来自电影《城中大盗》2:Don't close your eyes,rise again after you fall,you need to get out--《风雨哈佛路》 阅读全文
posted @ 2013-03-21 14:53 歌颂者 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1:修改jdk:windows---preference,如图:2:修改编译器1.6:点击项目---右键---properties,如图: 阅读全文
posted @ 2013-03-21 12:57 歌颂者 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1:action的寻找顺序:如果有三个action,一个name叫User_Add,一个name是User_*,一个name是*_*,你会发现,当你访问时,这3个action都会匹配.此,首先匹配最精确的,其次按照代码的顺序匹配带*号的2:action接收参数:三种方式,参考3,4,5示例:当你输入url:http://localhost:8080/aaa时,点击页面的一个链接后,url会变成:http://localhost:8080/aaa/user!add?name=mm&age=8 ,怎么会变成那样的?参考33:第一种:在自己的action类中,定义属性name和age,并写好 阅读全文
posted @ 2013-03-21 11:31 歌颂者 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.cnblogs.com/netshuai/archive/2009/08/06/1540341.html如struts中配有如下几个action,ManagerUserAction中有与之对应的方法<actionname="addUser"class="com.netshuai.action.ManagerUserAction"method="add"><resultname="success">/addUser.jsp</result></ 阅读全文
posted @ 2013-03-21 10:51 歌颂者 阅读(163) 评论(0) 推荐(0) 编辑