为什么 jstl c set 不显示问题
servlet代码:UserDAOdao=newUserDAOJdbc();Userus=dao.getUser(newInteger(request.getParame...
servlet代码: UserDAO dao = new UserDAOJdbc(); User us = dao.getUser(new Integer(request.getParameter("uid"))); request.setAttribute("user.edit", us); request.getRequestDispatcher("/reg.jsp").forward(request, response);jsp代码:<c:set var="us" value="${requestScope['user.edit']}"/> <td height="30" width="99"><div align="right">用户名:</div></td> <td width="291" ><label> <input type="text" name="username" value="${us.username}" /> </label></td>
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询