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+"/";

%>

Merchant

<%

if(ribute("sessionname") == null || !ribute("rank").equals("1"))

{%>

未登录!

3秒后跳转到登录页面

如果没有跳转,请点这里

<%

n(ribute("rank").equals("2"));

der("refresh","3;URL=");

return;

}%>

(监听类)

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;

}

}

}


本文标签: 产品 跳转 打折