Hi,
I am new to JSP and XML in web service development. I have the situation below :

I have say, index.xml in tomcat web-server. I want to retrieve it using the url connection and prepare that file into raw xml format to be sent to client later (whenever an client request index.xml, it will get this raw xml).

could anybody give me the link to do it both, open connection and format the raw xml?

Any link would help

Thanks