The example posted by seleronm is indeed the way you set up the web.xml for compiled Java tags referenced by a TLD, but that's quite a bit different.
I realise the nomenclature is confusing, but I am asking about JSP .tag files - not Java - that live in a tags directory referenced by a <%@ taglib tagdir=..." %> directice. The Sun tutorial I posted the link to above is fairly clear about this, but I can't get it to work with GAE in Eclipse. On May 1, 3:34 am, seleronm <[email protected]> wrote: > Hi, > > How about this example? > > <taglib> > <taglib-uri>/WEB-INF/tags</taglib-uri> > <taglib-location>/WEB-INF/xxx.tld</taglib-location> > </taglib> > > Hope some of this helps. > > Please try. > thanks. > > > > >Hi, > > >I'm a fairly longtime Java developer, but a real novice with App > >Engine, and I have been trying for the last day to get even the > >simplest tag file to work with a new Java App Engine project. The > >last mention I have seen of this issue in these forums is over a year > >ago - did everyone just give up or is no-one having a problem now? > > >To be clear, I am talking about reusable JSP fragments, as shown here: > >http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags5.html#wp89664 > >so there are no TLD files involved. > > >I'm using the '<%@ taglib tagdir="/WEB-INF/tags" prefix="h" %>' > >directive, which has worked absolutely fine for me in the past, but > >the prefix is not being recognised in Eclipse, and the tags are > >clearly not working. The error message in Eclipse for the > >unrecognised prefix is 'taglib directive for "h" does not exist or TLD > >is not found." > > >I have also tried adding the following snippet to web.xml, but that > >felt very much like clutching at straws: > > <taglib> > > <taglib-prefix>h</taglib-prefix> > > <taglib-tagdir>/WEB-INF/tags</taglib-tagdir> > > </taglib> > > >Is there some secret I should know, or is this just one of those > >things that don't work in App Engine? > > >Regards, > > >Nello > > >-- > >You received this message because you are subscribed to the Google Groups > >"Google App Engine for Java" group. > >To post to this group, send email to [email protected]. > >To unsubscribe from this group, send email to google-appengine-java+ > >[email protected]. > >For more options, visit this group athttp://groups.google.com/group/google- > >appengine-java?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
