| Thread | Last Post | Replies |
|
| finding the directory a .jar file was launched from | 13 Jun 2005 08:21 GMT | 5 |
what is the best way via code to find the directory a jar file was launched from . ourProgramDirectory = System.getProperty("user.dir"); // this is not correct!!!!!!
|
| Creating installable package in java | 13 Jun 2005 08:06 GMT | 1 |
I want to create a installable package [setup.exe] in java.In my package i want to include my jar file. On running setup it should search for jvm on system if there is no jvm then it should install it on the system.
|
| Why are some Collection methods unavailable to List clas by default? | 13 Jun 2005 07:53 GMT | 1 |
What is the reason for not having methods like "indexOf" in the LinkedHashSet class since the elements are sequenced anyway?
|
| Serializing DOM object | 13 Jun 2005 07:01 GMT | 3 |
My java application creates an XML DOM object. Does anybody know how to write this object into a file? Please help me out. regards,
|
| How to post to a jsp web page? | 13 Jun 2005 04:38 GMT | 3 |
Hello world, i'm writing a java application to post some parameters to a jsp web page and process the return html content. I'd tried the tutorial on Writing to URL @ Sun's java home but fail.
|
| best way to replace forbidden characters | 13 Jun 2005 02:40 GMT | 5 |
I got a string whch can contains some forbidden characters 'é' or '/' this kind of stuff. so far I've done this : myString = myString.replace('é', '_');
|
| display the form values from view page | 13 Jun 2005 02:11 GMT | 1 |
register.jsp is the view page, and when the user click submit button, it will go to result.jsp based on struts-config.xml. The followings are the code fragment of each significant files. My question is for result.jsp, I am now using
|
| enum within an enum | 13 Jun 2005 01:51 GMT | 6 |
public enum A { A1_ASC, A1_DSC, A2_ASC,
|
| constructor problem | 12 Jun 2005 23:04 GMT | 1 |
Hello, i dont understand why i get the cant resolve symbol error. I want to start an RMI server here. import java.rmi.*; import java.rmi.server.*;
|
| Parsing text acounting for typos? | 12 Jun 2005 22:20 GMT | 1 |
Any suggestions on how I may compare two lines of text say allow for a certain number of typo's? I was thinking some form of regular expression, any ideas?
|
| How to get the total number of lines of a text file | 12 Jun 2005 22:16 GMT | 4 |
How to get the total number of lines of a text file
|
| J2ME : place components | 12 Jun 2005 17:49 GMT | 4 |
I've tried to develop with J2ME today. I'm come from SuperWaba world.... I've tried some example provided with the Sun SDK and I try one devlopment. I know how to add graphical component (button, String Item, list...) but
|
| struts and submit button | 12 Jun 2005 17:10 GMT | 2 |
I have a form on my jsp page I want image to be a submit button but i dont know how to do it <html:img name="submit"> doesn`t work. What should i write to solve this problem?
|
| An interview question | 12 Jun 2005 16:56 GMT | 22 |
Can anyone help me to answer the following interview question? Thanks! 1. Change the following code so an instance of Person is immutable once created. Please note that citiesVisited is an array and may require special consideration.
|
| DOM API or LiveConnect? | 12 Jun 2005 14:46 GMT | 4 |
I have just figured out how to use LiveConnect to use Javascript from inside an Java Applet. I am doing this to dynamically generate HTML elements. Previously, I was able to do all that using Javascript only, no Java Applet and such. The project is going to be large and I did not
|