W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2004


From: Anoop Saini <anoop.saini@opussoft.com>
Date: Wed, 4 Aug 2004 10:39:21 +0530
Message-ID: <003001c479e1$3639d9e0$7a0a0a0a@anoops>
To: <www-lib@w3.org>

----- Original Message ----- 
From: Anoop Saini 
To: Venkat Raghavan 
Sent: Tuesday, August 03, 2004 8:17 PM
Subject: Re: QUERY

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 "This is some test data"  

output -----

Posting to
Anoop STATUS [1]
Anoop STATUS [1]Anoop wrtp[POST /electra.jsp HTTP/1.1
Accept: */*;q=0.3
TE: trailers
Expect: 100-continue
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
 I have give file name but got something like



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.
  ----- Original Message ----- 
  From: Venkat Raghavan 
  To: www-lib@w3.org 
  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.

Received on Wednesday, 4 August 2004 01:12:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC