struts2/WEB-INF/web.xml blk struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts...
分类:
其他好文 时间:
2014-06-12 10:26:19
阅读次数:
223
算法思想:如果存在最小环,会在编号最大的点u更新最短路径前找到这个环,发现的方法是,更新最短路径前,遍历i,j点对,一定会发现某对i到j的最短路径长度dis[i][j]+mp[j][u]+mp[u][i]
!= INF,这时i,j是图中挨着u的两个点,因为在之前最短路更新过程中,u没有参与更新,所以...
分类:
其他好文 时间:
2014-06-12 06:52:57
阅读次数:
505
点击打开链接
求MST的最长边~
prim
#include
#include
#include
#include
#define Min(a,b) (a)<(b)?(a):(b)
using namespace std;
const int INF = 1000000000;
const int maxn = 2000 + 5;
struct pto
{...
分类:
其他好文 时间:
2014-06-11 06:45:17
阅读次数:
235
错误:org.apache.jasper.JasperException:/index.jsp(2,0)UnabletoreadTLD"META-INF/c.tld"fromJARfile"file:/D:/svnframe/web/WEB-INF/lib/standard-1.1.2.jar":解决:移除lib下的jsp-api.jar和servlet-api.jar即可
分类:
其他好文 时间:
2014-06-10 23:46:20
阅读次数:
312
在Struts2中使用Velocity模板时,如何以相对与Web工程的路径来配置模板资源文件路径这个问题网上千篇一律的来自Velocity官方文档。官方文档中指出如果是Web工程的话,模板的相对路径是工程根路径,今天在使用的时候有如下配置:Velocity.properties(默认在WEB-INF下):resourc..
分类:
其他好文 时间:
2014-06-10 18:54:14
阅读次数:
359
【题解】:【代码】: 1 #include 2 #include 3 #include 4
#define inf 99999999 5 using namespace std; 6 int
dp[105][10005];//i件设备,最小带宽(瓶颈)为j时的最小花费 7 int B[105]...
分类:
其他好文 时间:
2014-06-09 22:35:23
阅读次数:
259
jar包放多了就报Exception什么Unable to
load....上网搜了半天也没有能解决的下面所说的jar包放到WEB-INF/lib以及tomcat/lib中通过我一个一个添加到tomcat/lib中,直到启动服务器的时候不再报ClassNotFoundException或者Class...
分类:
其他好文 时间:
2014-06-08 21:18:43
阅读次数:
227
(1)点击左侧List中的教师用户管理。/WebContent/common/pages/left.jsp/teacher_list.do">教师用户管理(2)根据stucts-config.xml文件中的注册信息请求相应的action。/WebContent/WEB-INF/stucts-conf...
分类:
其他好文 时间:
2014-06-08 19:36:48
阅读次数:
264