`
cyf忆
  • 浏览: 5557 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论
文章列表
一个关键字表key_word 发表一段话,查询内容是否含有关键字,mysql sql语句 select count(1) from key_word a where '内容' regexp REPLACE(a.keyName,',','|') ;
1、项目目录下的.classpath文件,把所有Webroot字符串改为WebContent,保存。 2、把目录下webroot的文件夹改名为WebContent。 3、选择项目右击 BiuldPath—–>configure Build Path——>当前窗面下选择选择Add Library—–>server Runtime——>选择需要的web服务器 4、在eclipse的项目上点右键,刷新项目。 5、右击,进入属性(properties)。在左侧列表项目中点击选择“Project Facets”,在右侧选择“Dynamic Web Module”和”Java” ...
session过期后登录页面嵌套在框架中问题的解决方案: 只要在登录页面中加上这段脚本就解决问题了。session过期后登录页面嵌套在框架中问题的解决方案 <script language="javascript"> if (top != window) top.location.href = window.location.href; </script> 转自:http://blog.csdn.NET/qin87/article/details/1728716
选择一张图片,先预览,然后上传该图片 <div style="width: 120px;height: 128px;border: 1px solid red; margin-left: 30px;padding: 2px;" id="localImag" > <img name="showimg" id="showimg" src="" width="116px" height="125px" alt="照片预览" ...
MessageFormat用来格式化一个消息,通常是一个字符串 MessageFormat模式(主要部分): FormatElement:          { ArgumentIndex }          { ArgumentIndex , FormatType }          { ArgumentIndex , FormatType , FormatStyle } FormatType:          number          date          time          choice(需要使用ChoiceFormat) FormatStyl ...
地图初始化。。 //地图初始化 function onLoad(){ if(_compatIE()){ setTimeout(function(){ _MapApp = new EzMap(document.getElementById("mymap")); _MapApp.showMapControl(); _MapApp.centerAndZoom(new Point(116.99655, 36.66345), 11); ...

POI导出导入EXCEL

    博客分类:
  • POI
Poi 导入或者导出Excel打的方法。 public static void main(String[] args) throws IOException { // 文件所在路径 String filePath = "C:\\Users\\Administrator\\Desktop\\1234.xls" ; // 导入Excel new uploadExcelAction().impExcel(filePath); // // 导出Excel // ...
一般情况下,对来自浏览器的请求的拦截,是利用Filter实现的,这种方式可以实现Bean预处理、后处理。 Spring MVC的拦截器不仅可实现Filter的所有功能,还可以更精确的控制拦截精度。 public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { return true; } public void postHandle( ...
Global site tag (gtag.js) - Google Analytics