This discussion is archived
0 Replies Latest reply: Jun 2, 2008 12:36 AM by 843844 RSS

Sudden error

843844 Newbie
Currently Being Moderated
Hello..
i made a class which posts some codes to an url...it gets the codes from a file from my computer...and it generates me txt files with the page's source...the result page after inserting a code...
i caught ioexception and filenotfound exception...but it read a wrong code after 5800 codes...and i have something like 35000...this is the error that occured:

java.io.IOException: Server returned HTTP response code: 504 for URL: http://www.mfinante.ro/contribuabili/link.jsp?body=/cod.do
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at content.fisier_send.main(fisier_send.java:53)

the thing is that i have to 504 code in my file...so...i don't really now what happened or what more exception i shoul treat..cause it's kind oif annoyng to restart the process over and over againt