TagLib Scrape
HejJeg forsøger at bruge scrape tablib, men det fungerer ikke. Her er min sourcekode:
**********************************
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<%@ taglib uri="http://jakarta.apache.org/taglibs/scrape-1.0" prefix="scrp" %>
<head>
<title>Example JSP using scrape taglib</title>
</head>
<body bgcolor="#FFFFFF">
<scrp:page url="http://finance.yahoo.com/q?s=SUNW" time="10">
<scrp:scrape id="qt" begin=" <table border=1" end="</table>
"anchors="true"/>
</scrp:page><%-- close the page tag --%>
<scrp:page>
<scrp:url> http://biz.yahoo.com/n/s/sunw.html</scrp:url>
<scrp:scrape id="ns" begin=" <body>"
end="</body> "anchors="true"/>
</scrp:page>
<%-- get the results of the previously performed quote scrape --%>
<scrp:result scrape="qt"/>
<%-- get the results of the previously performed news scrape --%>
< scrp:result scrape="ns"/>
</body>
</html>
******************************
De forskellige tags bliver parset fint, og jeg får ingen fejlmeddelelse, når jeg henter siden. Men den henter intet indhold fra websiderne.
Jeg har defineret taglib i web.xml, osv.
Nogle ideer?.
Søren
M.v.h
