`
文章列表
       ServletOutputStream os = response.getOutputStream(); WorkbookSettings setting = new WorkbookSettings(); setting.setEncoding("ISO-8859-1"); Workbook wb = Workbook.getWorkbook(tempFile,setting); WritableWorkbook rwb = Workbook.createWorkbook(os, wb); Label l = null; ...
server.xml   <Host name="localhost" appBase="webapps"   unpackWARs="true" autoDeploy="true"   xmlValidation="false" xmlNamespaceAware="false"> <Context docBase="项目名" path="/项目跟路径" reloadable="false" ...
set filename=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2% echo ------------------------导入数据开始-------------------------- %filename% >>F:\log.txt sqlplus name/password@oracle8i @F:\execute_sql.sql set filename1=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~ ...
public class SPActivity extends Activity {             
Winfrom 打包程序 (vs2008版本)   1:新建安装部署项目打开VS,点击新建项目,选择:其他项目类型->安装与部署->安装向导(安装项目也一样),然后点击确定.(详细见下图)此主题相关图片如下: 在解决方案处选择‘添入解决方案’ 2:开始制作安装向导完成后即可进入项目文件夹:双击"应用程序文件夹"在右边的空白处右击,选择添加->文件,将你的做的应用程序的可执行文件和相应的类库和组件添加进来. 然后右击你的可执行文件,创建快捷方式,然后把快捷方式分别剪切或复制到左边的"用户的'程序'菜单"和&qu ...
jsp  String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";     <script type="text/javascript"> var request; function createRequest() {   try {     request = new X ...
com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Software caused connection abort: socket write error解决方式:编辑/etc/my.cnf(windows下为my.ini),将超时时间设置为10年,在[mysqld]后面加入:wait_timeout=315360 ...
for(int i=0;i <soapObject.getPropertyCount();i++){                    SoapObject detail =(SoapObject)soapObject.getProperty(i);                    user order=new user ();                                                        //数组                   SoapObject soap_pic_array = (SoapObject)detail. ...
package com.example.addtextview; import java.io.IOException;import java.io.InputStream;import java.util.ArrayList;import java.util.List; import org.apache.http.HttpEntity;import org.apache.http.HttpResponse;import org.apache.http.client.ClientProtocolException;import org.apache.http.client.HttpCli ...
附件
1、在服务器上部署项目设置tomcat:在catalina.bat第一行输入 set JAVA_OPTS=-Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m
try { //关闭进程 String command = "taskkill /f /im xx.exe";  Runtime.getRuntime().exec(command); Thread.currentThread().sleep(2000); //启动进程 String path = "E:\\xx\\xx\\xx.exe"; System.out.println(path); Runtime.getRuntime().exec(path);        ...
jsp <html:link page="/action.do?operate=query&action=firstPage" paramId="namekey" paramName="namevalue" >首页</html:link> paramId:action中读取参数名 paramName:action中读取参数值 action String namevalue= request.getParameter("namekey"); request ...
public class ComparatorWeibanju implements Comparator{ /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } public int compare(Object arg0, Object arg1) { Weibanju user0=(Weibanju)arg0; Weibanju user1=(Weibanju)arg1;    //首先比较年龄,如果年龄 ...
开始 运行 cmd cd到目录 C:\WIDOWS\Microsoft.NET\Framework\v2.0.50727 输入 aspnet_regiis.exe -i -enable 显示 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -i -enable 开始安装 ASP.NET (2.0.50727)。 ........... ASP.NET (2.0.50727)安装完毕。
Global site tag (gtag.js) - Google Analytics