白金之星札記

架構師筆記本

2013年1月15日 星期二

Integrate Bean Validation (JSR303) with Struts2 -- Outline

許多MVC Framework都已經將JSR303納為default form validation的方式,但是Struts2卻遲遲未做,所以我得自己來整合這一段,步驟頗繁瑣,所以分為幾篇來說明,這裡只列出大綱。
  1. Integrate Bean Validation (JSR303) with Struts2 -- SpringValidationInterceptor
  2. Integrate Bean Validation (JSR303) with Struts2 -- SpringI18nInterceptor
  3. Integrate Bean Validation (JSR303) with Struts2 -- Annotation & ValidateMessageFormatter
  4. Integrate Bean Validation (JSR303) with Struts2 -- Configuration
  5. Integrate Bean Validation (JSR303) with Struts2 -- Struts2 Action Sample
張貼者: Unknown 於 下午4:24
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: 軟體研發, Bean Validation, Spring, Struts2
較新的文章 較舊的文章 首頁

關於我自己

Unknown
檢視我的完整簡介

熱門文章

  • iText官方的iTextAsian.jar和iTextAsianCmaps.jar在哪下載?
    在Google上搜尋大多是第三方的使用者放的,而iText官方網站也不再放舊版的download link,我找了一陣子終於找到官方的舊版jar檔就在它的tags目錄裡面。 網址: iText 2.1.7 lib
  • 以Apache HTTP Server做為Tomcat Load Balancer
    原則上有兩種方式: Apache Module mod_proxy The Apache Tomcat Connector 以前我慣用第二個,也就是jk2 connector,但不可諱言,它的設定比較複雜,而且後端AP server也只能接tomcat。 最近有機...
  • Applying Spring Security for SSO of Cross Web Applications
    因應雲端世代的來臨,在架構設計上必須讓系統具有分散式佈署的能力,所以將一個大的系統用多個web application來開發是無可避免的方式,除了在module上可以做功能性的分割之外,也可以將不同的web application佈署到不同的application server上...

標籤

軟體研發 (94) 生活隨記 (71) Spring (25) Struts2 (22) Java (16) 丼物 (11) 拉麵 (10) Bean Validation (9) Maven (7) 甜品 (7) Hibernate (6) Spring Security (6) 定食 (6) Elasticsearch (5) 小吃 (5) 集郵 (5) Eclipse (4) Linux (4) Online Tools (4) 牛肉麵 (4) Apache CXF (3) Apache Commons (3) JAX-RS (3) JUnit (3) JavaScript (3) Tomcat (3) lucene (3) 咖哩 (3) 牛排 (3) 義大利麵 (3) 鍋物 (3) AMQP (2) Android (2) Docker (2) JSON (2) iText (2) 涼麵 (2) 食べ放題 (2) Cacti (1) Cloud (1) Database (1) HTML (1) JExcelApi (1) JasperReports (1) Jenkins (1) LZ4 (1) Modeling (1) Objective-C (1) SQL (1) Spring Integration (1) compression (1) jQuery UI (1) 壽司 (1) 燒臘 (1) 韓式料理 (1)

