robotmen
- 浏览: 45364 次
- 性别:
- 来自: 南宁
社区版块
- ( 0)
- ( 0)
- ( 0)
最新评论
文章列表
使用servlet方式,该方式使用服务器端口
此种方式的话需要依赖于jax-ws 2.2中的jar文件,另外还需要下载额外的jaxws-spring-1.8.jar和xbean-spring-3.0.jar
web.xml
- 2018-11-28 11:45
- 浏览 406
- 分类:互联网
import java.io.bytearrayoutputstream;
import java.io.dataoutputstream;
import java.io.ioexception;
import java.io.inputstream;
import java.net.url;
import java.security.keymanagementexception;
import java.security.nosuchalgorithmexception;
import java.security.cert.certificatee ...
- 2018-11-28 11:31
- 浏览 395
- 分类:互联网
iis7.0默认限制上传文件大小为30000000字节(约28.6m)。打开c:\windows\system32\inetsrv\config\schema\iis_schema.xml,找到如下内容:
- 2018-07-30 11:52
- 浏览 974
- 分类:互联网
现提供一种修改默认6200端口的方法,具体如下,将
adminport 6201
复制到web-inf\web.xml 文件中,根据现场情况修改端口号。
- 2018-07-04 09:19
- 浏览 1099
- 分类:编程语言
function loadtopwindow(){
if (window.top!=null && window.top.document.url!=document.url){
window.top.location= document.url;
}
}
- 2018-06-19 17:15
- 浏览 838
- 分类:web前端
方法1: 用set password命令
set password for 'root'@'localhost' = password('newpass');
方法2:用mysqladmin
mysqladmin -u root password "newpass"
mysqladmin -u root password oldpass "newpass"
方法3: 用update直接编辑user表
use mysql;
update user set passw ...
- 2018-06-18 22:47
- 浏览 304
- 分类:数据库
权限问题,授权 给 root 所有sql 权限
grant all privileges on *.* to root@"%" identified by ".";flush privileges;
- 2018-06-17 22:50
- 浏览 599
- 分类:数据库
1)err 1067:
原因是timestamp的默认值不正确。
查阅资料得知,mysql5.7版本中有了一个strict mode(严格模式),而在此模式下默认是不允许设置日期的值为全0值的,所以想要
解决这个问题,就需要修改sql_mode的值。
使用命令 selec ...
- 2018-06-17 22:46
- 浏览 856
- 分类:数据库
$ jps -v31970 jps -denv.class.path=.:/usr/java/jdk1.8.0_101/lib/dt.jar:/usr/java/jdk1.8.0_101/lib/tools.jar -dapplication.home=/usr/java/jdk1.8.0_101 -xms8m31940 bootstrap -djava.util.logging.config.file=/usr/tomcat/conf/logging.properties -djava.util.logging.manager=org.apache.juli.classloaderlogm ...
- 2018-06-15 17:15
- 浏览 1766
- 分类:编程语言
java反编译工具在eclipse下可以选择eclipse-class-decompiler插件, 他是集成了很多工具,有jd,jad,crf等。java反编译工具
参考链接:eclipse-class-decompiler https://www.eclipse.org/community/eclipse_newsletter/2017/february/article8.phpgithub下载地址 https://github.com/cnfree/eclipse-class-decompiler/releases/download/v2.10.0/eclipse-class-decom ...
- 2018-05-16 17:18
- 浏览 456
- 分类:编程语言
eclipse中tomcat service设置选择window ----show view---services可以看到服务的面板双击tomcat进入配置界面service locations(specify the server path (i.e. catalina.base) and deploy path. server must be published with no modules present to make changes.)选项变灰色无法更改配置。若要更改,则先把tomcat下的所有項目移除。并右击,clean...之后方可设置。。。启动后将又变为黑色。
默认选项为: ...
- 2018-05-09 12:22
- 浏览 605
- 分类:编程语言
1、版本问题mysql 5.6.5之前版本不支持多条default current_timestamp和on update current timestampnote that since mysql 5.6.5, the datetime data type also has automatic initialization and automatic update feature. in addition, the default_current_timestamp and on update current timestamp attributes can be applied to ...
- 2018-05-08 13:48
- 浏览 443
- 分类:数据库
一、下载tomcat7源码
从凯发k8国际娱乐官网入口官网上下载tomcat源码, http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.70/src/apache-tomcat-7.0.70-src.zip
下载之后,将源码解压后重名为tomcat-src,放在e盘的tomcat7目录下.
二、安装ant
因tomcat源码需要ant编译,所以需要安装ant,从凯发k8国际娱乐官网入口官网下载后解压,并配置环境变量即可.
- 2018-05-04 22:16
- 浏览 389
- 分类:开源软件