Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Friday, October 10, 2014
Using Java Send Email Using Smtp Server(Html, Attachment, Embedded Image)
›
First download java mail api jar from: https://java.net/projects/javamail/pages/Home or here . And add this to your project classpath. ...
GRAILS Database Data To XML File
›
import grails.converters.XML grailsApplication . domainClasses . each { def domainClass -> dataMap [ domainClass . clazz . ...
Read & Construct CSV File Using Java Code
›
http://agiletribe.wordpress.com/2012/11/23/the-only-class-you-need-for-csv-files Input CSV File package com . pritom . kumar ; ...
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 ...
‹
›
Home
View web version