| Thread | Last Post | Replies |
|
| Decorators v Inheritance: Forcing subclass to call super() ? | 20 Apr 2005 21:06 GMT | 12 |
I have some classes that are designed such that the subclass implementations of foo() *must* call the super class implementation of foo(). What is the best way of forcing this? I read somewhere that this is
|
| Collection classes in Java: Why arent they Observable? | 20 Apr 2005 20:35 GMT | 2 |
Im not sure if this was pondered before or not. But why wouldnt you have the Collection classes be observable, i.e. you can attach listeners to them that listen to a state change in the collection (add, remove, etc). Wouldnt that make sense?
|
| Does the following java programming architecture make sense? | 20 Apr 2005 19:21 GMT | 1 |
regards: My program logic is following: http://www.wretch.cc/album/show.php?i=otp&b=1&f=1114017894&p=4 from Step1 to Step4
|
| Is the default Java character encoding always Cp1252? | 20 Apr 2005 17:17 GMT | 5 |
I switched the default to Turkish on a Windows XP computer and found that the default character encoding in our Java applet is still the same as with US English - Cp1252. I tested using both the system property "File.encoding" and with OutputStreamWriter.getEncoding().
|
| Don't like JSTL | 20 Apr 2005 15:39 GMT | 10 |
As a programmer, I don't like the JSTL concept of programming with tags. I would prefer the opposite concept: creating HTML with a program, avoiding tags.
|
| [Velocity]Unable to find resource .vm file? | 20 Apr 2005 15:13 GMT | 1 |
I follow to code the tutorial from JavaWorld but received the following error: import java.io.StringWriter; import org.apache.velocity.app.VelocityEngine;
|
| tomcat exception | 20 Apr 2005 15:09 GMT | 1 |
I'm trying to deploy a new war with tomcat but I'll have the following exception although the j2ee.jar is in the lib directory. Have anyone some suggestion? java.lang.NoSuchMethodError:
|
| Q: Super access to static data | 20 Apr 2005 14:26 GMT | 6 |
I have a class called P and 3 classes X, Y, Z that extend P. In each of the "child" classes, I have a static array of stuff: abstract class P { static String getValue(int i) {
|
| URI encoding ASCII, LATIN1 or UNICODE? | 20 Apr 2005 14:20 GMT | 2 |
I have stumbled across something, which seems to be of ambuiguity. Recently I decoded the URI of a servlet request. At first I could not get the expected result. The umlauts äüö would not show up correctly, which made me wonder why.
|
| J2ME: date & time in J2MEWTK | 20 Apr 2005 14:19 GMT | 6 |
Hi all.... I am using J2ME Wireless Toolkit 2.2 and always when I call (new Date()).getTime() I get the same value. Is this a bug or... ?
|
| HttpServletRequest.getRequestURL() returns 'http:' for https requests? | 20 Apr 2005 12:48 GMT | 3 |
I've got a weird bug which I'm trying to characterise. Essentially I'm calling HttpServletRequest.getRequestURL(). On my development machines this works fine, but on one of my customer's production machines it returns 'http://whatever' even when the request was an https
|
| Parsing XML in Java | 20 Apr 2005 09:25 GMT | 3 |
Here's the problem I'm having. I'm using a servlet to post an XML document to a server, in turn that server will return a string representation of an XML document. I'm using Xerces as my parser but it seems to me anyways that Xerces can't parse a string representation
|
| Servlet authentication on Tomcat 5.5.7 | 20 Apr 2005 09:07 GMT | 1 |
request.getRemoteUser() returns null, therefore, authentication has not been enabled. I want to be able to get hold of the Windows 2000 login id of the person invoking my JSP in their web browser. Given that the version of
|
| Thinking In Java book source code | 20 Apr 2005 06:49 GMT | 1 |
I'm eager to read the book Thinking in Java, by Bruce Eckler. Unfortunately, i've spent quite some hours trying to get the code from chapter 3 to run. I found several "solutions" everywhere on the net (i've also gone through the steps given on his own website, and read the info ...
|
| java error message? | 20 Apr 2005 02:35 GMT | 3 |
Recently I've been getting the following message when I visit different sites: "Internet Explorer can not open this helper application for dtdp://748/331/1/jgen44.cjt1.net/HTM/704/0/javasiterequest.asp?LV=60008DC=453&NFD&IW=7208JH=300&ORD=1111355390281?&. The protocol specified in ...
|