| Thread | Last Post | Replies |
|
| Storing BigDecimal in SQL Server | 07 Sep 2005 11:52 GMT | 4 |
I need to store very small numbers in my database, generally something like 1.2516E-128. I'm using BigDecimal is Java to manipulate these numbers however when storing them in MS SQL server as a double they are converted to 0. SQL Server will only allow a a double with a scale of
|
| Network timeout with HTTPClient and Tomcat | 07 Sep 2005 11:28 GMT | 1 |
I'm using HTTPClient (http://www.innovation.ch/java/HTTPClient/) to test my webapplication (Apache Tomcat), trying to simulate the load of several simultaneous online users. Each user in an own thread, logged in with an own session, and repetedly requests the same page 100 times in ...
|
| simple (?) question about having ";" in the password | 07 Sep 2005 11:25 GMT | 19 |
I am creating a simple jdbc application which connects to various databases. I am using level 4 (datadirect) jdbc drivers. All works great.. :) Issue comes if my database password has a semicolon. then my user is
|
| ArrayList to array | 07 Sep 2005 06:23 GMT | 6 |
I got a problem with toArray method on ArrayList object. ArrayList<String> _hidden = new ArrayList<String>(); String[] hidden = new String[_hidden.size()]; hidden = (String[]) _hidden.toArray();
|
| Why do methods of an interface have to be public? | 07 Sep 2005 05:45 GMT | 7 |
Why do methods of an interface have to be public? Couldn't they be 'package', or even 'protected'? The immediate answer would be no, because conceptually, an interface is a sort of specification that tells the world what to expect from
|
| Generics - the path not taken | 07 Sep 2005 05:14 GMT | 3 |
A while ago, Dale King asked why we have type erasure. Erasure would make sense if Java 1.5 code had to run of earlier JVMs, but - as has been noted - code compiled for Java 1.5 rarely works at all on earlier JVMs - and can't be easily targetted at them.
|
| MBCS to UTF-8 | 07 Sep 2005 02:15 GMT | 1 |
I have an client application (written in C++) using gSOAP to send SOAP message to java web service, for one of the input parameter, C++ application is sending Japanese text as MBCS format to gSAOP, In the sever side, Java Web Services is not able to convert from MBCS to
|
| JTable listener | 07 Sep 2005 01:55 GMT | 8 |
JTables are new to me. How can I add a listener to a JTable such that when I click on a row it causes some type of action method to be called.
|
| Java Visio API | 06 Sep 2005 23:11 GMT | 2 |
Anyone know if there is a Java API for visio, I just want to read the information not display it? thanks Jon
|
| exec with stdin stdout | 06 Sep 2005 22:55 GMT | 4 |
Why this code not working? byte[] buf = new byte[10000]; Process p = Runtime.getRuntime().exec("php -n 1.php"); p.getErrorStream().close();
|
| exec with stdin stdout | 06 Sep 2005 19:36 GMT | 3 |
Why this code not working? byte[] buf = new byte[10000]; Process p = Runtime.getRuntime().exec("php -n 1.php"); p.getErrorStream().close();
|
| how to detect a hard link in Java? | 06 Sep 2005 17:55 GMT | 29 |
I have an application need to detect the hard links within the unix file systems. how to detect it and how to get the target path of this link points to in Java? thanks a lot
|
| 'type' of 'System.out.println'(<ObjInstanceList>) | 06 Sep 2005 17:10 GMT | 1 |
If 'System' is a class, what exactly is 'System.out' ? And apparently 'println' is a public method of object 'System.out'. If 'System.out' is an instance [public object] of Class 'System',
|
| How to open a network connection from Java??? | 06 Sep 2005 17:10 GMT | 5 |
I'm building an app which interfaces a tool which in turn opens files. My app is a server app, run as service, and will open files on other computers on the network. So, how do I open the network connections needed to be able to access remote files? I've up until now managed
|
| Failed: InputStream in = getClass().getResourceAsStream("1.txt"); | 06 Sep 2005 17:06 GMT | 34 |
I wan to read file by InputStream in = getClass().getResourceAsStream("1.txt"); but I always got fail message even in emulator, I am using sony ericsson J2ME WTK2 toolbar.
|