<form action="${ pageContext.request.contextPath }/userServlet" method="post" target="_parent">
<input type="hidden" name="method" value="login"/>
用户名:<input type="text" name="O_ID" value=""/><br/>
密 码:<input type="password" name="O_Password"/><br/>
<input type="submit" value="登录"/>
</form>
Map map = req.getParameterMap();
T_Operator user = new T_Operator();
try {
BeanUtils.populate(user, map);
}
如题,当name="OID"时,可以赋值,当name="O_ID" 时,赋值失败,
可是数据库里很多表都有下划线,想要不改下划线,该怎么办?