You shouldn't need to place the tld in your WEB-INF directory as long as the library has a URI defined in its TLD that's contained within the JAR.
Reference that URI in your JSP and try that. Matt On Jul 24, 2010, at 6:58 AM, piannaf wrote: > > Hi, > > I'm using Appfuse 2.0.2 and trying to get the Lamatek Google Maps Tag > Library to work (or a general answer about using third party tag libraries > would be appreciated as well). > > I downloaded the jar and did a "mvn install ..." to put it in my local > repository, then edited pom.xml accordingly and refreshed the classpath with > "mvn eclipse:eclipse". > > Here's webapp/mapTest.jsp: > <%@ taglib uri="/WEB-INF/googlemaps.tld" prefix="googlemaps" %> > > <head> > <title>Maps Test</title> > </head> > > <p>Testing</p> > > <googlemaps:map id="map" width="250" height="300" version="2" type="STREET" > zoom="12"> > <googlemaps:key domain="localhost" key="xxxx"/> > <googlemaps:point id="point1" address="74 Connors Lane" city="Elkton" > state="MD" zipcode="21921" country="US"/> > <googlemaps:marker id="marker1" point="point1"/> > </googlemaps:map> > > <p>End test</p> > > ------- > > Of course, googlemaps.tld is in the WEB-INF folder. > > When I run the application, there's just empty space (visually and in the > source) between "Testing" and "End test". What steps am I doing wrong or > missing? > > Thanks > -- > View this message in context: > http://appfuse.547863.n4.nabble.com/Help-using-third-party-tag-library-tp2301063p2301063.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net