2,443 Posted Topics
Re: [code] String ca1 = request.getParameter("ca1_<%=i%>"); [/code] should this not be [code] String ca1 = request.getParameter("ca1_" + i); [/code] Assuming the parameter names are ca1_0, ca1_1, ca1_2, etc. At this point in the code you are already inside a scriptlet tag (at least I assume you are), so additional scriptlet tags … | |
Re: Google the following one at a time and pick the solution you wish to use: POI JExcel JDBC-ODBC Bridge ![]() | |
Re: Yes, of course you can. What are the errors you are getting? | |
Re: [quote] balance = (balance - monthly_principal); monthly_principal = (monthly_payment - monthly_interest); [/quote] The monthly principal should be determined before it is subtracted from the balance, right? As far as a print statement for paid in full, simply add a print statement after the loop. | |
Re: By using the x variable pointed out in the first reply. If this is going to become a long-winded thread, then I feel obliged to point out something else that I feel you have not grasped. That is JavaScript != Java. JavaScript and Java are two different things. They have … | |
Re: Check out the Tutorials at Sun. Everything you need. However, as of JDK 1.5 those methods are obsolete (although not deprecated) and you should be using the classes from the java.util.concurrency (or concurrent?) package. Make sure to check out that Tuorial as well. | |
Re: JavaScript != Java Find a JavaScript forum. | |
Re: What error? We cannot play both compiler and JVM here to try and figure out what the error was, and where it is, so please help us out and post the complete error message, preferably with stacktrace. | |
Re: You said you removed the passphrase, but here you are waiting for the passphrase prompt. Of course it will timeout as this should never come. You should be able to comment out this block of code and the line or lines where you send the password and continue with the … | |
Re: This was posted yesterday as well. I guess she doesn't like the "help" she was getting there. Which was to repost using code tags and put in a little real effort. | |
Re: I have never heard of that package, and somehow I doubt that the book spelled it that way, since package names are suppossed to be all lower case. Also, it was never a part of the JRE, since all those packages start with either java, javax, com, sun, or org. | |
Re: How about the following hints/tips: 1) Don't post the same question multiple times. 2) Give it a try. If you have specific questions come back and ask them. | |
Re: Yours: [code] public type method(){ method = method*2; return this.method; } [/code] Correct [code] public int method(int value){ return value * 2; } [/code] Compare Your description said [b]takes an integer argument[/b] [b]returns an integer[/b] [b]returned int is double the parameter[/b] The only thing your method had was the "* … | |
Re: This is a Ja[b]v[/b]a site not a Ja[b]w[/b]a site. It is a forum about a Programming language not an Electrical system of any kind. | |
Re: What windows version are you using? I know of no half-way current version of windows that still uses MSJVM. But, is it all applets that do this, or only the ones you have built? Since I still believe that the Java itself is okay, but that it is what the … | |
| |
Re: I don't mean to sound mean, but try Google. | |
Re: You need to seriously inspect your design. The compareDate method is not called anywhere, except from within itself, and then only with two date Strings (a date String is not a Date, just so you know) that are also defined within the method. Were this method ever called from anywhere … | |
Re: [code] #!/bin/bash wc $* [/code] No seriously, why do you need this? This sounds suspiciously like a homework assignment. | |
Re: That's not what he said. Netbeans has a graphical Interface builder, so in order to make the GUI he did not need to know very much Java at all. That's the problem. Now he has to make and use the gui without Netbeans' help, and he's lost. | |
Re: We do not support SiteBuilder here. Java, in itself, is okay. The problem is what SiteBuilder does with it. You should ask either Yahoo Support (if there is such a thing) or a Yahoo forum (again if there is such a thing). | |
Re: Read up in the Java 5.0/JDK 1.5 New Features Document at Sun. This is the "improved for loop or so-called for each loop". | |
Re: The ObjectInputStream can only be created using another InputStream of some type. A quick look at the API docu would tell you this. So no, you can't. You could combine it all on one line rather than using itermediate statements, but the work done is the same and is only … | |
Re: That's because the perl script is running on the server side, so you simply attemtped to open notepad on the server, rather than the client. If you want to open something on the client, then you need something that is actually executing on the client such as JavaScript, or ActiveX … | |
Re: The shared library that IO::Tty uses can't be found. If you have a compiler on the computer, your best bet would be to download the IO::Tty module from CPAN and reinstall it (and any others that the module complains that it needs when you try to compile it). If that … | |
Re: If these lists are not too long, you would be better off generting a few hidden tags on your form and use pure JavaScript to pull values from the hidden tags to populate your second list. So say your values lists are as follows: [code] 1st List Entry Values for … | |
Re: So what is your soecific problem? What error are you getting? What effect are you observing that you did not expect? | |
Re: Did you not read jwenting's reply directly above yours? Look in the API for a single method call to reverse a String. I will give a small hint, the class is not String but does begin with it. | |
Re: System is a class, using it directly in this manner means you want to use a public static item from it. out is the public static item you are using. It is an OutputStream that is used for the Standard Output (STDOUT, there is another for STDERR) of the running … | |
Re: Well, you might not be getting an error message, because you have commented out the contents of your catch block, effectively ignoring any errors. Remove the comment symbols in the catch block and try it again in order to check whether or not you actually get any error messages. | |
Re: I would suggest searching [url]www.cpan.org[/url] for some memory management module that might provide this functionality. Even if it is possible from straight perl, it is probably complicated or convoluted and a module from CPAN would probably make it a bit simpler to use (or at least let you study it … | |
Re: My personal opinion is the one you have already mentioned, PerlTk. | |
Re: I am sorry, but do you even know what you are talking about? C++ is a high level language that needs to be compiled. Once it has been compiled, the resulting output [b]IS[/b] is an exe (or at least a dll). | |
Re: See your other post. I get the feeling that you are in [b]WAY[/b] over your head. | |
Re: Investigate JFileChooser (a swing component). | |
Re: You probably need to change your sendmail configuration (or whichever mail program you really use) to not automatically send a copy to root. But if this is not your machine, it may be that the administrator has purposely set this up this way, and you then will not be able … | |
Re: Once again the String method toLowerCase() Look it up. | |
Re: if n.sh doesn't contain anything but functions and variables (i.e. no actual executed code) then add ". <path>/n.sh" to the top of n1.sh. If n.sh is a full functional script, then you cannot do this. If you have common functions that you wish to use over multiple scripts, then place … | |
Re: This is the Java Server Pages (JSP) page. Note Server in that name. Javascript is a scripting language that runs in the browser on the client and has absolutlely nothing to do with this forum. If you truely want help with a Javascript problem, then find a Javascript forum. If … | |
Re: No there isn't. The only thing that a cgi would have access to are the attribute headers and (possibly) form paramters. The email address is not contained in the attribute headers (and they cannot be counted on anyway, since the browser can spoof every last one of them). Also, you … | |
Re: Think Scanner and a couple of loops. That's all you need, and from us, for your homework, that is all you will get until you do something yourself. | |
Re: [QUOTE=invokers]what is this my friend ??? it has nothing to do with my requirements[/QUOTE] And yes it does have to do with your requirements, since you will not be able to do anything in the network without this package. He is simple not just handing you a finished product that … | |
Re: We will not do your homework You know that you need for loop, that is good. Look at the man page for shell built-ins, pick up a book, or google for the shell you are using and for loop. | |
Re: If you are suppossed to be writing one, then write one, and if you have a specific problem, check back with us. If you simply want to find one to use, check with Google, there are more than enough out there. |
The End.