package org.apache.jsp.client;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import java.util.*;
import com.domain.BankVO;
import com.dao.BankDao;
import com.domain.CreditVO;
import com.dao.CreditDao;
import com.domain.TypeVO;
import com.dao.TypeDao;
import com.domain.AreaVO;
import com.dao.AreaDao;
public final class insertClient_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\r');
out.write('\n');
java.util.Date date=new java.util.Date();
out.write("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n");
BankDao bank = new BankDao();
out.write('\r');
out.write('\n');
CreditDao credit = new CreditDao();
out.write("\r\n\r\n");
TypeDao type = new TypeDao();
out.write('\r');
out.write('\n');
AreaDao area = new AreaDao();
out.write("\r\n\r\n");
List creditList =credit.creditSelect();
out.write('\r');
out.write('\n');
List typeList =type.typeSelect();
out.write('\r');
out.write('\n');
List bankList = bank.bankSelect();
out.write('\r');
out.write('\n');
List areaList=area.areaSelectProvicne();
out.write('\r');
out.write('\n');
String provinceID=(String)request.getAttribute("provinceID");
out.write('\r');
out.write('\n');
List areaCity=area.areaSelectCity(provinceID);
out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<title>添加企业信息</title>\r\n<script language=\"JavaScript\">\r\nfunction insert(){ //登录的脚本\r\nif(document.form.name.value==\"\"){\r\nwindow.alert(\"请输入企业名称\");\r\nreturn false;\r\n}\r\nif(document.form.ptype.value==\"\"){\r\nwindow.alert(\"请选择企业类型\");\r\nreturn false;\r\n}\r\nif(document.form.type.value==\"\"){\r\nwindow.alert(\"请选择企业实质类型\");\r\nreturn false;\r\n}\r\nif(document.form.credit.value==\"\"){\r\nwindow.alert(\"请选择企业资信\");\r\nreturn false;\r\n}\r\nif(document.form.content.value==\"\"){\r\nwindow.alert(\"请输入企业产品\");\r\nreturn false;\r\n}\r\nif(document.form.tel.value==\"\"){\r\nwindow.alert(\"请输入电话号码\");\r\nreturn false;\r\n}\r\n\r\nif(document.form.provicne.value==\"\"){\r\nwindow.alert(\"请选择省份\");\r\nreturn false;\r\n}\r\nif(document.form.city.value==\"\"){\r\nwindow.alert(\"请选择城市\");\r\nreturn false;\r\n}\r\nif(document.form.bank.value==\"\"){\r\nwindow.alert(\"请选择开户银行\");\r\nreturn false;\r\n}\r\nif(document.form.bankNumber.value==\"\"){\r\nwindow.alert(\"请输入银行账号\");\r\n");
out.write("return false;\r\n}\r\n\r\nif(document.form.contact.value==\"\"){\r\nwindow.alert(\"请输入联系人姓名\");\r\nreturn false;\r\n}\r\nif(document.form.email.value==\"\"){\r\nwindow.alert(\"请输入电子邮件\");\r\nreturn false;\r\n}\r\nif(document.form.address.value==\"\"){\r\nwindow.alert(\"请输入具体地址\");\r\nreturn false;\r\n}\r\nif(document.form.remark.value==\"\"){\r\nwindow.alert(\"请输入备注信息\");\r\nreturn false;\r\n}\r\nreturn true;\r\n}\r\n\r\n\r\nfunction ChangeItem(){\r\nvar provinceID=form.provicne.value;\r\n\r\nwindow.location.href=\"clientservlet?method=1&provinceID=\"+provinceID+\"&name=\"+name;\r\n}\r\n\r\n\r\n</script>\r\n<style type=\"text/css\">\r\n<!--\r\n.style2 {\r\n\tfont-size: 12px;\r\n\tfont-weight: bold;\r\n\tcolor: #FF0000;\r\n}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<table width=\"80%\" height=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#004C86\" class=\"tableBorder_r\">\r\n <tr align=\"left\" valign=\"top\">\r\n <td height=\"20%\" colspan=\"3\">\r\n ");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../top.jsp", out, false);
out.write("\r\n </td>\r\n </tr>\r\n <tr>\r\n <td width=\"192\" height=\"80%\" scope=\"row\" background=\"picture/left.jpg\">\r\n ");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../ba.jsp", out, false);
out.write(" </td>\r\n <td width=\"635\" height=\"80%\" scope=\"row\">\r\n <div align=\"center\">\r\n <p> </p>\r\n\r\n <form name=\"form\" method=\"post\" action=\"clientservlet?method=1&operate=1\" onSubmit=\"return insert()\">\r\n <table width=\"77%\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#FFFFFF\" bordercolordark=\"#819BBC\" bordercolorlight=\"#FFFFFF\">\r\n <tr>\r\n <td width=\"16%\" height=\"28\" colspan=\"4\" bgcolor=\"#EFF6FE\"><div align=\"center\"><strong>添加企业信息</strong></div></td>\r\n \r\n\t\t\t </td>\r\n </tr>\r\n\t\t <tr>\r\n <td width=\"16%\" height=\"28\" bgcolor=\"#EFF6FE\"><div align=\"center\">企业名称</div></td>\r\n <td width=\"34%\">\r\n\t\t\t <input type=\"text\" name=\"name\">\r\n\t\t\t </td>\r\n <td width=\"16%\" bgcolor=\"#EFF6FE\"><div align=\"center\">所属类型</div></td>\r\n <td width=\"34%\">\r\n\t\t\t <div align=\"left\"> \r\n <select name=\"ptype\">\r\n <option value=\"\">请选择</option>\r\n <option value=\"供应商\">供应商</option>\r\n");
out.write(" <option value=\"客户\">客户</option>\r\n \r\n </select>\r\n </div>\r\n\t\t\t </td>\r\n </tr>\r\n <tr>\r\n <td height=\"28\" bgcolor=\"#EFF6FE\"><div align=\"center\">企业资信</div></td>\r\n <td>\r\n\t\t\t <div align=\"left\"> \r\n\t\t\t <select name=\"credit\">\r\n <option value=\"\">请选择</option>\r\n ");
for (int i = 0; i < creditList.size(); i++) {
CreditVO creditvo = (CreditVO) creditList.get(i);
out.write("\r\n <option value=\"");
out.print(creditvo.getCredit_name());
out.write('"');
out.write('>');
out.print(creditvo.getCredit_name());
out.write("</option>\r\n ");
}
out.write("\r\n </select>\r\n</div>\r\n\t\t\t </td>\r\n <td><div align=\"center\" bgcolor=\"#EFF6FE\">企业类型</div></td>\r\n <td> <div align=\"left\"> \r\n <select name=\"type\">\r\n <option value=\"\">请选择</option>\r\n ");
for (int i = 0; i < typeList.size(); i++) {
TypeVO typevo = (TypeVO) typeList.get(i)
没有合适的资源?快使用搜索试试~ 我知道了~
JSP销售管理系统
共947个文件
class:210个
java:159个
jsp:94个
5星 · 超过95%的资源 需积分: 9 385 下载量 131 浏览量
2008-08-06
20:10:32
上传
评论 7
收藏 1.99MB RAR 举报
温馨提示
JSP销售管理系统,采用MVC
资源推荐
资源详情
资源评论
收起资源包目录
JSP销售管理系统 (947个子文件)
rtSelect.jsp.bak 3KB
creditInsert.jsp.bak 2KB
insertClient_jsp.class 13KB
updateClient_jsp.class 13KB
clientInsert_jsp.class 10KB
updateWare_jsp.class 10KB
insertWare_jsp.class 9KB
emInsert_jsp.class 9KB
ManagerServlet.class 9KB
ManagerServlet.class 9KB
orderSelect_jsp.class 9KB
cancelSelect_jsp.class 9KB
emUpdate_jsp.class 9KB
outSelect_jsp.class 9KB
ManagerDao.class 9KB
ManagerDao.class 9KB
orderOut_jsp.class 8KB
selectOneClient_jsp.class 8KB
cancelContent_jsp.class 8KB
orderInsert_jsp.class 8KB
cancelInsert_jsp.class 8KB
companyUpdate_jsp.class 8KB
outSelectConnect_jsp.class 8KB
orderSelectContent_jsp.class 8KB
cancelContent_jsp.class 8KB
emSelect_jsp.class 8KB
rtUpdate_jsp.class 7KB
outSelectConnect_jsp.class 7KB
InformationSelectServlet.class 7KB
InformationSelectServlet.class 7KB
getAccount_jsp.class 7KB
GoodsOrderServlet.class 7KB
GoodsOrderServlet.class 7KB
areaCitySelect_jsp.class 7KB
GoodsOrderDao.class 7KB
GoodsOrderDao.class 7KB
orderSelectContent_jsp.class 7KB
selectOneWare_jsp.class 7KB
rtSelect_jsp.class 7KB
orderOutSelect_jsp.class 7KB
cancelSelect_jsp.class 7KB
orderSelect_jsp.class 7KB
ClientDao.class 7KB
ClientDao.class 7KB
bankSelect_jsp.class 6KB
accountSelect_jsp.class 6KB
kindSelect_jsp.class 6KB
creditSelect_jsp.class 6KB
dutySelect_jsp.class 6KB
clientSelect_jsp.class 6KB
unitSelect_jsp.class 6KB
typeSelect_jsp.class 6KB
areaSelect_jsp.class 6KB
clientStyleSelect_jsp.class 6KB
companySelect_jsp.class 6KB
wareSelect_jsp.class 6KB
emUpdatePassword_jsp.class 6KB
orderSelectTime_jsp.class 6KB
WareDao.class 6KB
WareDao.class 6KB
updateBank_jsp.class 6KB
dutyUpdate_jsp.class 6KB
GoodsCancelServlet.class 6KB
GoodsCancelServlet.class 6KB
top_jsp.class 6KB
cancelSelecTime_jsp.class 6KB
inWare_jsp.class 6KB
updateClientStyle_jsp.class 6KB
accountsUpdate_jsp.class 6KB
creditUpdate_jsp.class 5KB
kindUpdate_jsp.class 5KB
unitUpdate_jsp.class 5KB
typeUpdate_jsp.class 5KB
GoodsCancelDao.class 5KB
GoodsCancelDao.class 5KB
bankInsert_jsp.class 5KB
dutyInsert_jsp.class 5KB
ClientServlet.class 5KB
ClientServlet.class 5KB
clientStyleInsert_jsp.class 5KB
accountsInsert_jsp.class 5KB
creditInsert_jsp.class 5KB
accountsInsert_jsp.class 5KB
unitInsert_jsp.class 5KB
kindInsert_jsp.class 5KB
typeInsert_jsp.class 5KB
WareServlet.class 5KB
WareServlet.class 5KB
login_jsp.class 5KB
prepareOut_jsp.class 5KB
prepareCancel_jsp.class 5KB
BankServlet.class 5KB
BankServlet.class 5KB
index_jsp.class 5KB
AccountsServlet.class 5KB
AccountsServlet.class 5KB
ClientStyleServlet.class 4KB
DutyServlet.class 4KB
DutyServlet.class 4KB
success_jsp.class 4KB
共 947 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
linuxzzj
- 粉丝: 4
- 资源: 59
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- 关于mybatis的一些相关资源
- 关于mybatist的一些相关资源
- uni-app实战社区交友类app开发&带视频教程
- mybatis动态sql的一些相关资源
- 隐马尔可夫模型在期货市场的应用_曾琦裕 (1).caj
- 极域解控和极域反控!!!
- 安卓android-serialport-api 串口demo源代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页