Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How can I save the "http response header",like=>Etag: "28094e"

Reply
Thread Tools

How can I save the "http response header",like=>Etag: "28094e"

 
 
mike
Guest
Posts: n/a
 
      09-17-2004
regards:
can I save the "http response header" in the following java codes:
String test="Etag: "28094e"";

or there is another better way to save the http response header,like Etag: "28094e"

any suggestions is welcome

thank you
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      09-17-2004
On 17 Sep 2004 08:36:47 -0700, mike wrote:

> can I save the "http response header" in the following java codes:
> String test="Etag: "28094e"";


No. That will not compile. And if you
had typed that into a Java file and tried
to compile it, you would already know that.

> or there is another better way to save
> the http response header,like Etag: "28094e"


Probably, but since I have little idea
what you are talking about, I am unable
to advise further.

How are you getting the HTTP response header?
Is it supplied as a String?

> any suggestions is welcome


Show us your (SHORT) example code.
<http://www.physci.org/codes/sscce.jsp>

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
 
Reply With Quote
 
 
 
 
mike
Guest
Posts: n/a
 
      09-19-2004
regards:
I have got the answer,I can save the data Etag: "28094e" as follows:

String test="Etag: \"28094e\"";


anyway thank you
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAVE AS: a warning message says it can't save teo ASP .Net 1 07-23-2006 01:34 PM
Save contents of iframe from parent's save button user ASP .Net 1 04-04-2005 07:44 PM
Save, Save As, Paste Phil Edwards Computer Support 1 06-27-2004 03:32 PM
can i modify the content in the buffer of response(not response.buffer prep) xingye ASP General 9 04-19-2004 03:49 AM
beside save as htm and txt in IE , can i save as jpeg or other formats ? hycn office ASP General 2 10-10-2003 12:57 PM



Advertisments