| Thread | Last Post | Replies |
|
| object becomes null on return | 22 Sep 2005 01:20 GMT | 12 |
I am facing a strange problem and I cannot find the reason. I have a calling method, processOrder() in a plain java file in which I am doing this. public Order processOrder()
|
| When to actually use exceptions (file exists, etc) | 22 Sep 2005 00:59 GMT | 9 |
When should one use exceptions and when should one just return null/false? My virtual filesystem will return exceptions when trying to open a file that is not readable or does not exist. Should I not just return false when trying to open a nonexistent file?
|
| serialize failing in weird ways | 21 Sep 2005 22:49 GMT | 9 |
I'm trying to serialize a simple tree structure - the TreeModel behind a JTree - but the results aren't what I hoped for (essentially, I'm getting my default object state, rather than the state I serialized). Does anyone have any useful pointers? There are no exceptions thrown,
|
| Session Swapping (Jack becomes Jane) | 21 Sep 2005 22:30 GMT | 2 |
We have an issue with our web application. It's a Struts/Tiles/DAO app spread on multiple Sun ONE web servers and one Sun ONE app server. When a user clicks one tile's JSP "too long" (IE left nav) they receive the session data as though they were another user.
|
| Xerces SAX encoding problems | 21 Sep 2005 22:29 GMT | 1 |
I am trying to parse an XML document using SAX (xerces) but keep getting org.xml.sax.SAXParseException: The encoding "windows-1252" is not supported. How do I get the parser to either ignore the encoding or support it. Thanks
|
| Custom Class Loaders | 21 Sep 2005 22:20 GMT | 10 |
What are custom class loaders for? I know of these uses: 1. dealing with hot switching class code. 2. dealing with code generated on the fly.
|
| rewrite rules tomcat | 21 Sep 2005 20:50 GMT | 1 |
I have a servlet example: http://xyz.com/abc/DummyServlet/ I want to map all the requests that come on http://xyz.com/ from some specific IPs to http://xyz.com/abc/DummyServlet/ (ITS NOT REDIRECT,
|
| read a PublicKey-String into a PublicKey-object | 21 Sep 2005 19:26 GMT | 1 |
I've got a string, containing a base64-coded PublicKey in PKCS1-format. My goal is, to parse this string and create a PublicKey-object out of it. But how to do this? -----BEGIN RSA PUBLIC KEY-----
|
| JNI: UnsatisfiedLinkError | 21 Sep 2005 19:24 GMT | 6 |
I have a java applet that makes calles via JNI to a C++ DLL. This aplet is signed for both SUN and MS JVMs. The DLL is packed inside the JAR file and downloaded onto the user's harddrive into the user.home directory, then loaded.
|
| C vs Java array | 21 Sep 2005 19:17 GMT | 9 |
I tried the following code in java: /************************/ int i=0; int[] arr={10,20,30};
|
| Launching Browser and POSTing at the same time | 21 Sep 2005 19:13 GMT | 5 |
I want to do is the following from a java program: -Launch internet explorer (or any browser if possible) at: http://myURL -Pass POST parameters at myURL.
|
| JSP <html:errors/> TAG | 21 Sep 2005 19:10 GMT | 2 |
I have a search jsp that uses the <html:errors/> tag to display an error if no search results were found. Also on the page is a Clear button to clear the search fields through javascript. My question is this: Is there any way to clear the error message of "No results
|
| Tomcat Port for Https | 21 Sep 2005 16:48 GMT | 2 |
Tomcat port for http is 8080. What is the Tomcat port for https? Is that true we can set this in server.xml? If so, where to set the port for https in server.xml? Thanks a lot!
|
| Back off jdk 1.5.0_05 | 21 Sep 2005 13:58 GMT | 9 |
I have submitted a serious bug on JDK 1.5.0_05. The command line parser is hosed. Ant does not work. Anything with quotes or backslashes may stop working. I am retreating to 1.5.0_04.
|
| [iText] MultiColumnText | 21 Sep 2005 13:52 GMT | 1 |
I've got a document generated with iText containing a PdfPTable, that sometimes becomes so large that it will be split on two pages. I want to avoid this by dividing the table in two columns within the page. i.e. from this...:
|