Archives for October, 2012

Java/Spring/Web: Logout servlet example
Hi, A simple mini-post concerning a servlet to invalidate the current session when the user wants to logout. This is directly supported by the servlet api by the call to appropriate method HttpSession.invalidate() in a servlet or a controller dedicated to invalidate session. I). Server Side components First, following the codes of coordinator servlet LogoutServlet: Explanations: This class LogoutServlet implements the interface HttpRequestHandler which ...more»
Sencha/ExtJs: Encode/Decode an array in the client/server communications
Hi, I would expose you a simple solution to encode an array of objects during the submission of a form on client side (in Javascript) and decode this same array on server side (in JAVA). Client side During the submission of a form, we create a parameter named MyArrayParam which will contain the array of objects: We need a method to create the parameter ...more»
Java/XSL: XSL-FO with Apache FOP
Here, a post to present briefly the recommandation XSL Formatting Objects (XSL-FO) and an example with Apache FOP. This article is a part of a serie of posts concerning the XSL recommendations. From the W3C website about the The Extensible Stylesheet Language Family (XSL) XSL is a family of recommendations for defining XML document transformation and presentation. It consists of three ...more»
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.