在tomcat下部署两个或多个项目时,web.xml文件中最好定义webAppRootKey参数,如果不定义,将会缺省为“webapp.root”,如下:
webAppRootKey webapp.root 最好报纸每个项目的参数值...
分类:
移动开发 时间:
2014-06-11 11:19:22
阅读次数:
239
首先,先创建一个安卓项目(我的版本号是4.4.2的),名字为"电话拨号器",创建的时候点击"clipart",如图:然后在res目录下找到layout目录,找到activity_main.xml或fragment_main.xml,在里面输入或拖拽button
最后在src下的java...
分类:
移动开发 时间:
2014-06-11 10:22:33
阅读次数:
353
最近在做WinService,总结了一下安装和卸载程序,服务实现内容无法总结了。安装程序: 1
using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using
System.Text; 5 using Sy...
using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace ConsoleApplication1{ /// /// 公用的特殊函数 ///
pub...
分类:
其他好文 时间:
2014-06-11 09:34:53
阅读次数:
411
一:在数组中添加一个元素,截图二:代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;...
分类:
其他好文 时间:
2014-06-11 09:31:46
阅读次数:
281
Doxygen是一种开源跨平台的,类似JavaDoc风格描述的文档系统,支持C、C++、Java、Objective-C等语言。可以从一套归档源文件开始,生成HTML,XML,pdf等不同风格的格式。
按照约定的格式注释源代码,用工具处理注释过的源代码产生文档,通过这种方式产生文档,有以下几个好处。...
分类:
其他好文 时间:
2014-06-11 09:31:02
阅读次数:
223
就是在struts-config.xml中添加了这么一段
至于原因。。。不清楚我第一反应是form的action写错了,或者action-mapping配置有问题。。。其实不是,因为我发现以前可以运行的action都不能用了,所以才怀疑到这个上面来
分类:
其他好文 时间:
2014-06-11 09:13:39
阅读次数:
213
struts.xml文件配置:[html]view
plaincopy/jsp/Menu.jspinputStreamtext/cssfilename="main11.css"2048inputStreamapplication/octet-streamfilename="main111222.cs...
分类:
其他好文 时间:
2014-06-11 09:02:56
阅读次数:
278
TrieSearch.cs//#define WEBusing System;using
System.Collections;using System.Collections.Generic;using System.Linq;using
System.Text;using System.Thre...
分类:
其他好文 时间:
2014-06-11 08:51:28
阅读次数:
375
首先导入jar包:dom4j-1.6.1.jar一、DOM4j中,获得Document对象的方式有三种:1.读取XML文件,获得document对象
SAXReader parser = new SAXReader(); //获取解析...
分类:
其他好文 时间:
2014-06-11 08:30:56
阅读次数:
203