最新回答 / 谢同学谢童鞋
我之前也出现这种错误,我的是因为Servlet是自动生成的,所以没有改web.xml,用的它生成的,后来检查之后发现路径不对,将web.xm中url路径修改成这样就ok了<servlet-mapping> <servlet-name>ShowReport</servlet-name> <url-pattern>/ShowReport</url-pattern> </servlet-mapping> 你可以参考一下是否是这...
2016-04-21
package beans;
public class User {
//买家id
private String userid;
//买家名字
private String name;
//买家年龄
private int age;
//买家性别
private String sex;
//买家所在地区
private String arer;
//买家电话
private int tel;
}
public class User {
//买家id
private String userid;
//买家名字
private String name;
//买家年龄
private int age;
//买家性别
private String sex;
//买家所在地区
private String arer;
//买家电话
private int tel;
}
2016-04-19
自己敲得
package beans;
public class Trading {
//交易id
private int tradingid;
//交易商品id
private int tradingGoodid;
//交易买家id
private int tradingUserid;
//交易数量
private int tradingNumber;
}
package beans;
public class Trading {
//交易id
private int tradingid;
//交易商品id
private int tradingGoodid;
//交易买家id
private int tradingUserid;
//交易数量
private int tradingNumber;
}
2016-04-19