• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use apache taglib correctly?

 
xiao cui
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use the tag weekdays in my jsp. I copy the code as the following:
Select a Week Day
<select name="weekday">
<dt:weekdays id="day">
<option value="<jsp:getProperty name="day" property="dayOfWeek"/>">
<jsp:getProperty name="day" property="weekday"/>
</dt:weekdays>
</select>
then I display my jsp. In the select tag, ??? is displayed. Does this mean i have to usebean? I wonder what property it should have? how to set the property?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!