<td>册s:select name="question.term" list="#session.session_termList" listKey="code" listValue="name" headerKey="" headerValue="--请选择--"      value="question.term" theme="simple"></s:select&... Read More
posted @ 2010-11-22 18:09 七郎 Views(165) Comments(0) Diggs(0) Edit
<s:if test="%{null!=#questions.topic&&#questions.topic.length()>20}"> <td><s:property value="%{#questions.topic.substring(0, 20)}" /></td></s:if><s:else>... Read More
posted @ 2010-11-22 17:15 七郎 Views(148) Comments(0) Diggs(0) Edit
序列化字符方法:注意这里的引用“System.Runtime.Serialization”和“System.ServiceModel.Web”using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Runtime.Ser... Read More
posted @ 2010-11-22 15:23 七郎 Views(3314) Comments(0) Diggs(1) Edit
org.json.jar(java转换)json.js(js转换)action:HttpServletRequest request = ServletActionContext.getRequest();HttpServletResponse response =ServletActionContext.getResponse();int id=Integer.parseInt(request.... Read More
posted @ 2010-11-22 14:21 七郎 Views(8155) Comments(0) Diggs(0) Edit