`
文章列表
POP3 POP3是Post Office Protocol 3的简称,即邮局协议的第3个版本,它规定怎样将个人计算机连接到Internet的邮件服务器和下载电子邮件的电子协议。它是因特网电子邮件的第一个离线协议标准,POP3允许用户从服务器上把邮件存储到本地 ...
I import a maven project ,it starts to scan maven projects, looking for available profiles. and I can see the Progress bar. but it takes a long time and back to the first step again. ---------------------------------------   It's a common problem related to networking and address resolution. In ...
jqPlot http://www.jqplot.com/   Display large numbers with thousands separators, e.g. (1234567 => "1,234,567").   Use the "'" (that's a single quote , ') format specifier to have thousands separation:     yaxis : {        tickOptions: {formatString: "%'d"}     ...
You can configure JSF 2.x to interpret empty submitted values as null by the following context-param in web.xml:<context-param>    <param-name>javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL</param-name>    <param-value>true</param-value></context-param& ...
安装Apache     以下是httpd 2.2的安装步骤(如使用httpd 2.4,请参考Linux下安装Apache HTTP Server 2.4): 1. 安装     下载解压后进入httpd的根目录,依次执行如下命令:      # ./configure --prefix=PREFIX --enable-so --enable-mods-shared=most --enable-ssl     # make     # make install 安装完毕后可执行以下命令启动apache:     $ PREFIX/bin/apachectl start 注意:PR ...
https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options   The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame> or <iframe>. Sites can use this to avoid clickjacking attacks, by ensuring that the ...
    JSF2.0规范中定义Ajax异常信息的形式为:<partial-response> <error> <error-name>...</error-name> <error-message>...</error-message> </error> </partial-response>     可参见com.sun.faces.context.AjaxExceptionHandlerImpl的源码。    JSF提供了全局脚本函数ad ...
《JSF 2.0 Cookbook》 http://www.packtpub.com/article/jsf-20-features In this recipe we talk about the exception handling mechanism provided by JSF 2.0. You will see how to map exceptions to error pages in the web.xml file, how to use a managed bean for extracting an exception from the request and bu ...
This article just a solution of conflict of jquery, not others, eg. skin issue and so on.   An article written by jboss richfaces developer illustrates richfaces resource mapping feature detailedly, before resolve the jQuery compaibility issue, you'd better read it. Re-routing JSF resource reque ...
      <context-param>        <param-name>com.sun.faces.numberOfViewsInSession</param-name>        <param-value>15</param-value>    </context-param>    <context-param>        <param-name>com.sun.faces.numberOfLogicalViews</param-name>        < ...
The ViewExpiredException will be thrown whenever the javax.faces.STATE_SAVING_METHOD is set to server (default) and the enduser sends a HTTP POST request using <h:commandLink> or <h:commandButton> on a view, while the associated view state isn't available in the session anymore. The vie ...
1. how to make word-break on firefox using css Use the following rules together: /* For Firefox */white-space: pre-wrap;word-break: break-all;/* For Chrome and IE */word-wrap: break-word;   2. 为什么我的form没有高度和宽度 form中包含表格,但调试时form却没有高度和宽度,你的table是不是添加了align属性? 在 HTML 4.01 中,不赞成使用 body 元素的 ali ...
1. 直接使用文件链接 <h:outputLinkvalue="#{request.contextPath}/resources/file/hello.pdf">          <h:graphicImagelibrary="images"name="pdf.jpg"style="border:none"/> </h:outputLink>   2.使用stream @ManagedBean@RequestScopedpublic class FileDown ...
    原文:http://blog.csdn.net/love__coder/article/details/6894566     在linux下开发,mysql数据库是经常用到的,对于初学者来说,在linux怎么安装卸载mysql数据库,也许可能比较痛苦,这里简单介绍下,怎么卸载msql数据库。 a)查看系统中是否有rpm包安装的mysql [root@linux ~]# rpm -qa | grep -i mysql MySQL-server-5.1.49-1.glibc23 MySQL-client-5.1.49-1.glibc23 卸载MySQL-server-5.1 ...
     在JSF2.0中,css、javascript、images应放在resources文件夹中。       在页面中,使用如下JSF标签引用: <h:outputStylesheetlibrary="css"name="style.css"/> <h:outputScript library="javascript" name="jsf.js" target="head" /> <h:graphicImage library="ima ...
Global site tag (gtag.js) - Google Analytics