0.创建如下oracle的命令 create table HOTALINFO ( HOTALID ) not null, HOTALNAME ) not null, HOTALADDRESS ) not null ) ; comment on table HOTALINFO is '酒店信息表'; comment on column HOTALINFO.HOTALID is '酒店编号'; comment on column HOTALINFO.HOTALNAME is '酒店名称'; comm…
0.创建如下oracle的命令 create table HOTALINFO ( HOTALID ) not null, HOTALNAME ) not null, HOTALADDRESS ) not null ) ; comment on table HOTALINFO is '酒店信息表'; comment on column HOTALINFO.HOTALID is '酒店编号'; comment on column HOTALINFO.HOTALNAME is '酒店名称'; comm…
一.类型转换器 1.在动作类action中,声明和表单中name属性的值同名的属性,提供get和set方法,struts2就可以通过反射机制,从页面中获取对应的内容 package com.kdyzm.convert; import com.opensymphony.xwork2.ActionSupport; public class TypeConvertAction extends ActionSupport{ private static final long serialVersionU…