Hi All,
I'm not having much luck getting this to work as show in this tutorial :
http://java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/
This is my page code :
------------------------------
<%@ taglib uri="/WEB-INF/lib/rssutils.tld" prefix="rss" %>
<rss:feed url="http://news.bbc.co.uk/rss/newsonline_uk_edition/world/rss091.xml" feedId="javaSunCom"/>
<html>
<body>
<b>Image: </b>
<rss:channelImage feedId="example1" asLink="true"/><br>
<b>Title: </b>
<rss:channelTitle feedId="example1"/><br>
<b>Link: </b>
<rss:channelLink feedId="example1" asLink="true"/><br>
<b>Description: </b>
<rss:channelDescription feedId="example1"/><br>
<ul>
<li><rss:itemTitle feedId="example1" index="0"/><br>
<rss:itemDescription feedId="example1" index="0"/><br><br>
<li><rss:itemTitle feedId="example1" index="1"/><br>
<rss:itemDescription feedId="example1" index="1"/><br>
</ul>
</body>
</html>
---------------------------
The page is placed in C:\Tomcat\webapps\ROOT\test\rss.jsp
In the directory :
C:\Tomcat\webapps\ROOT\WEB-INF\lib I have placed the files :
- rssutils.jar
- rssutils.tld
In C:\Tomcat\webapps\ROOT\WEB-INF\web.xml I have put this code :
--------------
<taglib>
<taglib-uri>/WEB-INF/lib/rssutils.tld</taglib-uri>
<taglib-location>/WEB-INF/lib/rssutils.tld</taglib-location>
</taglib>
--------------
So I think I have done everything as said in the tutorial, but it doesn't work.
Anybody got any idea what I could be doing wrong?
O yea, the thing that's not working is, is that there is no news showing.
I
don't see any jsp error, so I think the taglib is correct
Thanks for any help!!