T
tommo_blade
Hi, I am tring to retrieve some data from a source page and following
that a link within that source page, I am able to get the data from
the source page OK and also extract the link from the source page but
when I try to get the data from that link I get an error, I get most
of the data from the link but the error appears to be something to do
with a JSP but not sure, can anyone help, the snippet of code below is
what I am using to get the data from the link and the info below that
is the error I get.
p.s. if I do a "view source" on the page I can see the data I need so
I would have thought that the LWP call would have retrieved it.
$ua = LWP::UserAgent->new();
$ua->cookie_jar($cookie_jar);
$req = new HTTP::Request GET => $url;
$res = $ua->request($req);
<!-- clientplayerinfo-football.jsp starts -->
Failure trying to include /clientplayerinfo-football-new.jsp:
Exception in JSP: /clientplayerinfo-football-new.jsp:118
115: <td rowspan="3" width="2"></td>
116: <td align="center" valign="middle">
117: <table width="530"
height="36" border="0" cellpadding="0" cellspacing="0" align="center">
118: <ctv:sort var="facts"
items="${player.facts}" property="gameFixture.date" ascending="false" /119: <c:set var="playerScore"
value="0" />
120: <c:set var="uniqueRules"
value="${player.game.uniqueRules}" />
121: <tr align="left" valign="top">
Stacktrace:
<!-- clientplayerinfo-football.jsp ends -->
that a link within that source page, I am able to get the data from
the source page OK and also extract the link from the source page but
when I try to get the data from that link I get an error, I get most
of the data from the link but the error appears to be something to do
with a JSP but not sure, can anyone help, the snippet of code below is
what I am using to get the data from the link and the info below that
is the error I get.
p.s. if I do a "view source" on the page I can see the data I need so
I would have thought that the LWP call would have retrieved it.
$ua = LWP::UserAgent->new();
$ua->cookie_jar($cookie_jar);
$req = new HTTP::Request GET => $url;
$res = $ua->request($req);
<!-- clientplayerinfo-football.jsp starts -->
Failure trying to include /clientplayerinfo-football-new.jsp:
Exception in JSP: /clientplayerinfo-football-new.jsp:118
115: <td rowspan="3" width="2"></td>
116: <td align="center" valign="middle">
117: <table width="530"
height="36" border="0" cellpadding="0" cellspacing="0" align="center">
118: <ctv:sort var="facts"
items="${player.facts}" property="gameFixture.date" ascending="false" /119: <c:set var="playerScore"
value="0" />
120: <c:set var="uniqueRules"
value="${player.game.uniqueRules}" />
121: <tr align="left" valign="top">
Stacktrace:
<!-- clientplayerinfo-football.jsp ends -->