Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: migar
  • Order by date
  1. migar

    Please help me with arrays.

    Want to excuse me but it is probably a french to french problem and it is far easier for me to write in my mom's language :-) ================================================= Bonjour, tu veux jouer au loto ? il faut 1) définir un tableau de 6 positions : int tableau[6] ; 2) une méthode qui...
  2. migar

    problem with sockets

    Hi, did you tried to change the port number to something like 55555 or 12345 ? Regards
  3. migar

    get variables from another method..

    Hi, to be abble to access your variables from all the methods of a particular class may be a code like this could be written : public class A { private int num ; private String s1 ; public int getTerms() { s1 = "blah"; num = 10; debug("getTerms"); }...
  4. migar

    splitting a resultset

    Hi, of cours you can split results in as many pieces as you want using some collection like a Vector as an example ( one for each column you collect from the resultset ). Another approach could be to build a class according to the fields you are expecting from the resultset. Then for each record...
  5. migar

    Loading multiple images

    Hi, may be it would be easier to help you if we had the code you are currently using not only to load images but to display them. Best regards
  6. migar

    applet loads on one server, not on other

    Hi, When I ran the non working version of your Applet I got : Error loading class: snow.QLIM java.lang.NoClassDefFoundError java.lang.ClassNotFoundException: snow.QLIM at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java) at com/ms/vm/loader/URLClassLoader.loadClass...
  7. migar

    Can Any one tell me what is this

    Hi <<I guess the next question is who is writing this code and is it supposed to work? If so then I suggest you get in contact with the developer or team of developers that are responsible for this and they should be able to help you. >> as Wushutwist said. I agree with him.
  8. migar

    applet loads on one server, not on other

    Hi, You say that your applet is running fine on your development server. Does the applet run on a regular web browser or in an Appletviewer ? Is there any message on the java console of any web browser when the applet does not work ? Sorry for so many questions, but is seems hard to figure what...
  9. migar

    Can Any one tell me what is this

    Hi, you probably, try to use a reference w/o a valid object. If you can locate the line in your code where the exception is coming from, you can find the reference wich is probably null instead of handling a valid object. best regards
  10. migar

    How to upload a file from a HTML page to Servlet?

    Hi, you can find a complete example on how to send a file from an http form to a servlet. http://www.oreilly.com/catalog/jservlet/examples/index.html I hope it will be useful
  11. migar

    java.util.Vector & casting

    /* Here is some complete sample using Vector and Node. Hope it will help. */ import java.util.*; /** Written by : M.Gareil 27 Nov 2k */ public class Driver { public static void main( String [] args ) { Vector nodes ; nodes = new Vector() ; nodes.addElement(new Node(1))...
  12. migar

    reading input from keyboard

    HI,<br> Why not to read a line from the keyboard<br> <br> BufferedReader br = new BufferedReader( new InputStreamReader( System.in));<br> String str = br.readLine() ;<br> <br> and then <br> <br> int value = Integer.parseInt( str ) ;<br> <br> Hope it will help<br> <br> Regards.<br>
  13. migar

    Advice: Simplify your code

    Hi,<br> The second version with array is probably more readable and plus easier to maintain : to add or remove an item you just have to add / remove an element of the array.<br> Regards
  14. migar

    What's wrong with this code (Applet) ?

    Hi,<br> An applet is not allowed to write ( create ) a file to the client side, except if this applet is embbeded in a signed jar file. May be you can have a look to<br> <A HREF="http://www.java.sun.com/security" TARGET="_new">http://www.java.sun.com/security</A> to get more detailes...

Part and Inventory Search

Back
Top