YEKongBob
YEKongBob
关注数: 1
粉丝数: 8
发帖数: 64
关注贴吧数: 4
求砖家帮忙鉴定下这是啥东西,有辛味可以泡茶 帮忙鉴定下这是啥东西,有辛味可以泡茶,解暑清热功效
求大神帮忙识别这植物的学术名,在我们当地可以拿来泡茶,但只知道本地方言名,不知道学术名。
急,在线等答案!用matlab解改进的欧拉方程计算初值问题
求地名 这是哪呢 这是哪呢
求地名 这是哪呢
求地点名 这是哪
java实现oracle备份还原功能报错。。。。。 一,贴上代码 package com.test; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.channels.Channels; import java.nio.channels.FileChannel; import java.nio.channels.ReadableByteChannel; import java.util.ArrayList; import java.util.List; import java.util.Map; /** * java 程序 导入导出数据库 做到程序定时 ( 结合 quartz,log) 自动备份,防止数据丢失 * * @author leiwei 2011 - 12 - 1 * */ @SuppressWarnings("unused") public class Backup { /** 用户名 */ private String userName; /** 密码 */ private String userPass; /** 服务地址 */ private String serverAddr; /** 备份文件路径 */ private String backupFilePath; /** 备份日志路径*/ private String logPath; /** * constructor * @param userName 数据库用户名 * @param userPass 数据库用户密码 * @param serverAddr 服务地址:端口/数据库名称 * @param backupFilePath 备份文件路径 */ public Backup(String Name, String Pass, String Addr, String FilePath,String log) { this.userName = Name; this.userPass = Pass; this.serverAddr = Addr; this.backupFilePath = FilePath; this.logPath = log; } /** * 获取命令串 * @param bool 是否为还原数据库的命令串 默认为获取备份命令 * @return commStr 命令串 */ private String GetCommand(boolean bool){ String commStr = "EXP @USER@/@PASSWORD@@@SERVER@ FILE=@FILEPATH@ LOG=@LOGPATH@ FULL=Y"; if(bool){ commStr = "IMP @USER@/@PASSWORD@@@SERVER@ FILE=@FILEPATH@ LOG=@LOGPATH@ FULL=Y"; } String temp = commStr.replaceAll("@USER@", this.userName).replaceAll("@PASSWORD@", this.userPass).replaceAll("@SERVER@", this.serverAddr).replaceAll("@FILEPATH@",this.backupFilePath).replaceAll("@LOGPATH@", this.logPath); System.out.println(temp); return temp; } /** * 备份或者还原数据库 * @param bool 真:还原数据库 假:备份数据库 * @return boolean */ public boolean expBackup(boolean bool) { Runtime rt = Runtime.getRuntime(); Process processexp = null; try { processexp = rt.exec(GetCommand(bool)); return true; } catch (IOException e) { e.printStackTrace(); } return false; } public static void main(String[] args) { Backup backup = new Backup("kjcb", "kjcb", "127.0.0.1:1521/orcl", "D:/BackupDatabase/backup.dmp", "D:/BackupDatabase/backup.log"); backup.GetCommand(false); backup.expBackup(false); } } 二,报错信息
在线急等!struts2配置,一个package下两个action,只有一个生效 在线急等!struts2配置,一个package下配置了两个action,只有第一个生效,另外一个会找不到要跳转的页面??这是什么原因??怎么解决呢???? 1,Struts.xml <package name="kjcb" namespace="/" extends="struts-default"> <action name="login" class="com.kjcb.action.LoginAction"> <result name="cpedit">coproject/edit.jsp</result> </action> <action name="main" class="com.kjcb.action.MainAction"> <result name="cpedit">coproject/edit.jsp</result> </action> </package> 2,跳转语句 生效:login!cpedit.action ,可以跳到指定页面 不生效:main!cpedit.action ,报错,报错信息如下
在线急等!!属性“save”的值为 null、未定义或不是 Function <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="<%=basePath%>"> <title>单位基本信息编辑修改页面</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> <script type="text/javascript"> function save() { alert("Hello World!"); } </script> </head> <body> <div style="margin:10px 0;"></div> <form id="editform" name="editform" method="post" action="main!edit.action"> <table width="1081" border="1" align="center"> <th colspan="8"><h2>编辑表</h2></th> <tr> <td width="109">企业名称</td> <td width="166"><input type="text" name="editcompanyname" value="${companyname }" /></td> <td width="175">法定代表人</td> <td width="98"><input type="text" name="editfddbr" value="${fddbr }" /></td> <td width="113">职工总数</td> <td width="91"><input type="text" name="editmember" value="${member }" /></td> <td width="149">行业领域</td> <td width="128"><input type="text" name="editindustry" value="${industry }" /></td> </tr> <tr> <td>联系人</td> <td>${ contact }</td> <td>联系电话</td> <td>${ tel }</td> <td>销售收入</td> <td> </td> <td>研发(R&D)投入</td> <td> </td> </tr> <tr> <td>企业类型</td> <td colspan="5"><p> <input type="checkbox" name="editqiyetype" id="checkbox1" />创新型(试点)企业 <input type="checkbox" name="editqiyetype" id="checkbox2" />高新技术企业 <input type="checkbox" name="editqiyetype" id="checkbox3" />知识产权优势企业 <input type="checkbox" name="editqiyetype" id="checkbox4" />省级龙头企业<br/> <input type="checkbox" name="editqiyetype" id="checkbox5" />科技型企业 <input type="checkbox" name="editqiyetype" id="checkbox6" />其他: <input type="text" name="textfield" id="textfield" value=${unid }/> </p></td> <s:checkboxlist name="sds" list="{'创新型(试点)企业','高新技术企业','知识产权优势企业','省级龙头企业','科技型企业','其他:'}" > </s:checkboxlist> <input type="text" name="textfield" id="textfield" value=${unid }/> <td>设立研发专账</td> <td><input type="checkbox" name="checkbox2" id="checkbox2" /> 是 <input type="checkbox" name="checkbox3" id="checkbox3" /> 否<label for="checkbox2"></label></td> </tr> <tr> <td>研发机构名称</td> <td>${ jgmc }</td> <td colspan="6"><input type="checkbox" name="checkbox9" id="checkbox9" /> 省级重点实验室 <input type="checkbox" name="checkbox10" id="checkbox10" /> 省级工程技术研究院 <input type="checkbox" name="checkbox11" id="checkbox11" /> 省级企业技术中心 <input type="checkbox" name="checkbox12" id="checkbox12" /> 其他</td> </tr> <tr> <td height="55" colspan="8" align="center"> <button type="submit" onclick="save()">点击这里</button> </td> </tr> </table> </form> </body> </html> 这只是一个简单的js方法调用怎么报这些怪问题呢????
在线等各位朋友,帮忙鉴定下是什么花
在线急等 这种植物的学名在线急等 这种植物的学名
在线急等 这种植物的学名
在福州的我想回福安啊,,,没动车,有没有其他办法 周五晚上想回一趟福安,6点才下班,动车赶不上,汽车也没有,有没有其他方法回去呢
宏碁e1-471g的奇怪问题 我几个月前玩的lol很正常,最近玩的时候温度飙升到80+报警告。然后我测试了一下NBA2K13,鬼泣4,使命召唤温度还过得去,60多70度左右的样子,然后玩模拟人生3的时候也升到了80多 我就纳闷了,鲁大师测试温度也显示正常。
e1-471g53212玩lol温度飙升到80多正常吗 e1-471g53212那款玩lol温度飙升到80多正常吗
e1-471g53212那款玩lol温度飙升到80多正常吗 e1-471g53212那款玩lol温度飙升到80多正常吗
lol本本温度飙升 最近在玩英雄联盟的时候,怎么温度都跑80度以上了。以前都不会那么高的,怎么办
【求牛人鉴别背景音乐】 求牛人鉴别背景音乐 视频来自:http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fv.ku6.com%2Fshow%2Fml1I4ssEq2mhgbJZ.html&urlrefer=eac315a1feee050ba2730c1982fc5bac
【求牛人鉴别出这背景音乐】 视频来自:http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fv.ku6.com%2Fshow%2Fml1I4ssEq2mhgbJZ.html&urlrefer=eac315a1feee050ba2730c1982fc5bac 求牛人鉴别出这背景音乐
求牛人鉴别出这背景音乐 视频来自:http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fv.ku6.com%2Fshow%2Fml1I4ssEq2mhgbJZ.html&urlrefer=eac315a1feee050ba2730c1982fc5bac 求牛人鉴别出这背景音乐
【求牛人鉴别背景音乐】 视频来自:http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fv.ku6.com%2Fshow%2Fml1I4ssEq2mhgbJZ.html&urlrefer=eac315a1feee050ba2730c1982fc5bac 求牛人鉴别背景音乐
1
下一页