`
linsl
  • 浏览: 70600 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论
文章列表

HTTP 结构知识

    博客分类:
  • http
  Internet media type:http://en.wikipedia.org/wiki/MIME_type     List of HTTP header fields:http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
开发中遇到分组希望如下 但实际report中没办法做到,试了很多方法,最终还是通过修改jasperreport的源代码解决了此问题 需要的可以留下邮箱
Table 20. Valid file type modifiers for export: All file formats Modifier Description lobsinfile lob-path specifies the path to the files containing LOB data. Each path contains at least one file that contains at least one LOB pointed to by a Lob Location Specifier (LLS) in the data file. Th ...
设置client端请求服务器超时 HelloWorldImplService helloService = new HelloWorldImplService(); HelloWorld hello = helloService.getHelloWorldImplPort(); //((BindingProvider)hello).getRequestContext().put("com.sun.xml.internal.ws.connect.timeout", 5000); ((BindingProvider)hello).getRequestContext() ...
你需要下面的工具来安装MySQL tar文件二进制分发版: ·         GNU gunzip解压缩分发版。 ·         一个适当的tar解包分发版。 GNU tar已知可以。一些操作系统中含有预安装的

glassfish初次登录

./asadmin change-admin-password 输入管理员用户名 [默认为: admin]> 请输入管理员口令> [默认admin密码为空] 请输入新的管理员口令> 请再次输入新的管理员口令>  ./asadmin enable-secure-admin  输入管理员用户名>  admin 输入用户 "admin" 的管理员口令> 
http://hi.baidu.com/nbtybdczhbdhjor/item/ab210cc0a254e21350505853
      网上也有不少datagrid下的chexkbox全选功能的实现,但多数都要创建额外的自定义类,经过摸索此DEMO中只需定义HeadRenderer和ItemRenderer即可,而且可以很好的与grid本身的selectedItems相结合,通用性较高,代码如下: CheckBoxHeaderRenderer <?xml version="1.0" encoding="utf-8"?> <s:GridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009&q ...
原文:http://linux.ccidnet.com/art/737/20070723/1152947_1.html   Linux系统环境下邮件服务器软件的分析比较 几年以前,Linux环境下可以选择的可以免费邮件服务器软件只有Sendmail,但是由于Sendmail的缺陷,一些开发者先后开发了若干种其他的邮件服务器软件。当前,运行在Linux环境下免费的邮件服务器,或者称为MTA(Mail Transfer Agent)有若干种选择,比较常见的有Sendmail、Qmail、Postfix、exim及Zmailer等等。本文希望通过对几种影响相对来说比较大的主流Linu ...
  原文地址:http://blog.csdn.net/autofei/article/details/7456213   前段时间在一个项目的性能测试中又发生了一次OOM(Out of swap sapce),情形和以前网店版的那次差不多,比上次更奇怪的是,此次搞了几天之后啥都没调整系统就自动好了,死活没法再重现之前的OOM了!问题虽然蹊跷,但也趁此机会再次对JVM堆模型、GC垃圾算法等进行了一次系统梳理; 基本概念 堆/Heap JVM管理的内存叫堆;在32Bit操作系统上有4G的限制,一般来说Windows下为2G,而Linux下为3G;64Bit的就没有这个限制。JVM ...
<s:if test="hasActionErrors()"> <script>alert('<s:property value="errorMessages" escape="false"/>')</script> </s:if>  
在用struts2中   <s:url> <s:param><s:property value=""/></s:param> </s:url>   传中文参数时,会有乱码问题,看了网上有的用过滤器,有的设置tomcat的URIEncoding="UTF-8"的方法,最近试到一个方法,就是对   <s:param><s:property value=""/></s:param>   中的<s:property val ...
public class MyTest {     public static void main(String args[]) {       new MyTest().doit();     }     public void doit() {       System.out.println          (new Exception().getStackTrace()[0].getMethodName());     } }     JDK1.5, a new technique is available. public class Test { ...
  package zip;   import java.io.File;   import java.io.FileInputStream;  

删除索引的问题

  Field articleID = new Field(FieldConstant.ArticleID,""+article.getArticleID(), Field.Store.YES,Field.Index.NOT_ANALYZED); doc.add(articleID);    对文章ID建立所引, Term t=new Term(FieldConstant.ArticleID,article.getArticleID()+""); IndexReader ir=IndexReader.open(fsd,fa ...
Global site tag (gtag.js) - Google Analytics