小熊泡泡

常用链接

统计

最新评论

2007年7月24日 #

tomcat conf

<Context path="/test" docBase="D:\\projects\\test"
         debug="5" reloadable="true" crossContext="true">
          <Resource name="jdbc/manage" auth="Container"
              type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
              url="jdbc:mysql://localhost:3306/manage?autoReconnect=true"
              username="root" password="" maxActive="100" maxIdle="10"
              maxWait="-1"/>
  </Context>

posted @ 2007-07-24 18:35 小熊泡泡 阅读(270) | 评论 (0)编辑 收藏

2007年4月23日 #

spring ajax 几个常用的Action功能介绍

1.AppendContentAction 
SimpleText text = new SimpleText("tes内容")
AppendContentAction action = new AppendContentAction("num", text);
num 页面元素的id,text就是文本内容
功能:在指定的元素中添加文本内容

2.ReplaceContentAction
SimpleText text = new SimpleText("tes内容")
ReplaceContentActionaction = new ReplaceContentAction("num", text);
num 页面元素的id,text就是文本内容
功能:在指定的元素中替换其中的文本内容

3.RemoveContentAction
ReplaceContentActionaction = new ReplaceContentAction("num");
num 页面元素的id,text就是文本内容
功能:在指定的元素中删除元素中的内容

4.replaceElement
 InputField field = new InputField("replaced", "Replaced", InputField.InputType.TEXT);
 ReplaceElementAction action = new ReplaceElementAction("toReplace", field);
功能

posted @ 2007-04-23 19:26 小熊泡泡 阅读(452) | 评论 (1)编辑 收藏

仅列出标题