XXX系统——程序源代码模板.docx

上传人:scccc 文档编号:14557794 上传时间:2022-02-09 格式:DOCX 页数:7 大小:32.86KB
返回 下载 相关 举报
XXX系统——程序源代码模板.docx_第1页
第1页 / 共7页
XXX系统——程序源代码模板.docx_第2页
第2页 / 共7页
XXX系统——程序源代码模板.docx_第3页
第3页 / 共7页
XXX系统——程序源代码模板.docx_第4页
第4页 / 共7页
XXX系统——程序源代码模板.docx_第5页
第5页 / 共7页
亲,该文档总共7页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《XXX系统——程序源代码模板.docx》由会员分享,可在线阅读,更多相关《XXX系统——程序源代码模板.docx(7页珍藏版)》请在三一文库上搜索。

1、编号:版本:v1.0基于XXX的XXX系统源程序编写:XXX 2021年11月24日校对:XXX 2021年11月24日中国石油大学华东2021年11月manager.jsp 经理用户界面 base href= Merchant 未登录! 3秒后跳转到登录页面如果没有跳转,请点 这里热销滞销 打折产品 销售详情 品牌排名 相关商品 销售预测 退出 v/a 查看打折产品 增加产品 删除产品 a class= border-color-darker style=cursor: pointer热销 滞销 查看 零食类 生鲜类 洗化类 生活用品类 电子产品类 纺织品类 其它类 零食类 生鲜类 洗化类

2、生活用品类 电子产品类 纺织品类 其它类 onclick=viewTop(1)onclick=viewLater(1)onclick=showRelation(1)onclick=viewFood(1)onclick=viewFresh(1)onclick=viewWashing(1)onclick=viewLife(1)onclick=viewElectric(1)onclick=viewTextile(1)onclick=viewOther(1)onclick=viewFoodBrand(1)onclick=viewFreshBrand(1)onclick=viewWashingBrand

3、(1)onclick=viewLifeBrand(1)onclick= viewElectricBrand(1)onclick=viewTextileBrand(1)onclick=viewOtherBrand(1)onclick=predict(1) style=cursor:onclick=predict(2) style=cursor:onclick=predict(3) style=cursor:onclick=predict(4) style=cursor:onclick=predict(5) style=cursor:onclick=predict(6) style=cursor:

4、onclick=predict(7) style=cursor:pointer pointer pointer pointer pointer pointer pointer a class= border-color-darker 零食类a class= border-color-darker 生鲜类a class= border-color-darker 洗化类a class= border-color-darker 生活用品类a class= border-color-darker 电子产品类a class= border-color-darker 纺织品类a class= border

5、-color-darker 其它类 RemoteListener.java (监听类)package com.market.remote.fileOperation;import javax.servlet.ServletContextEvent;import javax.servlet.ServletContextListener;public class RemoteListener implements ServletContextListenerprivate java.util.Timer timer = null ;public void contextInitialized(Se

6、rvletContextEvent event) /TODO Auto-generated method stubtimer = new java.util.Timer(true);event.getServletContext().log(定时器已启动.);timer.schedule(new RemoteTask(event.getServletContext(), 0);event.getServletContext().log(已经添加任务调度表.);FlieRemoteImp.java(远程文件操作类)package com.market.remote.fileOperation;i

7、mport java.rmi.RemoteException;import java.rmi.server.UnicastRemoteObject;public class FileRemoteImp extends UnicastRemoteObject implements FileRemoteprivate static final long serialVersionUID = 1L;private FileOperation fileop;/private FileOperation fileop = null;protected FileRemoteImp() throws Rem

8、oteException super();public Boolean iupload(String path,String type) throws RemoteException/ TODO Auto-generated method stubtrySystem.out.println(type);Class ins = Class.forName(type);System.out.println(ins.toString();System.out.println(ins.getName();fileop = (FileOperation)(ins.newInstance();System

9、.out.println(fileop.toString();fileop.upload(path);return true;catch(Exception e)e.printStackTrace();System.out.println(反射 error);return false;public String idownload(String time,String type) throws RemoteException/ TODO Auto-generated method stubString file = null;tryClass ins = Class.forName(type);fileop = (FileOperation)(ins.newInstance();file=fileop.download(time);return file;catch(Exception e)e.printStackTrace();System.out.println(反射 error);return null;

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 社会民生


经营许可证编号:宁ICP备18001539号-1