问题总结
mysql获取当前时间 now()
java获取时间戳System.currentTimeMillis() 返回格式为long
在jsp单独按键触发事件
if (req.getParameter("button1") != null) {
点击按键1运行。。。
} else if (req.getParameter("button2") != null) {
点击按键2运行。。。
}
mysql获取当前时间 now()
java获取时间戳System.currentTimeMillis() 返回格式为long
在jsp单独按键触发事件
if (req.getParameter("button1") != null) {
点击按键1运行。。。
} else if (req.getParameter("button2") != null) {
点击按键2运行。。。
}