admin 管理员组文章数量: 1086019
2023年12月18日发(作者:datedif为什么不显示结果)
基于XXX的XXX系统V1.0 第 1 页
编号:
版本:v1.0
基于XXX的XXX系统
源程序
编写:XXX 2015 年 11 月24日
校对:XXX 2015 年 11 月24日
中国石油大学(华东)
2015年11月
基于XXX的XXX系统V1.0 第 2 页
(经理用户界面)
<%@ page language="java" import=".*" pageEncoding="utf-8"%>
<%
String path = textPath();
String basePath =
eme()+"://"+verName()+":"+verPort()+path+"/";
%>
<%
if(ribute("sessionname") == null || !ribute("rank").equals("1"))
{%>
未登录!
3秒后跳转到登录页面
如果没有跳转,请点这里
<%
n(ribute("rank").equals("2"));
der("refresh","3;URL=");
return;
}%>
基于XXX的XXX系统V1.0 第 3 页
基于XXX的XXX系统V1.0 第 4 页
style="cursor:pointer">零食类
style="cursor:pointer">生鲜类
style="cursor:pointer">洗化类
style="cursor:pointer">生活用品类
style="cursor:pointer">电子产品类
style="cursor:pointer">纺织品类
style="cursor:pointer">其它类
style="cursor:pointer">零食类
style="cursor:pointer">生鲜类
style="cursor:pointer">洗化类
style="cursor:pointer">生活用品类
style="cursor:pointer">电子产品类
style="cursor:pointer">纺织品类
style="cursor:pointer">其它类
基于XXX的XXX系统V1.0 第 5 页
(监听类)
package eration;
import tContextEvent;
import tContextListener;
public class RemoteListener implements ServletContextListener{
private timer = null ;
public void contextInitialized(ServletContextEvent event) {
// TODO Auto-generated method stub
timer = new (true) ;
vletContext().log("定时器已启动。") ;
le(new RemoteTask(vletContext()), 0) ;
vletContext().log("已经添加任务调度表。" ) ;
基于XXX的XXX系统V1.0 第 6 页
}
}
(远程文件操作类)
package eration;
import Exception;
import tRemoteObject;
public class FileRemoteImp extends UnicastRemoteObject implements FileRemote{
private static final long serialVersionUID = 1L;
private FileOperation fileop;
//private FileOperation fileop = null;
protected FileRemoteImp() throws RemoteException {
super();
}
public Boolean iupload(String path,String type) throws RemoteException{
// TODO Auto-generated method stub
try{
n(type);
Class> ins = e(type);
n(ng());
n(e());
fileop = (FileOperation)(tance());
n(ng());
(path);
return true;
}
catch(Exception e){
tackTrace();
n("反射error");
return false;
}
}
public String idownload(String time,String type) throws RemoteException{
// TODO Auto-generated method stub
String file = null;
try{
Class> ins = e(type);
fileop = (FileOperation)(tance());
file=ad(time);
return file;
}
catch(Exception e){
tackTrace();
n("反射error");
return null;
}
}
}
版权声明:本文标题:XXX系统——程序源代码模板 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1702906471a435457.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论