My Blog

All about my activities, Ideas and everything.

Month: April, 2010

How to create a custom Function for JSTL

So just a quick post. How do we create a custom function for JSTL. Let’s begin. 1. Create a .tld file under /WEB-INF 1234567891011<?xml version="1.0" encoding="UTF-8"?> <taglib version="2.1" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd">     <tlib-version>1.0</tlib-version>     <short-name>mytlds</short-name>     <uri>http://www.noppanit.com/myTlds</uri>     <function>         <name>charAt</name>         <function-class>com.nc98.expressions.Functions</function-class>   [...]

CSS Hack for Cross-platform CSS

This site just saved my life! http://www.webdevout.net/css-hacks

Vignettes 101 in Photoshop CS4

Vignettes mean the edges of the image. I think but I’m not sure. So, let’s get to the point. How do I do it? In Photoshop, go to Filter -> Distort -> Lens Correction. In section vignette you can adjust amount and midpoint. You can choose to darken or lighten your image with amount. You [...]