Forum: Java Sep 14th, 2009 |
| Replies: 1 Views: 386 The reason why you are getting the error on "totalInterestPaid" is cause you have declared it inside the while block, due to which it is not visible to any code outside that block and hence you are... |
Forum: Java Sep 14th, 2009 |
| Replies: 2 Views: 159 IMHO you cant make an OS independent executable (.exe) files, cause these files contain instructions native to the OS and your system architecture, for example an executable made for an 64 bit... |
Forum: JSP Sep 9th, 2009 |
| Replies: 4 Views: 427 Well if he could ask for a download location for Tomcat, I am betting he would have shamelessly asked :P if he had any other issues too, not necessary to simply bump this thread for asking that. |
Forum: JSP Sep 9th, 2009 |
| Replies: 4 Views: 404 Have your tried Googling for your request ???
To name a few we have :-
NetBeans (http://www.netbeans.org)
Eclipse with the appropriate plugins (http://www.eclipse.org)
If you are a web designer... |
Forum: JSP Sep 2nd, 2009 |
| Replies: 1 Views: 295 That happens because when you click on your web application directly from tomcat, it goes to the ROOT of your web application and unless you have a set a welcome page in your web.xml ( or enabled... |
Forum: JSP Aug 29th, 2009 |
| Replies: 2 Views: 365 Well if you do not know much about Java (http://www.daniweb.com/forums/thread99132.html), then first I suggest going back and getting your foundation in Java strong first (cause after all JSPs are... |
Forum: JSP Aug 29th, 2009 |
| Replies: 4 Views: 274 Well you could use the <jsp:setPropery> tag, but may I ask what you are trying to achieve with it ? |
Forum: Java Aug 29th, 2009 |
| Replies: 5 Views: 81,142 @chackboom
Am pretty sure the O.P. must have found a solution to it long long ago, please check the dates before posting on such fossilized threads. |
Forum: Java Aug 29th, 2009 |
| Replies: 9 Views: 555 Well I can see how this can be fixed, but I need to know your motive in writing lines 4 to 17, are they for testing your code like in a main as VernonDozier says??
Also why does your sum() method... |
Forum: Java Aug 29th, 2009 |
| Replies: 3 Views: 191 @ O.P.
Recommend do it the hard way as Peter suggested cause that way you will learn more about Java. Don't straight away jump and use NetBeans, although its a good IDE its unnecessarily bloated,... |
Forum: Java Aug 24th, 2009 |
| Replies: 1 Views: 160 You know a little bit googling wouldn't hurt you,
Heres one resource which I found via google:-
http://onjava.com/pub/a/onjava/2001/03/15/tomcat.html
You will find a ton of other resources if... |
Forum: Java Aug 21st, 2009 |
| Replies: 2 Views: 214 This is just plain old Java syntax error, the operator "+" in Java is used to concatenate String objects, remove the extra plus after "a" in all the three statements and you should be good to go,
... |
Forum: JSP Aug 20th, 2009 |
| Replies: 6 Views: 523 Peter already hit you with the most popular suggestions for both sides:-
Free Stuff:-
Eclipse, NetBeans
Commercial:-
IntelliJ IDEA, MyEclipse, Dreamweaver*
*Dont know if I can call... |
Forum: C++ Aug 20th, 2009 |
| Replies: 4 Views: 308 Well As Far As I Know, that depends on what application you are making and what libraries you will be using. If you are going to make your application using just the Standard C++ stuff using the GCC... |
Forum: JSP Aug 20th, 2009 |
| Replies: 1 Views: 386 Well for starters you could checkout the following tutorial on JDBC:-
http://java.sun.com/docs/books/tutorial/jdbc/index.html
And I would not recommend on using the Microsoft driver, I found... |
Forum: Java Aug 20th, 2009 |
| Replies: 2 Views: 155 Ok thank you for informing us about your need, hope you succeed in writing it. |
Forum: JSP Aug 20th, 2009 |
| Replies: 2 Views: 390 There are quite a few things I would like to tell you in this post:-
Firstly never ever use the root account in mysql, apart from for performing administrative tasks.
Telling that you do not... |
Forum: JSP Aug 20th, 2009 |
| Replies: 3 Views: 402 Well you seem to be confused a lot, if what you are doing is for a production system for some organization I suggest you hand over the task to someone who knows what he is doing.
On the other hand... |
Forum: Java Aug 20th, 2009 |
| Replies: 2 Views: 326 How about deleting the entire file and then creating a new file with the same name at the same location !!! |
Forum: Java Aug 20th, 2009 |
| Replies: 2 Views: 204 Although you have mentioned that you are working on a web application, you have not even given us the slightest hint as to what are you using in that web application, is it JSP, Servlets etc.
Yes... |
Forum: Java Aug 20th, 2009 |
| Replies: 4 Views: 312 We would but apparently what effort did you put into doing that ? Heck it seems you dint even put the effort to read this announcement (http://www.daniweb.com/forums/announcement9-3.html) nor this... |
Forum: Java Jul 28th, 2009 |
| Replies: 2 Views: 206 Can you please post the complete error you are getting or the complete query you are using, I cant seem to trace it in your code.
Now making a blind guess here, it appears your SQL Statement... |
Forum: Windows Software Jul 25th, 2009 |
| Replies: 1 Views: 312 Hmmm .... Got a similar dilemma here, how do we get everyone to read the announcement at the top telling people not to post support questions in the Geeks Lounge ;) |
Forum: MySQL Jul 25th, 2009 |
| Replies: 3 Views: 312 Hmmm good to see you found a simpler way to work it out,
However I think its best to warn you that if tomorrow you need to replace that "*" with the actual column names you will have a few issues... |
Forum: Java Jul 25th, 2009 |
| Replies: 3 Views: 550 Now I haven't gone through your code, but if you are looking for a data structure which can hold a list and gives you the facility to delete any element at random I suggest you take a look at the... |
Forum: Java Jul 25th, 2009 |
| Replies: 6 Views: 337 @ryy705
Now when I run javac -help I get the following message:-
Although I use the Eclipse Java compiler, but then too the usage should be the same even with the Sun JDK.
Now if you notice... |
Forum: MySQL Jul 25th, 2009 |
| Replies: 3 Views: 312 Since your records are and will be truly unique by date (as you have mentioned in the edit comment), you could use a simple join query like this:-
SELECT A.id, A.profile_id, A.recipient_id,... |
Forum: MySQL Jul 24th, 2009 |
| Replies: 1 Views: 403 If you want the MySQL J-Connector driver to be available to all your Java applications then you should copy the "jar" to "$JRE_HOME/lib/ext", If you have a JDK installed then the location would be... |
Forum: Java Jul 6th, 2009 |
| Replies: 4 Views: 390 The following link apparently seems to be tailor made for the topic of this thread :- Packaging and Deploying Desktop Java Applications (http://www.netbeans.org/kb/articles/javase-deploy.html) |
Forum: JSP Jun 26th, 2009 |
| Replies: 2 Views: 537 I think what you are looking for is a way to handle Sessions (http://www.jsptut.com/Sessions.jsp) in a JSP page. Rather than using cookies you can transfer content from one JSP page to the next by... |
Forum: Java Jun 16th, 2009 |
| Replies: 15 Views: 1,037 The problem is not of PATH variables or the Oracle driver Jar not found in classpath, It is quite simply you are not invoking the program correctly.
When you are running any Java program, you give... |
Forum: JSP Jun 10th, 2009 |
| Replies: 5 Views: 1,198 Well syntactically your JSP page is correct, although the approach of firing queries directly from inside the JSP page (that too using SQL Statements constructed on the fly) is not only bad but... |
Forum: Java Jun 9th, 2009 |
| Replies: 9 Views: 317 Hi James, you have to use the noparse tags around the code tags like this:- |
Forum: Java Jun 9th, 2009 |
| Replies: 7 Views: 856 I agree with VernonDozier, your code compiled and ran OK,
You should not be getting this problem unless and until you are using a Java compiler prior to release 1.2 (i.e a pre Java2 compiler cause... |
Forum: Java Jun 9th, 2009 |
| Replies: 11 Views: 504 No problems, with the line numbers, I appreciate the fact that even though new you even care to use code tags.
The line numbers will come up if you wrap you code inside and tags.
Anyways the... |
Forum: Java Jun 9th, 2009 |
| Replies: 9 Views: 360 An exam for which no doubt you would have been given a decent time to prepare ?
Sorry "_Rosie_" but thats an all the more bigger reason why we shouldnt be helping you, cause it would be cheating. I... |
Forum: Java Jun 9th, 2009 |
| Replies: 11 Views: 504 Can you point out which is the line specified here :-
at MyPackage.MouseOverExample$Glyph.<init>(MouseOverExample.java:109) |
Forum: Java Jun 9th, 2009 |
| Replies: 9 Views: 360 Nope no ones going to write that code for you, but we will not mind helping you write it.
Here are some tutorials :-
Taking user input from console on Java[1... |
Forum: Java Jun 9th, 2009 |
| Replies: 9 Views: 317 @lloydsbackyard
I dont know what you are talking about. When I ran your code, it worked perfectly:-
stephen@xxx:~/Development/java> javac bonus.java
stephen@xxx:~/Development/java> java... |
Forum: JSP Jun 6th, 2009 |
| Replies: 5 Views: 1,232 Can show me exactly how you are trying to call your web page via the web adress you have registered ? or maybe a printscreen so we can see what error you are getting ?
Also just in case you might... |