5.5号个人冲刺(四)

博主分享了近期开发进展,昨天实现表单提交小功能,今天解决时间显示等细节问题,明天计划实现根据密保找回密码的功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

昨天实现了表单提交的一些小功能

今天实现了时间的显示等细节问题

明天计划实现根据密保将密码找回

  <input type="datetime-local" name="time1" id="time1">
     <input type="datetime-local" name="time2" id="time2">
	</td>
    </tr>

  

private void dsAdd(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {
		// TODO Auto-generated method stub
		req.setCharacterEncoding("UTF-8");
		String name = req.getParameter("name");
		String place = req.getParameter("place");
		String time1 = req.getParameter("time1");
		String time2 = req.getParameter("time2");
		String people = req.getParameter("people");
		System.out.print(name);
		if(dao.dsAdd(name,place,time1,time2,people)) {
			req.setAttribute("message", "Form submission was successful!");
			req.getRequestDispatcher("Maintest.jsp").forward(req, resp);
		}else {
			req.setAttribute("message", "Form submission was fail!");
			req.getRequestDispatcher("Maintest.jsp").forward(req, resp);
		}
}
}

  

转载于:https://www.cnblogs.com/zzstdruan1707-4/p/10923198.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值