Perl LWP Issue with JSP's

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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();
$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="$" property="" ascending="false" /
Quoted text here. Click to load it
119:                                      <c:set var="playerScore"
value="0" />
120:                                      <c:set var="uniqueRules"
value="$" />
121:                           <tr align="left" valign="top">


<!-- clientplayerinfo-football.jsp ends -->

Re: Perl LWP Issue with JSP's

Sorry, it was a typo - all working ok now...

Site Timeline