I am going to respond to my own question...
I have located the following directory on my PC (which contained the
jar files that I needed). In My Eclipse I just added to my classpath a
"library" called "J2EE 1.4 Library Set". Then I could compile my
custom JSF components.
C:\Program Files\MyEclipse
5.0GA\eclipse\plugins\com.genuitec.eclipse.j2eedt. core_5.0.0\data\libraryset\1.4
I assume that I could install J2EE (very hevy footprint) or get these
somewhere else. But basically I find the following jars there...
activation.jar
javax.servlet.jsp.jar
javax.servlet.jar
jboss-jaxrpc.jar
jboss-j2ee.jar
jboss-jsr77.jar
jboss-saaj.jar
mail.jar
namespace.jar
xml-apis.jar
I am not sure if I have to deploy these to Tomcat, but I will let you
know.
Arne Vajhøj wrote:
> wrote:
> > I am new to JSF, and custom JSF - is J2EE (Enterprise Edition) a
> > requirement when creating custom JSF components? When I try to extend
> > UIComponentTag I get compiler error
> > "javax.servlet.jsp.tagext.JspIdConsumer cannot be resolved. It is
> > indirectly referenced from required .class files". I found this in
> > the J2EE API, so I know that it exists there - but I would like to use
> > J2SE; I will be running on Tomcat.
>
> JSF is part of J2EE.
>
> You can deploy a JSF implementation on Tomcat without
> anything else because Tomcat has the relevant J2EE pieces.
>
> For development you can either find the jars in Tomcat or just
> grab the J2EE SDK and use j2ee.jar.
>
> Arne