Home arrow static arrow Java Programming [Archive] - How to use HTTP GET to receive XML file?
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - How to use HTTP GET to receive XML file?
This topic has 3 replies on 1 page.

Posts:58
Registered: 9/10/02
How to use HTTP GET to receive XML file?  
Aug 4, 2004 12:49 PM



 
Hi,

I like to know how to constantly use servlet to monitor for incoming xml file for processiing?

I know it should use http get, so should I use the doGet method in servlet?

How do I handle multiple request in the doGet method?

Can give me some samples?

Thanks and regards.
 

Posts:31,095
Registered: 4/30/99
Re: How to use HTTP GET to receive XML file?  
Aug 4, 2004 1:53 PM (reply 1 of 3)



 
I like to know how to constantly use servlet to
monitor for incoming xml file for processiing?

Using a servlet to monitor for something happening is a bad idea. Use something else.
 

Posts:96
Registered: 5/19/04
Re: How to use HTTP GET to receive XML file?  
Aug 4, 2004 2:00 PM (reply 2 of 3)



 
Hi,

I like to know how to constantly use servlet to
monitor for incoming xml file for processiing?

I know it should use http get, so should I use the
doGet method in servlet?

How do I handle multiple request in the doGet method?

Can give me some samples?

Thanks and regards.

It's little unclear about your objective. Is your client using HTTP to read an xml
file?
 

Posts:58
Registered: 9/10/02
Re: How to use HTTP GET to receive XML file?  
Aug 4, 2004 2:06 PM (reply 3 of 3)



 
The client is using HTTP POST to send the xml file over the servlet.

Therefore the servlet will receive the XML file using HTTP GET and then process the XML file.

Can I have a example of how to receive the file using HTTP GET ?

Thanks.
 
This topic has 3 replies on 1 page.