jsp数据库开发实例精粹全书原代码
无解压缩密码
包括 书店
源代码在线查看: guanli_ppmadd1.jsp~2~~1~
request.setCharacterEncoding("GBK");
long pjid=0;
if(request.getParameter("pjid")!=null)
pjid=Long.parseLong(request.getParameter("pjid").trim());
long pdid=0;
if(request.getParameter("pdid")!=null)
pdid=Long.parseLong(request.getParameter("pdid").trim());
String shebei=null;
if(request.getParameter("shebei")!=null)
shebei=request.getParameter("shebei").trim();
String beijian=null;
if(request.getParameter("beijian")!=null)
beijian=request.getParameter("beijian").trim();
String jishu=null;
if(request.getParameter("jishu")!=null)
jishu=request.getParameter("jishu").trim();
String xuanxiang=null;
if(request.getParameter("xuanxiang")!=null)
xuanxiang=request.getParameter("xuanxiang").trim();
String peitao=null;
if(request.getParameter("peitao")!=null)
peitao =request.getParameter("peitao").trim();
String guonei=null;
if(request.getParameter("guonei")!=null)
guonei=request.getParameter("guonei").trim();
String toubiao=null;
if(request.getParameter("toubiao")!=null)
toubiao=request.getParameter("toubiao").trim();
String jiaohuo=null;
if(request.getParameter("jiaohuo")!=null)
jiaohuo=request.getParameter("jiaohuo").trim();
NewPPM newppm=new NewPPM();
Basic basic=new Basic();
Product pd=new Product();
pd=basic.getProduct(pdid);
Price price=new Price();
price.setMaker_id(pd.getMaker_id());
price.setT1(shebei);
price.setT2(beijian);
price.setT3(jishu);
price.setT4(xuanxiang);
price.setT5(peitao);
price.setT6(guonei);
price.setT7(toubiao);
price.setT8(jiaohuo);
NewPrice newprice=new NewPrice();
newp
newppm.addPPM();
%>
guanli_ppmadd1
JBuilder Generated JSP