| Thread | Last Post | Replies |
|
| Help with Java servlet : getServletContext(). | 31 May 2005 17:04 GMT | 12 |
I am newbie to Java, am trying to get a program working, and I have imported the java packages below along with many other imports : import javax.servlet.GenericServlet; ....
|
| ";" after if statement?? | 31 May 2005 16:39 GMT | 7 |
What does it mean when a ";" is inserted after an if statement? if (x == 2){ System.out.println("x = 2"); };
|
| Getting index from a select object? | 31 May 2005 16:28 GMT | 1 |
I have the following selectbox in my jsp page: <select name="myNumber"> <option value="1">One <option value="2">Two
|
| static or not? | 31 May 2005 16:18 GMT | 8 |
There are many situations when one has a Class for which it only makes sense that a single instance be created in a given session. It seems to me that, in this situation, it does not really make much
|
| Clear Screen command | 31 May 2005 16:02 GMT | 5 |
Hi again, does anyone know how to clear the screen where I wrote comments with System.out.prinln("..."); ? TIA
|
| Vector#toArray() | 31 May 2005 13:27 GMT | 4 |
I am trying to code my application to benefit from running on a parallel machine but it is not any faster. I think I have some data which is too synchronized so I am looking to avoid this. I have a Vector which stores some data but I use toArray() to get the data as an Object ...
|
| return more than one object within one method | 31 May 2005 12:46 GMT | 5 |
Hi newsgroup, I have a little problem with a method that tries to use another method in another class. So far this method receives an ArrayList as follows:
|
| Peephole optimizer for Java class files | 31 May 2005 10:01 GMT | 3 |
Is there any peephole optimizer for Java, be it for .class files or assembly files (e.g., Jasmin or Oolong)? Thanks. Napi
|
| Applet Changes in 1.5_03 SDK? | 31 May 2005 02:13 GMT | 2 |
I recently installed NetBeans 4.1 and the latest JDK (build 1.5.0_03-b07). I have been working out of a text book from SNHU programming an applet that is a calculator. My problem is when the applet executes, both in the browser and applet viewer, the paint method goes into a ...
|
| MIDP 1.0.3 support Mobile Media APIs | 31 May 2005 01:36 GMT | 1 |
I want to retrieve the device information to know wheter it supports MIDP 1.0 only, MIDP 1.0.3, or MIDP 2.0. I know that we can use System.getProperty("microedition.profiles"), but the result tells only if it is MIDP 1.0 or MIDP 2.0, not any information if it is MIDP 1.0.3.
|
| ClassCastException when it should work anyway | 30 May 2005 14:47 GMT | 5 |
Is there a way to avoid a ClassCastException when there is no real changes made to the class, but the java-file has been compiled anyway? I'm writing a J2ee web application, and I store a HashMap of User objects as an attribute in the servlet context. Now, if the User class gets ...
|
| How we change Applet's parameters with HTML button or link? | 30 May 2005 03:44 GMT | 1 |
I have an applet and I want to be able to change its parameters with a button or a link from a HTML page. How can I do it? For example:
|
| Modification of output | 29 May 2005 12:22 GMT | 2 |
Right now I'm using the good ol' System.out.Println to print out to the screen, whenever a certain variable changes. If it changes a lot, it uses up an awful lot of lines though. Is there a way to reuse the same line to that output so whenever it changes, it'll just overwrite the ...
|
| Webpage shows java box but never starts | 29 May 2005 08:57 GMT | 1 |
After switching computers and doing a fresh Win XP install on the new one, including IE 6.0.29 and Java 1.5.0, I noticed lots of problems viewing the old web pages with heavy java applications that I used to be able to view without the slightest problem with the other computer.
|
| Java for Dos | 29 May 2005 07:24 GMT | 2 |
I have a very old laptop (486 - 4mb ram) that I want to write simple java programs on. Is there any version of Java for Dos still out there? Thanks
|