该帖已经被评为新手帖
|
|
---|---|
作者 | 正文 |
发表时间:2008-05-29
action: public class StudentAction extends ActionSupport { /** public List <Student> departments; public void setDepartments(List<Student> departments) { struts.xml <action name="studentAction" class="jp.panitec.action.StudentAction" method="getAllDepartments"/> applicationContext.xml <bean id="studentAction" jsp <td>性別</td> student 表中部分字段: public class Student implements Serializable { /** }
错误信息 2008/05/29 17:43:01 org.apache.catalina.core.StandardWrapperValve invoke 如何修改 给个好的建议吧 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-05-30
<s:select list="#StudentAction.departments" name="gender"
value="gender" listKey="emp_id" listValue="name"></s:select>中的#StudentAction.不要,修改为 <s:select list="departments" name="gender" value="gender" listKey="emp_id" listValue="name"></s:select> |
|
返回顶楼 | |
发表时间:2008-05-30
补充一下,value="gender"也不要
<s:select list="departments" name="gender" listKey="emp_id" listValue="name"></s:select> emp_id?帖出的代码中怎么没找到 |
|
返回顶楼 | |
浏览 2457 次