This static examples are in spanish locale.

countries:message tag

<countries:message key="ES"/>Spain: Espa�a
<fmt:setBundle basename="net.sf.oness.common.webapp.taglib.countries.Countries" var="bundle"/>

<countries:message key="ES" bundle="${bundle}"/>
Spain using fmt:setBundle: Espa�a
<fmt:bundle basename="net.sf.oness.common.webapp.taglib.countries.Countries">

<countries:message key="ES"/>

</fmt:bundle>
Spain using fmt:bundle: Espa�a
<fmt:bundle basename="net.sf.oness.common.webapp.taglib.countries.Countries">

<countries:message key="ES"/>

</fmt:bundle>

Espa�a

countries:select tag

<countries:select/>Simple select:
<fmt:setBundle basename="net.sf.oness.common.webapp.taglib.countries.Countries" var="bundle"/>

<countries:select bundle="${bundle}"/>
Select using fmt:setBundle:
<fmt:bundle basename="net.sf.oness.common.webapp.taglib.countries.Countries">

<countries:select/>

</fmt:bundle>

Select using fmt:bundle:
<c:set var="selected" value="ES"/>

<countries:select selectedKey="${selected}"/>

Simple select with Spain selected using expression:
<c:set var="selected" value="ES"/>

<countries:select>

<option value="">None</option>

</countries:select>

Simple select with added options: