hi All
Sorry for this out of forum question. But i want to check thru http protocol
whether the a.txt file exists on the specified Location or not...
e.g. http://1.1.1.1/test/poll/SimpleHTML.html
i want to check whether SimpleHTML.html file exist at the
1.1.1.1/test/coll location or not ?
I
Maybe you can use commons-httpclient to connect to the url, see if you
get a 404 or 200 for the response ?
If you get a 200, you are good to go, 404, means file not found.
Abhijeet Mahalkar wrote:
hi All
Sorry for this out of forum question. But i want to check thru http protocol
whether the
Subject: Re: One JAVA Question?
Maybe you can use commons-httpclient to connect to the url, see if you
get a 404 or 200 for the response ?
If you get a 200, you are good to go, 404, means file not found.
Abhijeet Mahalkar wrote:
hi All
Sorry for this out of forum question. But i want
Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 1:45 PM
Subject: Re: One JAVA Question?
Maybe you can use commons-httpclient to connect to the url, see if you
get a 404 or 200 for the response ?
If you get a 200, you are good to go, 404, means file not found.
Abhijeet Mahalkar
oohh great
thankx
- Original Message -
From: Kwok Peng Tuck [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 2:01 PM
Subject: Re: One JAVA Question?
Under the commons project.
jakarta.apache.org
Abhijeet Mahalkar wrote:
Thankx
PM
Subject: Re: One JAVA Question?
Under the commons project.
jakarta.apache.org
Abhijeet Mahalkar wrote:
Thankx dear for ur imme. reply
will you pls tell me where will i find this commons-httpclient in which
jar
etc... ?
thankx again
abhijeet
- Original Message -
From
6 matches
Mail list logo