Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

http request with LWP::Useragent

by Anonymous Monk
on May 23, 2013 at 09:34 UTC ( #1034924=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am using LWP::UserAgent module to get HTTP response from YY.JSP and embed the same in div in my web page.

I am getting the response. But the problem I get is below.

In that JSP there is a frameset with mulitple frames. Each frame loads another X.JSP.

When I get the response and check in browser, I do get the frame with JSP.

But it does not load contents or should I say the response is not returning the contents of that X.JSP. I get following in response.
<HTML>...<Body>.... <frameset cols=33%,* onunload="" ><frame border=1 frameborder=yes name +=client src=X.jsp></frameset>
But, it does not show the contents from X.jsp. The page stays blank.

Is it that LWP useragent module only process the first YY.JSP but not any X.JSP inside YY.JSP?

Thanks in advance.

- Amit

Comment on http request with LWP::Useragent
Download Code
Replies are listed 'Best First'.
Re: http request with LWP::Useragent
by Anonymous Monk on May 23, 2013 at 09:49 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1034924]
Approved by derby
Front-paged by derby
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-29 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls