One JAVA Question?

2003-11-19 Thread Abhijeet Mahalkar
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

Re: One JAVA Question?

2003-11-19 Thread Kwok Peng Tuck
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

Re: One JAVA Question?

2003-11-19 Thread Abhijeet Mahalkar
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

Re: One JAVA Question?

2003-11-19 Thread Kwok Peng Tuck
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

Re: One JAVA Question?

2003-11-19 Thread 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

Re: One JAVA Question?

2003-11-19 Thread Kwok Peng Tuck
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