肯定不能用<jsp:useBean 来定义,用entity.setname("qsz");
entity.setonhand(50000);
entity.settype("B");
method.insertacc(entity);来设置值啊!
建议这样,试下:<%
methodAccount account=new methodAccount();//类的第一个字母大写,规范点
accountInfo info=new accountInfo();//类的第一个字母大写,规范点
entity.setname("qsz");
entity.setonhand(50000);
entity.settype("B");
method.insertacc(entity);
%>
entity.setonhand(50000);
entity.settype("B");
method.insertacc(entity);来设置值啊!
建议这样,试下:<%
methodAccount account=new methodAccount();//类的第一个字母大写,规范点
accountInfo info=new accountInfo();//类的第一个字母大写,规范点
entity.setname("qsz");
entity.setonhand(50000);
entity.settype("B");
method.insertacc(entity);
%>
解决方案 »
- 如何实现当用户发送一个页面请求,返回给用户以xml文件形式显示的页面
- <s:iterator>如何返回内容长度
- JAVA 解析XML 问题
- 高手帮帮忙,struts2中转发的问题
- 怎么没解决prototype框架 在使用css样式上不生效的问题
- 请问:我在xfire中使用的spring配置为什么总是无效?
- STRUTS 的数据源是不是只能在ACTION类中获取呢,比如能不能在JAVABEAN中获取STRUTS配置的数据源呢,高手帮忙指点一下,谢谢了啊
- JBuilder9 我把struts1.1的例子,放到jb里面运行,报了下面的警告,为什么啊???
- 一款用于测试发布于服务器端(如Weblogic, Websphere)的 EJB组件、Servlet以及 Beans的黑盒/白盒智能化测试工具
- 请教jb7连接ora9i问题?在线等
- 在java开发环境中实现页面对后台数据变化的监控
- 关于WSDL描述文件的问题
用<form action="本页URL" method="post"> 吗?