| Thread | Last Post | Replies |
|
| String to Integer | 21 Jun 2008 17:26 GMT | 5 |
Hi!! How can I convert an String into an Integer? I'm trying to use 'parseInt' but I only get a "java.lang.NumberFormatException". String s = '\n';
|
| Where do unhandled exceptions go? | 21 Jun 2008 12:53 GMT | 4 |
I'm trying to create a Main class (that includes the main method) and catch all uncaught exceptions. So my code started like this: public class Main { public static void main(String[] args) {
|
| httpRequest resource not available | 21 Jun 2008 10:14 GMT | 13 |
I'm making a http requset to a file movie.txt which is located in the same folder as Hangman.html. But I just get this error from the server
:<Sun Java System Application Server 9.1_02 - Error report HTTP Status 404 - Status report
|
| to work with database... | 21 Jun 2008 06:40 GMT | 5 |
I want to write file to database sybase. I run the following code: public class TestSybase { public static void main( String[] args ) { try {
|
| Why does Java not have a RealNumber class? | 21 Jun 2008 06:35 GMT | 15 |
This is a question that continues to bug me. There is Number. Double, Float, Int ... all extends Number and then implement Comparable independently. I know plenty of Math geeks troll this group. I know why Number is not
|
| Java and workflow | 21 Jun 2008 01:36 GMT | 5 |
This is a little off-topic for this group, sorry. Please flame not. We've got an app where users run some Java code to extract text from pdf, edit the text, run another app to validate the edits, and then another app to convert the doc to another form. Each app just runs on
|
| digitizing a textfile into image | 20 Jun 2008 18:34 GMT | 4 |
i am looking for java code for digitizing a textfile into an image(preferrably Tiff) .can someone tell me if there is one? thanks jim
|
| Separator idiom | 20 Jun 2008 17:42 GMT | 11 |
Lets say you want to create a list of items separated by something e.g. comma <BR> \n etc, but you don't want a terminator. How do you go about constructing it with minimal fuss?
|
| Media Framework presence | 20 Jun 2008 17:09 GMT | 1 |
Applications produced by my project, sometimes (not always) relys on the presence of the Media Framework on the machine of the final user. When an application created with my project uses Media framework, is launched on a machine where JMF is not installed, it crashes badly
|
| incorrect decryption using AES/CBC | 20 Jun 2008 16:43 GMT | 3 |
i tried to encrypt a message using AES/CBC/PKCS5Padding and stored the aeskey in keystore and wrote the IV byte[] and encrypted message to a text file.Then in another piece of code i read the IV and encrypted message from file and retrieved the aeskey from keystore again tried
|
| Sanitizing HTML strings. | 20 Jun 2008 16:30 GMT | 3 |
Is there anything in the Java API that will sanitize strings for display in HTML (e.g. replace HTML tokens with escape sequences), or is it normal to roll your own? I'm playing around with Java, and Java servlets; I'm primarily a C++ programmer and not too familiar with
|
| Scalar variables in Java | 20 Jun 2008 16:24 GMT | 5 |
if someone refers to scalar variables in Java, what exactly is he including? Is it equal to primitive types plus String? Or maybe without String? Definitely not an array, right? Or can you not really use this term for Java?
|
| why we should call Thread.start(),not directly call Thread.run()? | 20 Jun 2008 16:12 GMT | 6 |
|
| Hibernate setter method | 20 Jun 2008 07:20 GMT | 3 |
We are using a Java bean, say User.java, which represents a database table, say user. User.java has a method setName(), which may do some (simple or complex) validations, which must be carried out when application code calls setName() method.
|
| Checking for null parameter | 20 Jun 2008 03:33 GMT | 114 |
So is checking for null pointer a good practice? I mean, 90% of the times you have any object as a parameter, you really want that object to be something other than null. Otherwise you have to blot your code into an unlimited number of lines of try, catch etc (and sometimes you
|