hi,
i just wonder how i can make an icon for my project. So when any user double click on that icon, my project can run any system which has java installed.
Hi,
I'm wondering how java handles the final keyword in some instances. For example, with use in threads:
public void testA()
{
Car car = new Car();
car.colo...
Hi guys
I have a VO called customerVO
public class CustomerVO
{
public string name;
public int age;
setName();
getName();
setAge();
getAge();
}
In my backend DAO , i ...
My code is working fine for this JSP page.
However, if bad SQL is passed to the page it will error out with a NULL pointer exception.
I have this catch below to show what the SQL exception...
Hi,
What is the best way to popup a pane in Swing that is not a dialog?
I don't need the buttons of a dialog. Just popup a picture
i.e.
User click on the button, and a picture is displayed...
Hi,
I have a file included inside my jar, how can I open it for reading? I want to do something like:
InputStream is = getClass().getResourceAsStream("res/test0.res");
but the res...
Dear EE members,
I have a brother who is not good in programming, although he has work as junior programmer for
past few years. To survive in the software industry, he forced to copy and p...
I have a resultset that I read through and log to a debug to record all the results.
Before returning the rs back to the function i do a
rs.first();
but when I read back through the ...
I am using Weblogic server 8.1.4. I have deployed an web based applcation developed in JAVA. Heap and Core dumps were getting created continuously for long time. Plese provide me tips to analz...
I got a JAR file from sourceforge and it works great but the signature on it is in a weird language so it looks really suspicious when approving.
I have JDK, NetBeans and JCreator installed...
Why do my class file names contain a '$' character and how can I compile so that they do not contain it? Is this possible? I need to do this as files with a $ in the name cannot be added to Vi...
I am experiencing an issue that I can only describe as an apparent memory leak that occurs as a result of using JFrames.
More specifically, I am noticing that if I display a JFrame and th...
I have some java classes (with their corresponding java files) in a package structure, on my hard drive. Example:
C:\Library\com\something\utility\foo.java
C:\Library\com\something\utility...
hello. because of the complexity of database structure, i may need to have 2 or more datasource to retrieve all the results for the report. how can the datasources be used in the report?
I have a Java .java program that I'm trying to compile. I've been working on this problem for a while now, and it's always compiled fine in the past, including a couple of times today. However...
We are having like 6 classes. Each of which will have methods where two objects as parameters(necessary) which are quite large objects each of which internally have objects and so on and so fo...
Hi, I want list a directory of the machine the user from a Applet, I never worked with applet.
Ideas?
I am using the below mention code to access the properties(placed in Web-inf/com/ymapp/struts) file in my java DAO class.
ResourceBundle rb = ResourceBundle.getBundle("com/myapp/struts/conf...
In GWT, we could use JSNI. But if I open a child window, how to access this child window's element. In GWT code:
I have:
public void test(){
Window.open("http://localhost:8...
I have copied working version of java application war file onto server, it complains saying 'org.apache.struts' can not be found eventhough application has struts.jar included in it. It is wor...
I want to find some set of words should be find out in a directory. In that directory sub folders are there.In that sub folders it should search only in java files.detaills should be captured ...
Hello,
If I have a server with multiple ip addresses, then how can I determine which ip address a client connected to? I am using Java 5.0.
I know I can easily get the client's ip addre...
Hi All,
I want to Restrict raw XHTML Documents from being directly accessed
I've added the security-constraint in the web.xml
.
.
.
<security-constraint>
<display...
i am having a program that ask you to make a abstract class Shape and this Shape class has few 2 subclasses that inherited from Shape, the classes are called 2DShape and 3DShape. And then, the...