Experts,
I am getting an error in JAVA when I try to run my program. It compiles fine, and the program does run but I get an error message right before the first instruction "Bad ...
Hello,
I'm new to maven and am using and existing pom file to compile and build my web application to generate the war file.
I need a to add a new phloc-ysearch-1.5.jar to the build.
Ca...
I have got an executable program which I haven't written...i got only exe...The program has a feature of generating text files (txt)...But each time i have to click on OK button and the file i...
i have a program that builds fine. and it should generate emails but during runtime it error out before the transport email statement. i am also attaching all the system.out.println statement ...
I had an requirment to delete a single line from a file on click of ab uton , so i used the logic below but the .delete() relurns a true wen i try deleting it the first time but it returns a ...
Any idea as to what the exceptions below mean?
User reports application freezes when this occurs. There is too much code that is being processed when this happens to reasonably post/review ...
Hi,
I have a requirement where user can fill in an excel template and upload the excel file. I implemented this using standard file upload functionality. For reading the contents of excel f...
I am trying to move a file using renameTo() method. If a file with same name already exists it will not move the file. How to overcome it. I want to move the file even if it is existing already
Dear Experts,
Im a Hibernate newbie. Ive reverse-engineered a database layer, resulting in a set of interlocking beans based on foreign keys. They look something like this (without gette...
hi guys
I have a code like this
String value6 = formBean.getValueFromPage();
value6 can only be 4 digit number meaning it cannot contain alphabets or decimal
In other words it should...
Hi Expert,
In the below coding i am getting the agencycoded one value. I want to copy the agency coded to 0&1 pls guid me to change the coded as soon as possible.
hi, im trying to create a folder in the server for each user who has registered. Any idea how do i accomplish this?
Hi,
Does InetAddress.getByName() is good way to do the NSLookup or do we have some other better way also. I need to know the ip from url.
I think there should be a function from String.Utils which can add the "0" to a string at ther begining.
Someone knows?
Hello everyone and I have tried and searched and I am not sure why this one part of the code is not working. Okay here is what I have. I am using an Outbound data stream to connect to my excah...
how can i use this in my program. im trying to let it read a file.
//takes input from file:xxxxxxxxx and loads array of 50 State objects until end of file
while ((outStringSort=...
Hello,
I have a recursive function in java. i declare this function as static. within the function i define a resultset variable. for each iteration of the recursive, i create a new instanc...
There is a master script named ScriptAll.java which contains the statements callscript("Script001");callscript("Script002"); .... callscript("Script500");
Each Script001, Script002, till S...
Hi,
I'm looking at an example of a work queue from Sun:
http://developers.sun.com/mobility/applications/suncat/1.0/Internals.html
It looks like you can place a message into a queu...
I have JTable in JDialog (Its is the only component in that frame). When the JDialog is resized using mouse drag I want the JTable to be resized accordingly.
I am using JDK 1.6
Thanks
Hi,
I have a JApplet, and I want to display a dialog derived from JDialog. The JDialog constructor wants either a Dialog or Frame as the owner. I guess I want the JApplet 'frame' to be the ...
This code:
int int1 = 11;
int int2 = 22;
double answer1 = int1/int2;
System.out.println ("int1/int2 = " + answer1 );
double answer2 = (double) int1 / (double) int2;
System.out.println...
I am using a JTree in my application that needs to be abel to have nodes added to it and removed from it dynamically. Using the following function, everything works, but after one node has bee...
Hi, i'm using the json package from json.org, which is great for parsing json. but what i would really like to be able to do is have the json be automatically mapped to a javabean that had mat...
Hi,
I have a very strange problem when working with oracle.sql.BLOB; I cannot figure out what is causing my BLOB's output stream doubling the amount of data inserted into the Oracle databas...