| Thread | Last Post | Replies |
|
| "Memory leak" in javax.xml.xpath.XPath | 29 Jul 2005 16:49 GMT | 4 |
I am using javax.xml.xpath.XPath in a servlet to evaluate expressions on a DOM. The servlet then creates a html page from the results. Just reloading the page, i.e. executing all xpath expressions on DOM again, increases the memory consumption of the VM for some MB. This memory is
|
| java unit test | 29 Jul 2005 15:22 GMT | 5 |
i've written a small programme and want to test the main method. the problem is that if the parameters are wrong and the programme terminates, JUnit cannot detect it and the test result would be pass. if i use
|
| creating web.xml - need help | 29 Jul 2005 14:33 GMT | 2 |
I am using JSPs, java beans and java files for my project. Tomcat is the server. I put all the java beans and files (compiled ones)in WEB-INF directory. The directory structure is,
|
| integration between struts and servlet auth | 29 Jul 2005 14:03 GMT | 5 |
Hi everibody, I'm using the ssl extension library for Struts (sslext) to switch between encrypted and unencrypted pages in my webapp. Everything works fine excerpt for the login page, which is handled by the servlet
|
| Tomcat-Struts Data Source problem | 29 Jul 2005 13:37 GMT | 6 |
hello! I develop a Struts application and I have a problem with starting my Tomcat. I sought why and I know that the problem is of Data Source. But I did not find a solution. Here my declaration of Data Source in Sruts-config.xml :
|
| Vector & memory fragmentation | 29 Jul 2005 13:21 GMT | 4 |
If I have a Vevtor: Vector vector = new Vector(); and I am tracking a particular Object within that Vector, whereby I obtain it;s original position within the Vector, say, int u. Then say, through
|
| About Apache Maven scm plugin | 29 Jul 2005 12:14 GMT | 1 |
Hi, we are trying to automate our release process. I am trying to use Maven, it really simplifies many things. While using scm plugin's prepare-release goal i have the following problem: when i execute the command "maven scm:prepare-release" maven prompts
|
| Connect to Web interface to process data | 29 Jul 2005 11:55 GMT | 5 |
Dear newsgroup readers, I would like to use Java to connect to a Web page. This Web page contains a button, which when clicked opens a dialog box where you can point to a file for processing.
|
| Is a static method sufficient to call it factory? | 29 Jul 2005 10:02 GMT | 11 |
I've just a doubt... Talking about factories why someone propose the way Factory.getInstance().createClass(aType); instead of simply
|
| macro processor, string juggler, script language ? | 29 Jul 2005 08:20 GMT | 1 |
Doing a lot with regular expressions --- big ones, huge ones, terrifying monster ones --- I end up piecing together things with static final Strings. To give you an idea of how this may look: ...
|
| Create by constructor or static method | 29 Jul 2005 07:50 GMT | 1 |
I have a Connection class that has a construct that accepts an InetSocketAddress but i'm having doubts whether that is the way it should be. Under what circumstances should i change the design so that i the
|
| How to covert String("6,400.0") to Double ? | 29 Jul 2005 06:49 GMT | 4 |
public static double removePeriod(String format) { double a = 23.0; format = "23.0"; a = Double.parseDouble(format,10);
|
| inhibiting comment reflow | 29 Jul 2005 04:36 GMT | 11 |
Eclipse comment reformatter is great for free form text, but it screws up anything that is designed to align in columns. I gave discovered <pre> </pre> will disable to reflow in Javadoc, but not in // or /* comments. Has anyone discovered something similar for // or /*?
|
| how to fill the string to length = 256 | 29 Jul 2005 03:56 GMT | 2 |
Now, I am using below code, how to fill the string to length = 256 or more ? inputLine = inputLine.substring(0,inputLine.length()) + " " + " " +
|
| Java install on Linux FC4 (Two very basic questions). | 29 Jul 2005 01:05 GMT | 3 |
This is very simple question... but the answer is not obvious to me! I am trying to compile and run very simple "hello World" kid, java programs.... and I am running into problems. I am having errors messages, bnoth at compile (for some programs), and run
|