struts2-core-2.3.16.jar
是struts2的核心框架xwork-core-2.3.16.jar
struts2-core的依赖包,struts2是在此基础上开发的javassist-3.15.0-GA.jar
初始化struts2的Filter的必要组件,Hibernate延时...
分类:
编程语言 时间:
2014-06-11 09:33:35
阅读次数:
311
struts.xml文件配置:[html]view
plaincopy/jsp/Menu.jspinputStreamtext/cssfilename="main11.css"2048inputStreamapplication/octet-streamfilename="main111222.cs...
分类:
其他好文 时间:
2014-06-11 09:02:56
阅读次数:
278
问题重现:
MySql 数据库中,一给列的内容中包括 “.wmv” 需要将 “.” 后的wmv格式 换为“flv”
解决办法
update video_info set file_path=substring(file_path,1,length(file_path)-3);
先执行以上SQL进行删除;
update video_info set file_path =...
分类:
数据库 时间:
2014-06-08 16:38:39
阅读次数:
262
第一步写action方法:
public String exportActiveExcel()
{
String name ="活跃度列表.xls";
try {
name = java.net.URLEncoder.encode(name, "UTF-8");
fileNam...
分类:
编程语言 时间:
2014-06-08 15:18:02
阅读次数:
295
首先需要引入上传控件
/js/ext/examples/ux/fileuploadfield/FileUploadField.js" charset="utf-8">
弹出上传框对应extjs代码
var uploadForm=new Ext.FormPanel({
id:'uploadForm',
width:520,
frame:true,
fileUpload: true,...
分类:
Web程序 时间:
2014-06-08 09:51:37
阅读次数:
314
之前的一篇已经讲到了 spring 与struts2 的整合,
其实对于struts2+hibernate-jpa+Spring 之间的整合的文章已经相当多了,也相当成熟了,只要不是各自的版本不兼容之外,其他的几乎没啥问题,
不行mybatis那样是不是的冒点让人头疼的事情来下面修改pom.xml ...
分类:
编程语言 时间:
2014-06-07 21:51:12
阅读次数:
518
有时候后台文章内容、标题或者锚文本出错,需要修改批量修改,那么就需要用dedecms的sql语句进行批量修改了。利用dedecms后台SQL命令行工具批量修改内容,路径和超链接等信息。语句
DEDECMS SQL命令批量替换1.更改文章中的内容update dede_addonarticle set...
分类:
数据库 时间:
2014-06-07 21:16:58
阅读次数:
294
atitit.解决struts2 SpringObjectFactory.getClassInstance NullPointerException
#--现象
java.lang.NullPointerException
at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance
com.opens...
分类:
编程语言 时间:
2014-06-07 12:51:50
阅读次数:
253