`
文章列表
jconsole 远程监控 一. windows 环境下的tomcat采用start.bat启动 二. windows 环境下的tomcat采用服务启动 三. linux 环境下tomcat采用catalina.sh启动 四. linux 环境下非tomcat的远程监控 不带密码验证的 一. windows 环境下的tomcat采用start.bat启动 -- ...
12345
主要 百度分享 bshare 其他 百度分享 <!--百度分享--> <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a title="分享到QQ空间" href="#" class="bds_qzone" data-cmd="qzone"></a>&l ...

tomcat 连接池

tomcat连接池, 被坑得很惨, 记录下来 主要是apache common dbcp和tomcat-jdbc之间的混乱 这是tomcat7,8的tomcat-jdbc <Resource name="jdbc/DBPool" auth="Container" type="javax.sql.DataSource" factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" ...
通过tomcat设置URL访问权限 有basic方式和login方式 basic使用tomcat-user.xml上面的用户和权限 login需要编写login.jsp和error.jsp 以下是basic的示例 <?xml version="1.0" encoding="utf-8" ?> <web-app> <!--servlet配置--> <servlet> <servlet-name>helloworld</servlet-name> <se ...

代码规范

    博客分类:
  • java
代码规范 这个词困扰了我多年 要统一代码规范, 我目前还没见过成功的例子, 各个公司, 各种语言, 甚至每个人都有自己的风格, 没有形成网格的也有习惯, 用别人的总是不那么顺手 常见的代码规范: 类的命名首字母大写, 然后驼 ...
双网卡设置 为了工作需要访问局域网, 为了发打时间, 需要上公网寻欢 场景 内网 ip 192.168.9.102 mask 255.255.255.0 gateway 192.168.9.253 外网 ip 60.11.61.201 mask 255.255.255.0 gateway 60.11.61.129 原来(见图1) dest netmask gateway interface 0.0.0.0 0.0.0.0 60.11.61.129 60.11.61.201 0.0.0.0 0.0.0.0 192.168.9.253 192.168.9.102 第一步 rout ...
SVG矢量图格式 http://zh.wikipedia.org/wiki/可缩放矢量图形 能够设计SVG图形作品的软件工具包括Adobe Illustrator、Visio以及CorelDRAW等。 而开放源代码的软件有Scribus、Karbon14、Inkscape以及Sodipodi等。 另外也有开放源码、功能简单但容易操作、免安装的在线SVG设计工具,例如svg-edit。 svg-edit https://code.google.com/p/svg-edit/ -------------------------------------------------------- ...
    1. Adding resource folder to classpath:     When you Clean-&-Build a NetBeans Ant Based Project it creates a manifest.mf file in the root directory of the project. This file gets included in the JAR file also. Modify this file and add entry like follows:     Manifest-Version: 1.0     X-COMM ...

mysql 常用命令

注册服务(windows2003) mysqld --install mysql5 --defaults-file="d:\mysql\my.ini" 登陆 mysql -hlocalhost -P3306 -u root -proot 注意, -p后面如果跟密码的话, 一定不能有空格, 带空格的话会解析成指定数据库 mysql -hlocalhost -P3306 -uroot -proot mysql -hlocalhost -P3306 -uroot -p 换行输入密码, *号显示 典型错误 mysql -h127.0.0.1 -P3306 -uroot -p 12 ...
it's easy to get a picture toggle with html, css, js. without any 3rd party plug or lib suah as jquery. 1. virtual the final effect. 2. do a model to achieve static html what we want 3. adjust css to patch the position of cover layout, banner, digital block 4. coding js to achieve dynamic picture ...
一天内, 血压 145->133->126 昨晚下班回到家,吃饭前无聊测了一下血压,左手148, 右手135,吓出一身汗,赶紧打人打网球, 给XX堡前台mm电话订场,准备8:30-10:30,什么,只有9点前,看着145的数字,别无选择,硬着头皮调敲钟 第二早上6:50起床空肚再测, 145..., 心里有点毛毛的 到了网球场, 纯自虐2小时, 同伴非常诧异说: 今天你怎么打得这么拼命, 我心里想着, 再不拼命可能以后没机会拼命了 回家洗澡完再测, 133, 哇哈哈哈哈, 效果显著, 并决定下午又去网球场自虐, 睡一常见吃个午饭, 喝杯茶上下网, 出发, 3-6, 然后回家洗澡 ...
in quirk, take full screen with table is convenience, but it's not work in FF. and I wanta try to stand my code close w3c stand more: with standared mode. so, I use div + css, with position fixed implement in FF first. and hack css for IE6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Tran ...
simple implement. option: support input as text not support scroll. <html> <head> <title>select demo</title> <style> #selectText, #selectItemDiv { font-size: 10pt; } #selectText { padding-left: 7px; border: 0; width: 100px; ...
it's efficient to sort a table in HTML with Javascript. to solve it. the focus is keep the event itself. I do it for non-IE and IE with respective js code first, let's build up the test html environment <html> <head> <title>demo table sort</title> <script src=&qu ...
Global site tag (gtag.js) - Google Analytics