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...
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");
}...
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...
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...
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.
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...
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
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
/*
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))...
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>
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.