<s:textfield name="obj.channel" id="channel" onblur="checkChannel(this.value)">
对象中的类型是long型的,所以我想页面输入的时候只能输入数字(只能是数字)!
实在不行 就求一个只能输入数字的正则!~~~
谢谢各位!在补充一个问题: String hql = "from ResLive r where r.deviceId = :deviceId";
         return this.getHibernateTemplate().find(hql);
Hql中 ResLive对象说无法找到,我已经导入import com.fortune.etraining.business.resource.model.ResLive;