Click here to get back home

Perl LWP Issue with JSP's

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl LWP Issue with JSP's tommo_blade 04-16-2008
Get Chitika Premium
Posted by tommo_blade on April 16, 2008, 2:29 pm
Please log in for more thread options
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="$" property="gameFixture.date" ascending="false" /
>
119: <c:set var="playerScore"
value="0" />
120: <c:set var="uniqueRules"
value="$" />
121: <tr align="left" valign="top">

Stacktrace:

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


Posted by tommo_blade on April 16, 2008, 3:00 pm
Please log in for more thread options
Sorry, it was a typo - all working ok now...


Similar ThreadsPosted
Perl CGI Issue June 6, 2008, 3:53 pm
Perl performance issue July 27, 2005, 8:47 pm
perl array issue October 26, 2005, 7:47 pm
ASP.Net App Issue... Maybe Resolved via PERL? June 8, 2007, 2:47 pm
Perl User Name/Password issue April 1, 2005, 2:09 am
perl MySQL using DBI - security issue April 12, 2006, 4:24 am
DB Module installation issue in Perl April 21, 2007, 7:28 pm
A perl issue when execute system call July 19, 2007, 7:42 am
The Perl Review, Spring 2006: The Sudoku Issue February 28, 2006, 2:34 pm
Curl/Perl http post performanc issue August 2, 2006, 10:43 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap