`
ninnd
  • 浏览: 22028 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
创建接口类: @WebService(targetNamespace="http://service.sample.com/ws/") public interface Hello { @WebMethod public String sayHi(@WebParam(name="name") String name); } 实现接口 : @WebService(endpointInterface = "Hello") public class HelloImpl implements Hello {...} ...
cd project directory/ mvn archetype:create-from-projectcd project directory/target/generated-sources/archetype mvn install
Websphere7.0配置SSO
package com.test; import ilog.rules.archive.IlrJarArchiveLoader; import ilog.rules.engine.IlrContext; import ilog.rules.engine.IlrParameterMap; import ilog.rules.engine.IlrRuleset; import ilog.rules.engine.IlrRulesetArchiveParser; import ilog.rules.teamserver.brm.IlrBaseline; import ilog.rul ...
异常信息: com.ibm.ws.rsadapter.jdbc.WSJdbcConnection incompatible with oracle.jdbc.OracleConnection 处理: 1.添加配置 <bean id="nativeJdbcExtractor" class="org.springframework.jdbc.support.nativejdbc.WebSphereNativeJdbcExtractor" /> 2.注入 @Autowired private WebSphereNativeJdbcExt ...
<!-- [if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing ...
function Cookie(){ // 保存数据到cookie this.put = function (name,value){ if((""+value).indexOf(";")!=-1){ document.cookie = name+"="+escape(value.substring(0,value.indexOf(";")))+value.substring(value.indexOf(";")); }else{ document ...
CREATE OR REPLACE TYPE EMP_SALARY_REC AS OBJECT (EMP_ID NUMBER(5),EMP_NAME VARCHAR2(255),START_DATE DATE,SALARY NUMBER );/CREATE OR REPLACE Type EMP_SALARY_TAB AS TABLE OF EMP_SALARY_REC;/next we will create a small package with one single test procedureCREATE OR REPLACE PACKAGE EMP_SALARY_PKG ISPROC ...
body{background-color:#dde6f3;} tr.error{background-color: #FFFF33;};  这两种样式放在一起,发现error失效了,好像是被掩盖了,不知道有没有谁知道这是怎么回事。
自己尝试着写了个分页插件,发出来请大家指正 /** * 分页插件 * co-hedahong001 */ (function($) { var page = { pageSize:10, pageNo:1, count:0, maxPage:0 }; function load(){ var opts = $.fn.paging.defaults; var params={}; if (opts.formId) { if(opts.validate){ if(!$("#"+opts.for ...
Struts2代码片段:   @Action(value = "getData", results = { @Result(type = "plainText") }) public String getData() throws Exception { HttpServletResponse response = ServletActionContext.getResponse(); response.setCharacterEncoding("utf-8"); Pr ...
错误信息:Build path is incomplete. Cannot find class file for org/apache/commons/pool/KeyedObjectPoolFactory 导入commons-dbcp.jar和commons-pool.jar,dbcp依赖于commons-pool.jar
目录结构:src/applicationContext.xml;WebRoot/WEB-INF/security.xml;WebRoot/WEB-INF/web.xml; 配置文件: web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XM ...
public static String ge**5(String salt, String str) throws NoSuchAlgorithmException { str = str + "{" + salt + "}";//密码和盐值组合方式 byte[] strBytes = str.getBytes(); MessageDigest md = MessageDigest.getInstance("MD5"); byte[] d ...
数据库:sqlserver 2005 对下表(table)进行模糊查询: id n 1 _string 2 %string 3 [_]string 4 [%]string SQL: select * from table where n like '/_%' escape '/' --返回第一行 select * from table where n like '/[%' escape '/' --返回第三和第四两行 select * from table where n like '/[/%' escape '/' --返回第三 ...
Global site tag (gtag.js) - Google Analytics