網誌存檔

  • ►  2016 (5)
    • ►  9月 (5)
  • ►  2015 (6)
    • ►  5月 (5)
    • ►  4月 (1)
  • ►  2014 (5)
    • ►  12月 (2)
    • ►  11月 (2)
    • ►  1月 (1)
  • ▼  2013 (123)
    • ►  4月 (1)
    • ►  3月 (7)
    • ►  2月 (32)
    • ▼  1月 (83)
      • ModelMapper
      • Unit Test to Struts2 Action with Spring
      • ISO8601 and User Timezone in JavaScript
      • DBeaver - Universal Database Manager
      • Tuning Artifactory
      • Java Scripting API
      • Data Driven Testing by JUnit Theories
      • Data Driven Testing by JUnit Parameterized Tests
      • 統一滿漢大餐蔥燒牛肉麵
      • 首日封上郵戳的分別
      • How to Check Apache CXF Services
      • Enable Hibernate Filter Dynamically
      • JExcelApi Cell Mapper
      • 一騎札幌拉麵
      • Applying Bean Validation (JSR303) for Design by Co...
      • Precondition of Design by Contract
      • Applying Spring Security for SSO of Cross Web Appl...
      • Interview Struts2 Static Content
      • Interview Spring Security
      • Integrate CAS with Spring Security
      • Interview Struts2 UI Component & Struts2 jQuery Pl...
      • Runtime Environment for Continuous Integration wit...
      • Hibernate Generic Paging DAO
      • 彩虹日本料理
      • 六甲媽祖廟剉冰
      • 相逢有樂町
      • 麵屋輝
      • Customize Hibernate JSON UserType & Apply Package ...
      • Configure LdapAuthenticationProvider Programmatically
      • Applying Spring Security for HTTP Basic Authentica...
      • Struts2 Breadcrumb Bar
      • How to Obtain Result in Action -- Applying Struts2...
      • Spring Profile
      • Programmatic AOP PointCut
      • Integrate Bean Validation (JSR303) with Struts2 --...
      • Integrate Bean Validation (JSR303) with Struts2 --...
      • Integrate Bean Validation (JSR303) with Struts2 --...
      • Integrate Bean Validation (JSR303) with Struts2 --...
      • Integrate Bean Validation (JSR303) with Struts2 --...
      • Integrate Bean Validation (JSR303) with Struts2 --...
      • Integrate Spring AOP with Struts2 Action
      • Jasypt: Java Simplified Encryption
      • Struts2 ParamsPrepareParamsStack & Partial Update
      • 著手小技術,放眼大雲端
      • Project Lombok
      • Filter Declaration Order
      • 神座日式拉麵
      • 八彩日式料理
      • Apache Commons DbUtils
      • Online image to base64 converter
      • Google Url Shortener 短網址服務
      • 屯京拉麵
      • 符合Bean Validation規格的統一編號驗證 (JSR303)
      • 符合Bean Validation規格的身分證字號驗證 (JSR303)
      • Customize JAX-RS Provider (JSR311)
      • 使用Apache CXF快速製作Java RESTful Client (JSR311)
      • Favicon
      • Mock or Not ?
      • 究竟什麼是強?
      • Struts2 Convention Plugin with Spring Plugin
      • Struts2 Spring Plugin 詳解
      • Useful jQuery UI Plugins
      • Spring Security 3.1.x AccessControlListTag 詳解
      • Integrate Apache Commons Configuration with Spring
      • 快速檢視Single Class Responsibility原則
      • Struts2 JSONResult 參數調校
      • Struts2 Config Browser Plugin -- 管理你的Struts2設定
      • 在Struts2利用Cookie記錄使用者Language Preference
      • ISO8601 & RFC822 日期格式
      • Struts2 StreamResult 免設定法
      • <context:annotation-config/>與<context:component-sc...
      • Hibernate hbm2ddl API
      • 在SQLServer撈出Table Schema的SQL語法
      • Tomcat Charset Encoding
      • iText官方的iTextAsian.jar和iTextAsianCmaps.jar在哪下載?
      • Maven的itext-2.1.7.js1.jar在哪?
      • Maven 3 pom.xml 範例
      • 我慣用的Eclipse Plugins
      • M2Eclipse Update Snapshot include Sources
      • 八里放風箏
      • Google J2ObjC: A Java to iOS Objective-C translator
      • 以Apache HTTP Server做為Tomcat Load Balancer
      • 在家烤牛排的心得
  • ►  2012 (17)
    • ►  12月 (3)
    • ►  8月 (3)
    • ►  7月 (4)
    • ►  6月 (4)
    • ►  3月 (1)
    • ►  2月 (2)
  • ►  2011 (2)
    • ►  10月 (2)
  • ►  2009 (3)
    • ►  9月 (1)
    • ►  8月 (2)
  • ►  2008 (4)
    • ►  8月 (3)
    • ►  2月 (1)
圖片視窗主題. 技術提供:Blogger.