Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Friday, October 10, 2014
Java Code for Calculating HMAC-SHA1 & HMAC-SHA256 Signature
›
package com . pritom . kumar ; import javax.crypto.Mac ; import javax.crypto.spec.SecretKeySpec ; /** * Created by pritom on 0...
Saturday, September 27, 2014
GRAILS Render Or Display XML In Browser
›
import groovy.xml.XmlUtil .... def xmlString = "YOUR XML STRING" ; def xmlAsText = XmlUtil . serialize ( xmlString ) r...
GRAILS Custom Codec Example
›
All custom codec must be in grails-app/utils folder in any package. Suppose I first created a package named 'pritom.kumar.codecs...
Friday, September 19, 2014
Spring MVC - Custom Exception Handling & Send Appropriate Error Code
›
Download full source code Create a custom exception handler class as follows: package com . pkm . maven . exception ; public ...
Access Spring-ApplicationContext/ServletContext From Everywhere
›
Create a java class such named 'AppUtils.java' with following contents: package com . pkm . maven . common ; import javax...
Wednesday, September 17, 2014
Spring MVC with ControllerClassNameHandlerMapping MultiActionController
›
maven2-servlet.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns= "http://www.springfram...
Sunday, September 14, 2014
Spring MVC Framework Global Layout Used To Be Template
›
In your xxxxx-servlet.xml you can extend the viewResolver viewClass with your own implementation ( Download full source code ) <?x...
‹
›
Home
View web version