Richard Hirner | 2 Aug 2004 21:32
Picon
Favicon

libwww HOWTO - contributors?


Please contribute! ;)

http://redforce.homeip.net/HOWTO/libwww/
HTML: http://redforce.homeip.net/HOWTO/libwww/libwww.xml.html

Richard Hirner

Erik Lotspeich | 3 Aug 2004 04:05

Re: libwww HOWTO


Richard,

On Sun, 1 Aug 2004, Richard Hirner wrote:

>
> Hello!
>
> I think the libwww documentation is very extensive but difficult to 
> understand, i.e. many programmers can't use all the great features or don't 
> even dare to try it (including me, it has been much work to understand even 
> the easy things).

I agree with you 100%.  I learned from the examples, but the rest of the 
documentation is definitely difficult to understand.  I'm sure that there 
are more features just waiting to be used!

>
> => Q: Is there anybody who wants to write a libwww (mini) HOWTO with me?

I really like the idea of what you're suggesting and I'd like to help.  My 
understanding is limited, but I could offer help with what I do 
understand (GET/POST, SSL, HTTP Basic Auth).

Regards,

Erik.

Anoop Saini | 3 Aug 2004 08:32

QUERY

hi,
I am using this library to post data through post script in
w3c-libwww-5.4.0/Library/Examples to my local URL a JSP
page actually using tom cat server.
This post script taking a URL and some test data "character string" on
command prompt on "Sun" plateform.
I want to know that in what parameter the test data is going to that URL
so that i can get parameter in my JSP page.
Its being very difficult to find parameter name. I need your help.
I will bw very thankful to you.
bye
Anoop
 
Venkat Raghavan | 3 Aug 2004 09:09

Re: Newbie Question: Asynchronous Requests and EventLoop

Are you calling HTEventList_stopLoop() to come out of event loop?
Venkat Raghavan | 3 Aug 2004 10:54

Re: QUERY

The posted data goes to the server as data stream. Get the inputstream object from HttpRequest object. Read data from input stream.
Gal Blank | 3 Aug 2004 08:47

RE: libwww HOWTO - contributions?


How do you want this to be done?
I suggest you open an FTP site so we could upload our contribution to
"HOWTO".
If you have other ideas , please share so we all could start
contributing.
Thanks.
Gal.
Mail	: gblank <at> intewise.com

-----Original Message-----
From: www-lib-request <at> w3.org [mailto:www-lib-request <at> w3.org] On Behalf
Of Richard Hirner
Sent: Monday, August 02, 2004 22:33
To: www-lib <at> w3.org
Subject: libwww HOWTO - contributors?

Please contribute! ;)

http://redforce.homeip.net/HOWTO/libwww/
HTML: http://redforce.homeip.net/HOWTO/libwww/libwww.xml.html

Richard Hirner

Sandesh Anvekar | 3 Aug 2004 12:23
Picon

Re: libwww HOWTO - contributions?


I have a difficulty in understanding what the pipeline feature in libwww =
is
I have seen through the code and I always find that after the first =
request in the pipeline is processed,
the first net object in the pending queue is processed. So how are other =
pipeline requests going to be served?
We see the same thing in the HTTHost_connect() function .
when a request makes and returns with HT_OK it hands over the host->lock =
to the first request in the pending queue and not any
request in the pipeline.
Another query is when libwww writes to the output socket through =
HTWriter it always uses HTHost_lastinPipe() net object
whereas for read operation it uses just the oppposite =
HTHost_firstinpipe() net object. What is the ratioanle behind this =
design?
Can anyone help me out?

Thanks in advance,
Sandesh Anvekar
Project Engineer
ControlNet (I) Pvt. Ltd. 
L-44, Unit-1, STP, 
Verna Ind Estate 
Verna - Goa 
Ph No: 0832 2883601 Ext 504

----- Original Message ----- 
From: "Gal Blank" <gblank <at> interwise.com>
To: "Richard Hirner" <richard <at> hirner.at>; <www-lib <at> w3.org>
Sent: Tuesday, August 03, 2004 12:17 PM
Subject: RE: libwww HOWTO - contributions?

How do you want this to be done?
I suggest you open an FTP site so we could upload our contribution to
"HOWTO".
If you have other ideas , please share so we all could start
contributing.
Thanks.
Gal.
Mail : gblank <at> intewise.com

-----Original Message-----
From: www-lib-request <at> w3.org [mailto:www-lib-request <at> w3.org] On Behalf
Of Richard Hirner
Sent: Monday, August 02, 2004 22:33
To: www-lib <at> w3.org
Subject: libwww HOWTO - contributors?

Please contribute! ;)

http://redforce.homeip.net/HOWTO/libwww/
HTML: http://redforce.homeip.net/HOWTO/libwww/libwww.xml.html

Richard Hirner

Anoop Saini | 4 Aug 2004 07:09

Fw: QUERY

 
----- Original Message -----
Sent: Tuesday, August 03, 2004 8:17 PM
Subject: Re: QUERY

hello
I am not able to get the communication how its sending the data or whether the dat is going to our JSP page or not ,i am pasting what i was doing and i m attaching the JSP file so that you can have feel of that what i am doing.
here is command and output.
 >$post   http://10.10.10.122:8080/test.jsp "This is some test data" 
 
output -----

Posting to http://10.10.10.122:8080/test.jsp
Anoop STATUS BEFORE [0]
Contacting 10.10.10.122
Anoop STATUS [1]
Anoop STATUS [1]Anoop wrtp[POST /electra.jsp HTTP/1.1
Accept: */*;q=0.3
TE: trailers
Expect: 100-continue
Host: 10.10.10.122:8080
User-Agent: libwww-POST/1.0 libwww/5.4.0
Connection: TE,Keep-Alive
Date: Tue, 03 Aug 2004 14:22:53 GMT
Content-Length: 21
Content-Type: text/plain
/* here how can we print the data ,as we printed len and type of buffer that is going on socket ,as we didnt get the parameter */

] len[262]Writing 1Kbytes
Anoop cl[-1]Anoop input[]Read (0% of 1K)
Please give name of file to save in: (RETURN for [/tmp/test.jsp]) xyz(file name
done!
 I have give file name but got something like
 
<HTML>
<BODY>
<br>
 
<H2>POSTED VALUES</H2>
 
</BODY>
</HTML>
as you can see in jsp file its not even enter into the java code for output.
so where is exactly the problem and  the flow of posting the data to jsp page . i m using " tomcat server 4.1.24".
So please if possible help me out.
Thank.
Anoop
----- Original Message -----
Sent: Tuesday, August 03, 2004 2:24 PM
Subject: Re: QUERY

The posted data goes to the server as data stream. Get the inputstream object from HttpRequest object. Read data from input stream.
Attachment (test.jsp): application/octet-stream, 317 bytes
shrish tewari | 4 Aug 2004 07:48
Picon
Favicon

doubt regarding license

 Hi,

I had gone through the LibWWW License Agreement at :
http://www.w3.org/Library/#Legal
I have a doubt.

Can LibWWW tool be used for a commercial product, provided we bundle the COPYRIGHT and LICENSE statements?
If not, what should I do if I want to use LibWWW for a commercial product?

Can someone clarify?

Regards
shrish

Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Anoop Saini | 4 Aug 2004 14:57

Querry

hi
How can i use libWWW to post a request to server and get a request from the server.
Help me.
 

Gmane