<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    lyyb2001

    只是為方便自己找記錄而已
    posts - 57, comments - 27, trackbacks - 0, articles - 5
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 ::  :: 管理

    2016年11月3日

    表單里面先對某一個控件有效性驗證(如手機號碼,當手機號碼輸入正確,才發送驗證碼,最后才是對表單驗證)

    <input type="text" id="mobile" name="mobile" placeholder="請輸入您的手機號碼" class="easyui-validatebox form-control" data-options="required:true,validType:'mobile'" />

    validateType自己擴展規則

    對單個輸入框的驗證為:$("#mobile").validatebox('isValid') 通過返回true

    posted @ 2017-09-19 15:59 skycity 閱讀(838) | 評論 (0)編輯 收藏

        public enum Section {
    KITTING(1),
    LABELKITTING(2),
    PACKING(3);

    private final int code;

    private Section(int code)
    {
    this.code=code;
    }
    public int getCode()
    {
    return this.code;
    }
    }

    Map<Integer,Section> MAP=Arrays.stream(Section.values()).collect(Collectors.toMap(s->s.code, section->section));

    posted @ 2017-07-11 11:40 skycity 閱讀(2765) | 評論 (0)編輯 收藏

    Optional<MaterialPaneModel> maxMaterial = list.stream().max(Comparator.comparingInt(MaterialPaneModel::getMaterialQty));

    posted @ 2017-07-06 15:43 skycity 閱讀(4017) | 評論 (0)編輯 收藏

    try{

    JaxWsProxyFactoryBean factoryBean = new JaxWsProxyFactoryBean();

    factoryBean.getInInterceptors().add(new LoggingInInterceptor());

    factoryBean.getOutInterceptors().add(new LoggingOutInterceptor());

    factoryBean.setServiceClass(AutoPackServiceIntf.class);

    factoryBean.setAddress("http://10.241.0.105:17000/TEST");

    AutoPackServiceIntf factory = (AutoPackServiceIntf) factoryBean.create();

    Client client = ClientProxy.getClient(factory);

    HTTPConduit conduit = (HTTPConduit) client.getConduit();

    HTTPClientPolicy policy = new HTTPClientPolicy();

    policy.setConnectionTimeout(30000); //連接超時時間

    policy.setReceiveTimeout(120000); //請求超時時間.

    conduit.setClient(policy);

    System.out.println(factory.getFirstUnitCramp("1"));

    }catch(WebServiceException ex){

    long l2 = System.currentTimeMillis();

    System.out.println((l2-l1)+"ms");

    System.out.println("連接異常");

    }

    posted @ 2016-12-08 14:19 skycity 閱讀(295) | 評論 (0)編輯 收藏

    通過Application

    ApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext();

         classPath = classPathXmlApplicationContext.getResource("classpath:config.properties").getFile().getPath();

            if(classPath.indexOf("WEB-INF")>0){

                classPath = classPath.substring(0,classPath.indexOf("WEB-INF")+7)+"/classes/"+xmlFile;

            }

     

    posted @ 2016-11-03 18:17 skycity 閱讀(245) | 評論 (0)編輯 收藏

    主站蜘蛛池模板: 亚洲精品456播放| 成人免费午夜视频| 中文字幕精品亚洲无线码二区| MM1313亚洲精品无码久久| 成年女人午夜毛片免费视频| 亚洲图片中文字幕| 国产人在线成免费视频| 亚洲一区二区三区久久久久| 97碰公开在线观看免费视频| 亚洲an日韩专区在线| 最近中文字幕无吗免费高清| 亚洲色精品VR一区区三区| 午夜男人一级毛片免费 | 亚洲精品久久久www| 日本视频免费观看| 久久精品亚洲男人的天堂| 中文字幕在线免费视频| 亚洲第一成年男人的天堂| 最近免费2019中文字幕大全| 亚洲AV综合色区无码二区爱AV| 在线免费观看一区二区三区| 老司机免费午夜精品视频| 国产亚洲一区区二区在线| 性xxxxx大片免费视频| 国产精品亚洲精品青青青| 四虎永久在线精品免费观看地址 | 免费福利在线视频| 亚洲国产日韩在线一区| 日韩免费视频播放| 黄桃AV无码免费一区二区三区| 亚洲国产精品久久久久婷婷软件| 99在线精品免费视频九九视| 国产青草亚洲香蕉精品久久| 亚洲精品V欧洲精品V日韩精品| 亚洲成人免费网站| 理论片在线观看免费| 无码乱人伦一区二区亚洲| 性色av免费观看| 97国免费在线视频| 国产成人精品亚洲2020| 亚洲精品成人无限看|