<c:set var="myConstant"><%= Constants.MY_CONSTANT %></c:set>

<c:out value="${myConstant}"/>

-- Jeff

CRANFORD, CHRIS wrote:

I have defined a test class with constants as follows:

public class Constants
{
  public final static String MY_CONSTANT = "OK";
}

What I want to do is in my html:option tag, I want to set the value
associated with that tag to the constant MY_CONSTANT.  How would one do
this?

-=cc=-


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to