• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use the tag library provided by apache

 
xiao cui
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
same
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There about 30 tag libraries under the Apache Jakarta project, including the reference implementation of the JSTL. Which one in particular are you referring to?
BTW, "javac learner", could you just take a quick look at the naming policy and edit your profile.
Thanks
Simon
 
chanoch wiggers
Author
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if its the JSTL tho - have a look here
http://java.sun.com/webservices/docs/ea1/tutorial/doc/JSTL.html
 
xiao cui
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I updated my displayed name according to the policy.
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!