Fixed problem with setDoOutput() method, added some useful links