| Thread | Last Post | Replies |
|
| Constructors and modifiers | 06 Mar 2004 21:04 GMT | 1 |
Why is it possible to use public,protected,private and no (package) in constructors. Surely the access is defined in the class declaration? TIA, Simon.
|
| SAX with JAXP | 06 Mar 2004 20:30 GMT | 6 |
I want to parse a XML document with SAX (using JAXP) and found lot's of examples of parsing from a file. But... I have the XML in a String variable and want to parse from there. All the 'parse' methods from the SAXParse class receive a File, or a InputStream, or a URI... I don't ...
|
| Reading a file into an array. | 06 Mar 2004 18:54 GMT | 2 |
Hi. I have a file that will be typed into something like notepad and I would like my program to read the file line-by-line, putting each line into an array. In Visual Basic it was very simple. Is there an equivalent to this in Java:
|
| Thread behaviour | 06 Mar 2004 15:11 GMT | 3 |
From textbook, I was told to implement Thread code, the run() method need to be overriden. However, I just found below code from one java programmer exam web site that said the reverse. Below program compiled & ran without error. But I would like to ask if
|
| starting "J2EE 1.4 Application Server" in Linux | 06 Mar 2004 14:12 GMT | 1 |
When I launch the "J2EE 1.4 Application Server" in Linux, I receive this error: Error: Cannot connect to X11 server ':0.0'. Check that the DISPLAY environment variable is correctly set or try
|
| custom tags and content type | 06 Mar 2004 13:59 GMT | 3 |
here's my big problem today. I am creating a tag-lib and I need the top tag to take care of setting the content type. My tag goes like: public int doStartTag() throws JspException { try {
|
| How many String Objects ? | 06 Mar 2004 11:50 GMT | 8 |
In my textbook of java programming, it quoted one example about String objects as below: String s1 = "spring "; String s2 = s1 + "summer ";
|
| Difference between instance.wait() & wait() | 06 Mar 2004 11:34 GMT | 3 |
I would like to know the difference in effect for calling wait() with or without explicit object reference. If o.wait() being called, I know that the calling thread is waiting on object instance o. How about calling wait(), like below example ? :)
|
| Platform/OS used to develop Java? | 06 Mar 2004 00:13 GMT | 17 |
I have developed the on-line compiler futher, it now delivers .zip files containing the source, class files and a few HTML docs etcetera.
|
| Program the minimum and maximum in Java | 05 Mar 2004 17:15 GMT | 5 |
Does anyone know how to program the minimum and maximum in java
|
| Insert Blob in Oracle database | 05 Mar 2004 15:33 GMT | 2 |
I have been struggling with this for some hours now. I am not 100% sure, but it appears that Oracle databases/jdbc drivers have a bug with relation to Blobs - or that Blobs have a serious size limitation in an Oracle database. I have seen hints to this while searching the www, but I ...
|
| How to create an exe file in java? | 05 Mar 2004 15:23 GMT | 6 |
how do u create an exe file of a java program?
|
| confused about custom-tag keeping state... | 05 Mar 2004 12:44 GMT | 1 |
Hello, I am designing a tag library. My problem is that my tags (tomcat 4.1.18 on win2k) seem to retain the status from one invocation to the next (i.e. variables are not initialized each time).
|
| Will 310-035 exam includes this kind of question ? | 05 Mar 2004 09:39 GMT | 2 |
I met below test question in one java programmer exam site. I would like to ask will similar questions appear in the exam ? If so, it will be troublesome for me as it seems I have to memorize many 'facts' before sit for this exam.
|
| Switching Between SUN and Microsoft JVM Programmatically | 05 Mar 2004 05:09 GMT | 7 |
I've been given an interesting challenge by the IT department. They have software that uses the SUN JVM in IE on WinXP and won't work on the MS one and also vice versa. They've supplied me with the steps to change this in the "Sun Java Plug-in" Control Panel item and I found
|