You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guillaume Lederrey <gu...@gmail.com> on 2005/07/20 16:09:47 UTC

Using a constant in a JSP

  Hello !

  This is probably a dumb question, but I'll try anyway. Please dont
laugh at my ignorance ;-)

  I'm trying to use a constant (static final String) that is defined
in a class. My code looks roughly so :


<%@ page import='ch.tecost.siems.dao.care.planification.FrequencyType' %>

[...]

<html:radio name="form" property="frequencyType"
value="${FrequencyType.MEAL_TIME}"  [...] />



Of course, this doesnt seem to work. What would be the right syntax ?
I'm a bit lost and dont know exactly what I should be looking for.
Yes, I tried Google with no success; or too much success (millions of
page that dont exactly tell me what to do in this case) ...

  Thanks a lot for the time you will take to make me less ignorant !


    Guillaume

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org