Struts的概念及体系结构与工作原理 ... 2)配置ActionMapping 3)配置ActionForm Bean 属性描述desciption数据源的描述autoCommit数据源创建的连接所使用的默认自动更新数据库模式driverClass 数据源所使用的类,用来显示JDBC驱动程序接口loginTimeout数据库登陆时间的限制,以秒为单位maxCount最多能建立的连接数目minCount要创建的最少连接数目password 数据库访问的密码readOnly创建只读的连接User 访问数据库的用户名urlJDBC的URL ...
基于46个网页-相关网页
Create the components (JSPs, action and form bean).
创建组件(JSP、动作和表单bean)。
This allows avoidance of complex coding in the action class (as shown in the Struts 1 example) for converting the form bean in to the related domain model object.
这避免了在操作类中进行复杂编码(如struts 1示例所示),将表单bean转换为相关域模型对象。
Also addes a form bean definition and an action mapping definition to the configuration file.
并向配置文件中添加一个Form bean的定义和一个操作映射的定义。
应用推荐