`
lanfei
  • 浏览: 150263 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
JSF RichFaces 中文用户开发指南  2009年02月05日 10点14分47秒     作 者:73cc.com      1. 介绍 2. 开始使用Ajax4jsf 环境需求 下载Ajax4jsf 安装 简单的 AJAX Echo 项目 JSP 页面 数据 Bean faces-config.xml Web.xml 部署 3.  Ajax4jsf 框架的基本概念 介绍 结构概览 如何做... 发送一个AJAX 请求 决定发送什么 决定改变什么 4. Ajax4JSF 组件库 a4j:ajaxListener a4j:region ...
将博客搬至CSDN
wdcp安装过程中 没有发现什么错误!但是运行不正常(比如设置默认首页无效),或者在安装wdcp报以下错误: httpd: Syntax error on line 54 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf: Cannot load /www/wdlinux/httpd-2.2.22/modules/libphp5.so into server: libmhash.so.2: cannot open shared object file: No such file or directory   或者 httpd: Syntax er ...
systemctl start iptables Failed to issue method call: Unit iptables.service failed to load: No such file or directory.   解决办法 systemctl mask firewalld systemctl stop firewalld yum install iptables-services systemctl enable iptables systemctl start iptables   如果是IPV6 systemctl enable ip6ta ...
执行service iptables save 出现”Failed to restart iptables.service: Unit iptables.service failed to load: No such file or directory.”   使用以下命令保存:   iptables-save > /etc/sysconfig/iptables   iptables-save是将规则追加到一个文件
  1依次打开eclispe-->window-->preferences-->xml catalog-->   location:为duboo.xsd 存放路径(见附件) key值为:http://code.alibabatech.com/schema/dubbo/dubbo.xsd    
错误描述: Caused by: java.lang.IllegalArgumentException: Result Maps collection does not contain value for java.util.HashMap   解决办法: 将所有的Mybatis中的 resultMap 换成 resultType
先在在web.xml中加上CharacterEncodingFilter 编码过滤器   过滤所有请求,但还是有问题,最后发现是表单的问题,在表单中method默认是get,而以上过滤器只对post有效果,如果是get,需要修改 Tomcat根式目录的 conf/server.xml文件中,找<Connector port="8080" />,在里面加<Connector port="8080" uRIEncoding="utf-8" />
public static String sendXMLDataByPost( String url,String xmlData) throws ClientProtocolException, IOException { Integer statusCode = -1; if (httpClient == null) { httpClient = new DefaultHttpClient(); } HttpPost post = new HttpPost(url); StringEntity entity = new Stri ...
打开.classpath添加 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="maven.pomderived" value="true"/> <attribute name="org.eclipse.jst.component.dependency" value ...

jdbc 显示所有库

    博客分类:
  • java
try { Class.forName("com.mysql.jdbc.Driver"); Connection con=(Connection) DriverManager.getConnection("jdbc:mysql://localhost:3306","root","root"); Statement stmt=con.createStatement(); ResultSet rs=stmt.executeQuery("show databases;&q ...
package com.web.test; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileWriter; import java.io.InputStream; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import com.mysql.jdbc.Co ...
 ${empty student.name }Empty是判空为空返回的真不为空返回的是假 ${(empty student.name)? '空' : '非空'} <c:if test="${! empty obj}">${key}</c:if><c:if test="${empty obj}">所有</c:if>当key不为空时输出key的值。当key为空时,输出“所有”规则:1若obj为null时,返回true2若obj为空String时,返回true3若obj为空Array时,返回true4若ob ...
 1先关闭相关服务:      net stop was /y      net stop wmsvc /y 2运行下载下来的 ARRv2_setup_x86.EXE  3.安装完后启动服务     net start was     net start wmsvc 如果在IIS 看不到Application Request Routing 检查was跟 wmsvc是否已经启动
http://blog.csdn.net/g2321514568/article/details/12406755   目标服务器:targetServer 配置反向代理的服务器:reveseProxServer 1、确定最终访问的网址:比如www.baidu.com  、www.csdn.net等等。     当然你也可以自己在targetServer部署自己的程序,在此为了示范,我在targetServer上部署了2个,用的8088端口,程序分别是:     http://targetServer:8088/Auditsys/Default.htm
Global site tag (gtag.js) - Google Analytics