2013 年文章归档
共 4 篇文章
strust2笔记
struts.xml文件可以分开写在多个xml文件中。最后通过以下方式导入到struts.xml中即可: <struts><includefile="my-struts1.xml"/><includefile="my-struts2.xml"/></struts> struts.properties file 首先struts.properties文件应该放到web-info/classess文件下,我在在这个文件中进行的配置,实际上是重写了struts2-core-x.y.z.jar下的 default.properties文件 AcionSupport类实现了Action接口,Actio…
2013-04-24 23:46 · Struts2 · Struts2
关于"There is no Action mapped for namespace / and action name UserAction
Struts2关于"There is no Action mapped for namespace / and action name UserAction"的调试 关于这个错误,首先看一下struts.xml是不是正确的放置在src目录下,然后在检查其他情况。
2013-04-23 22:56 · Struts2 · Struts2
杀掉死锁的sqlserver进程
SELECT request_session_id spid,OBJECT_NAME(resource_associated_entity_id)tableName FROM sys.dm_tran_locks WHERE resource_type='OBJECT ' KILL spid号
2013-04-03 17:04 · 小记录 · sqlserver
java.lang.Math
System.out.println(Math.PI); System.out.println(Math.abs(1.2)); System.out.println(Math.abs(1.2)); System.out.println(Math.abs(1)); System.out.println(Math.abs(111111111)); System.out.println(Math.cos(45)); //立方根 System.out.println("cbrt: "+Math.cbrt(27)); //>=参数的最小整数 System.out.println("ceil:"+Mat…
2013-03-25 14:50 · java API笔记 · Java · math · lang