--- Telmo Costa <[EMAIL PROTECTED]> wrote: > I also changed the annotation to > @StrutsTag(name="date2", tldTagClass="my.Date2Tag" > ...). It compiled fine, but when I try to use it in > a jsp, it throws "javax.servlet.ServletException: > /pages/example/Format.jsp(42,2) No tag "date2" > defined in tag library imported with prefix > "s"". I couldn't understand yet how the annotation > works, so can you tell me what is wrong?
I'm not sure how the annotation is being processed, but I would imagine that (at least in the beginning) define your own TLD for your own custom tags. The annotation is (probably, anyway?) used to create the S2 TLD file at build-time. So you'd either need to duplicate that step, or just create one manually. d. ____________________________________________________________________________________ Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]