Hello everybody, I have a problem which I don't know how to start solving.
I'm creating an stand alone application that can be able to read files located in a server.
For instance, I have a web application in my linux server which has a
Tomcat 6.0 (It has authentication as well)
So, for example, I want my stand-alone application to read a log file located in this route: /usr/share/tomcat6/logs/log.xml
The content parsing can be solved easily, but I wonder how to start making the connection, since the tomcat needs an user and password to connect and how can I give the route.
I'm not sure if I have to use HTTPConnection or just open an URLConnection.
If somebody could help me I'll be very grateful. Thank you in advance.