| Thread | Last Post | Replies |
|
| need help with logic for simple text-manipulation function | 21 Nov 2006 03:36 GMT | 2 |
Hi I want to write a method which takes in a string of names seperated by a whitespace and puts commas at each whitespace the last name however, should have "and" before it. Let me explain this with the help of an example:
|
| I got my program with ArrayList to work except for one problem it won't add the same score twice | 21 Nov 2006 01:43 GMT | 10 |
I got my program to run except for one problem if you enter the same score twice it won't add it into the sum of the scores. The divers final score is supposed to be 67.5 and i'm getting 54.90 here's the program again and the output. Sorry if i'm being repetive i'm just
|
| Thread execution monitoring | 21 Nov 2006 01:29 GMT | 1 |
I just want to create an app which would create a few threads (number specified during the execution of main app). In addition I would like to create JFrame with JProgressBar just to monitor online its execution (i.e. when I create 5 threads, when first one finished then the
|
| Problems using jakarta commons fileUpload | 21 Nov 2006 01:13 GMT | 2 |
I am using the commons-fileUpload 1.1.1 lib to upload files to my server. The objective is to insert some info in a DB together with the file path in the server. The problem is that when I put the ENCTYPE to multipart/form-data, the
|
| Java to DB2 data types Mapping | 21 Nov 2006 01:01 GMT | 4 |
I'm working in something related to DB to Java data types mapping and I'm not sure which java types should I use for the following DB2 types: DECIMAL -> Should I use Double? DOUBLE -> Should I use Double?
|
| Java Databases | 21 Nov 2006 00:52 GMT | 1 |
I tried three Java databases (HSQL 1.61, Derby and TinySQL-2) and the only one that worked properly is Derby. As a note I am using an older version of JBuilder (version 7). So far it seems to work well and I can say that I can recommend it.
|
| Struts File Upload / Dojo issue | 21 Nov 2006 00:48 GMT | 1 |
I am attempting to use the html:file tag within a Dojo dialog box. The dojo part seems to work fine but I have a <html:submit> button that when pressed does nothing. My page submits to a LookupDispatchAction and the other <html:submit> buttons on the page submit to the action
|
| Where are the nanoseconds from (new Timestamp(...)).getNanos()? | 20 Nov 2006 21:24 GMT | 6 |
I had previously read that System.currentTimeMillis() is not that accurate, now I noticed that java doesn't really give the nanoseconds. . What is it I am not getting right here?
|
| How to generate UDP traffic? | 20 Nov 2006 21:23 GMT | 1 |
I'd like to generate UDP traffic for testing a line. I'd like to write a program which send xMb/s of UDP. How can I do? How can I send an UDP to an IP address?
|
| Spring WebFlow performance | 20 Nov 2006 20:35 GMT | 1 |
Has anyone done performance testing with an application using Spring Webflow. We are finding some serious performance issues. We are only on RC3 and need to upgrade to Release 1 so we are hoping that will fix the issues. However it would be nice to know if others have had other
|
| infinite loop with http requests | 20 Nov 2006 20:29 GMT | 6 |
I'm trying to write something that'll let me output the contents of a given webpage while skipping over the headers. Since I'm trying to learn raw HTTP, I'm using Sockets and not URL. Anyway, the header of an HTTP response ends when you have "\r\n\r\n".
|
| Write byte[] to file | 20 Nov 2006 19:43 GMT | 7 |
what is the best way to write a byte array to a file? thanks a lot,bye
|
| Java Load File Location? | 20 Nov 2006 19:33 GMT | 2 |
I have this: Simple java code that loads in a properties file or an INI file. Same thing - compiles and works: Properties defaultProps = new Properties();
|
| BitSet Class Implementation | 20 Nov 2006 18:45 GMT | 4 |
I need a question answered concerning the BitSet class. The problem is that the public methods which manipulate a set of bits requires a BitSet object as both the caller and argument to the method... private BitSet A = new BitSet(16),
|
| how to get the current path | 20 Nov 2006 17:45 GMT | 2 |
I want to get the current working path. I used method "System.getProperty("user.dir").", but it showed only part of full path. How can I find full path?
|