Perl LWP Issue with JSP's

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 -->
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top