Hi Pierre,

I just started writing taglibs myself and I ran into the same problem.  I'm
not sure how to get around the Jar problem, but to make it easier for
myself, I created a batch file that I execute that jar's up my classes
whenever they change.  However if someone out there knows of a better way,
I'd love to hear about it.  

Since you had some questions about output from within a tag, I've attached a
jar file with my taglib.  Take a look at the sources within the jar file.

Here is how I invoke it form a JSP:
<%@ taglib uri="watags.jar" prefix="wa" %>
<% Date lxToday = new Date(); 
   pageContext.setAttribute("TestDate", lxToday);
%>
<wa:WADate ControlName="Test" TargetDate="TestDate">
<WAMONTH> <WADAY> <WAYEAR>
</wa:WADate>

Hope this helps.
Andre V

 

winmail.dat

Reply via email to