• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Recent content by Desova

  1. D

    sending files over sockets in java

    I'm trying to send a file between a client and server with sockets, the only way i've found to do it so far is by opening up a FileInputStream, reading it byte at a time and passing it over a socket and having it written out by a FileOutputStream byte at a time. this looks like it works, text...
  2. D

    java: array within an array?

    sorted. in case anyones interested the way to do it is: int square[][] = new int[3][3]
  3. D

    java: array within an array?

    i'm trying to store a 3x3 grid using a nested array: | 0 | 1 | 2 ------------- 0 | x | x | x ------------- 1 | x | x | x ------------- 2 | x | x | x i tried doing int square [3][3]; but having no joy, seems i'm doing a 2d array which works nothing like i had intended. any...
  4. D

    Apache ANT - Spawning a new window

    right, i can get ANT to spawn a new window when it runs, but it never displays the window contents, apparantly its possible to force it to show the windows that it spawns as well?
  5. D

    java: reading files from inside a jar file

    i'm trying to read in and write to some text files from within a data folder in a jar file. using the this.getClass().getResource("./data/file1.txt"); returns an url, but i cant figure out how to link that from the IFileWriter / FileReader classes, or how to pass a string into them that...
  6. D

    java RMI: getting the client address

    i tried that before and it didnt work. then i realised i forgot to import java.rmi.server.*; :( now i need to get it to work non remotely.
  7. D

    java RMI: getting the client address

    i'm trying to figure out how to get the rmi server to tell me the host address of the client thats using it, for reporting & security purposes. the java.rmi.server.RemoteServer class has a method called .getClientHost() but all my code is in an implimentation class which uses a custom...
  8. D

    java RMI: Sending a file

    i'm trying to get rmi to send a file across the network, just using the rmi method call. though i still havent found a way i can store the file as a single object and pass it as a variable. files wont be particularly big, 100k max does anyone know how to do it?
  9. D

    configuring windows (xp) to use java, javac, rmic etc

    how do i go about getting xp to find the java executables (java javac, rmic, rmiregistry, jar) when i'm using the command line? i was told i had to change the system path variable, added the java directory to it and no joy. a friend stumbled across a guide that worked but we cant find it...
  10. D

    simple javascript question :)

    IE. i've written out a proper script that handles it for now, basically looping through all the values and noting the one thats checked.
  11. D

    simple javascript question :)

    is there any kind of error handling in javascript for exceptions? i know in java theres try{}catch{} and in VB theres OnErrorResumeNext, so is there something in javascript that does the same?
  12. D

    simple javascript question :)

    if you add the line <input type="radio" id="start_day" name="start_day" value="45"/> then it'll output undefined, undefined, undefined, 44 (regardless of which one is checked) so it is possible to get the value of the one thats checked or would i need to loop through them all and check...
  13. D

    simple javascript question :)

    heres the html code: its still only outputting undefined or 1 <script language="javascript"> function test(){ alert(document.dates.start_day.value); //outputs "undefined" alert(document.forms.dates.start_day.value); //outputs "undefined"...
  14. D

    simple javascript question :)

    with the byId it always returns "1" so i'm thinking it'll return that its been checked, but not the value of the one thats been checked, if you know what i mean?
Back
Top