码迷,mamicode.com
首页 >  
搜索关键字:inf    ( 34339个结果
ognl表达式应用
struts.xml<!--OGNL表达式--> <packagename="Ognl"extends="struts-default"> <actionname="getOgnl"class="com.cb.Ognl"method="TestOgnl"> <resultname="list">/WEB-INF/page/Ognl.jsp</result> </action> </package>Ognl.jsp<..
分类:其他好文   时间:2015-06-02 06:55:23    阅读次数:104
N圆面积并
求 n 个圆的面积并算法参照 这篇博客#include #include #include #include #include #include #include #include #include #include using namespace std;const int inf = 0x3f;...
分类:其他好文   时间:2015-06-01 20:08:49    阅读次数:163
notepad++ 配置java编译环境
代码:NPP_SAVENPP_CONSOLE1setclassbin=D:\mydoc\Workspaces1\MyWeb\WebRoot\WEB-INF\classessetclasspath=D:\mydoc\JarLib\javac-d$(classbin)-Djava.ext.dirs=$(classpath)-cp$(classbin)-encodingutf8“$(FILE_NAME)”if0==$(EXITCODE)gotoabcgotowrong:abcjava-cp$(classp..
分类:编程语言   时间:2015-06-01 14:57:04    阅读次数:158
spring读取.properties文件
<beanid="propertyConfigurer"class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"><propertyname="location"value="/WEB-INF/jdbc.properties"/></bean>
分类:编程语言   时间:2015-06-01 01:04:10    阅读次数:197
poj 1258 Agri-Net poj 2485 Highways
http://poj.org/problem?id=1258 多么单纯的mst! #include #include using namespace std; const int INF=103; int graph[INF][INF]; int f1[INF]; int low[INF]; int res,n; int prim() { f1[1]=1; memset(lo...
分类:Web程序   时间:2015-05-31 09:31:15    阅读次数:124
struts2总结二:第一个简单的struts2程序
到struts2官网上面下载struts2的jar包,然后解压。struts2的入门程序,实现简单的用户登录,struts2里面的helllo world。利用eclipse的开发工作如下:1.首先建立一个web项目struts_01_hello2.在WEB-INF下的lib目录导入struts2所...
分类:其他好文   时间:2015-05-30 19:38:49    阅读次数:222
java web开发环境配置
问题1:未找到org.postgresql.Driver在写普通java程序时,只需将该驱动包加载进来即可,但写web程序时,必须将postgresql的驱动包放到project_name/WebContent/WEB-INF/lib下,刷新即可。...
分类:编程语言   时间:2015-05-30 18:17:19    阅读次数:117
poj 3522 Slim Span
链接:http://poj.org/problem?id=3522 这个题我就想知道我已经写那么完美了,他为啥a不掉!!!!!!!!!!!!!!!!!!!!!! 都来看看 啊~~~~~~~~~~ #include #include #include #include using namespace std; const int INF=111; const int M=999999999; i...
分类:其他好文   时间:2015-05-30 15:20:30    阅读次数:125
hdu 2083 简易版之最短距离
代码: #include using namespace std; int a[1000]; const int INF=1<0?x:-x; } int main() { int t; scanf("%d",&t); while(t--) { int n; sc...
分类:其他好文   时间:2015-05-30 14:57:11    阅读次数:129
SSH实例(2)
在WebContent\WEB-INF\下新建两个文件:applicationContext.xml和web.xml。web.xml: struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* or...
分类:其他好文   时间:2015-05-29 21:41:35    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!