在javabean actionform里的get set方法名字格式: getUsername get第一个字母为小写,Username第一个字母为大写,其他位置全部小写。 如果其他原因,请给我留言。