Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Tuesday, December 4, 2007

java code for JSTL core tag: if

<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

Using the Core JSTL tags

Here are the available Time Zone IDs on your system






















// Save the ZoneWrapper.class into WEB-INF/classes/com/java2s
//ZoneWrapper.java

package com.java2s;


import java.util.TimeZone;

public class ZoneWrapper {

public ZoneWrapper() {
}

public String[] getAvailableIDs() {

return TimeZone.getAvailableIDs();

}

}

No comments: