Perl LWP Issue with JSP's

Discussion in 'Perl Misc' started by tommo_blade, Apr 16, 2008.

  1. tommo_blade

    tommo_blade Guest

    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 -->
    tommo_blade, Apr 16, 2008
    #1
    1. Advertising

  2. tommo_blade

    tommo_blade Guest

    Sorry, it was a typo - all working ok now...
    tommo_blade, Apr 16, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tommy
    Replies:
    0
    Views:
    1,038
    Tommy
    Sep 22, 2003
  2. JD Vernon

    Perl, Oracle, LWP, and PDF's

    JD Vernon, Feb 26, 2004, in forum: Perl
    Replies:
    1
    Views:
    844
  3. Vinay Gupta
    Replies:
    2
    Views:
    1,107
    Michael Schlenker
    Jul 27, 2004
  4. Replies:
    0
    Views:
    4,353
  5. Replies:
    3
    Views:
    136
    Mumia W.
    Mar 8, 2007
Loading...

Share This Page