el表达式和获取form表单数据

后台:
                 HttpSession session = req.getSession();
                 session.setAttribute("product", pro);
页面:     
                  value="${product.productName}"                                                                                                                                                                                                                              
 
获取form表单数据:   
                 req.getParameter("username")

    

猜你喜欢

转载自blog.csdn.net/wang_ouyangsima/article/details/78783502
今日推荐