最新回答 / 原来不语
request.getRequestDispatcher("../test.jsp").forward(request,response);会不会因为少了../呢?或者试着重启Tomcat试试
2017-03-30
最赞回答 / tangbiao
端口占用可能是你想用两个tomcat(你 自己下载了一个,myeclipse自带一个),而它们用同一个默认端口,你把其中一个关闭即可。至于中文乱码,如果你charset改为utf-8后还是没有作用的话,重启tomcat试试
2017-03-29
最新回答 / 少说多敲
setter提示用户名用的;也就是跳转之后如果再取值的话可以从这取到(getter);视频里最后登录成功没有提示用户名所以不写也行;但是视频开头要求是跳转登录成功页面并提示用户名
2017-03-21
最新回答 / 慕运维3916613
public Items(int id,String name,String city,int price,int number,String picture) { this.id = id; this.name = name; this.city = city; this.picture = picture; this.price = price; this.number = number; }
2017-03-18