Advertisement

Experts Exchange is proud to recognize the top quarterly Experts of 2008. These Experts have risen to the top, so CONGRATULATIONS!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Java Solutions: 101 - 125 of 4120
 
Hello, I'm using JavaMail to automatically send an email with a text attachment to a recipient. The people who were supposed to receive the email has informed me that their system is u...
I have a button to find a file and that file has to replace into input text box...later on this file will be read... How can i create textbox field?
Hello, I tried to compile the following code in Java 5.0 (under Eclipse): ################################################################################ package hall; import java...
I  create a JTable and a String array. I add this String array to JTable.  After I got new data and I want to  update JTabel and I don't want to refresh the whole JTable. Thanks for help ...
The following codes are extracted from JSF tutorial from sun website. I do not understand what this rendered attibute refer to? Does rendered="false" means it is disabled, then if the binding ...
I am using Java 1.4 in eclipse and I am getting the following errors: "The project was not built since its build path was incomplete.  Cannot find the class file for javax.servlet.http.Http...
i have an application that is running against an oracle10g database.  when i try to perform certain operations in the application, it comes back with the error: ORA-01795: maximum number of...
hello there, i have a jtable which gets its data from the db.now i want to be able to edit the details in the cell.how can i do it.example will be appreciated. cheers zolf
what is lazy loading in hibernate?how  it works either i give lazy="true" or lazy="false" in mapping file;should i use "true" or false in the mapping file.
Hi,  I have an object type Line. And I have a HashMap of Lines. I want to get an array of Lines from this HashMap. So I write the following: HashMap cache; ... ... Line[] lines = (L...
How to get the day diff between currday and dateposted? Thanks. java.util.Date currdate = new java.util.Date();  //today java.util.Date dateposted = rs1.getDate("DatePosted"); Also what I...
Need some help in ArrayList. I want to check if the value does not exist in the list, then i will add into the list. This is an example of what i'm trying to do: List list = new ArrayList()...
Hi I have this trivial problem ... :) beleive it is major for me ... I just want to tell that to myself .... I have a XML file in my Java project (command line based) . The XML file is ...
To compile a servlet I downloaded the servlet.jar file.  In order to make my servlet .java file compile I unpacked the servlet.jar in my local directory.  However, I thought that the compiler ...
Hi, I am using Eclipse and MyEclipse to debug a web application made by struts 2, ajax, spring, and hiberante. Now I want to install firebug to debug javascript. Do you know how to install fir...
Hi, I want to insert a simple record in the DB2, programmatically. Here's the code which does it. java.util.Calendar cal = new java.util.GregorianCalendar();                java.util.Date now = cal.g...
Hi all, I'm trying to convert a string into Binary numbers, grouped by 6bits. Then, I must drop the ending 0's to get groups of 8bits and reconverts each group into characters that will for...
Hello experts, I would like to make a jar file using JDeveloper and every time I try it and it looks like it's going to work I get an error saying that: "Could not find the main class. P...
import javax.xml.*;       import javax.xml.namespace.*;       import javax.xml.stream.*;       import javax.xml.stream.events.*;       import javax.xml.stream.util.*;       import java.util.*; import java...
I'm trying out NetBeans for the first time, but I don't have a clue as to how to create a simple hello world window application. Can someone please give me some simle instructions? Is th...
I have a many to many relationship between groups and users that I have mapped as shown at the bottom of this post. I now would like to add an additional column to the user_group database, ...
Hello, I am calling a EJB session bean running on a WebLogic server from an EJB session bean running on a Websphere 6.1 server.I am testing this through my JUnit (and Universal Test Case)  on ...
Hi all, I am using open-source servlet to send email via SMTP. But the SMTP gateway requires authentication. Following is the error message :- DEBUG: getProvider() returning javax.mail.P...
Hi experts, I have a table, which has a start and end date, and i want to query, using Hibernate's query language, whether a given day falls between these two SQL dates.  Can anyone help me...
An error, "No CurrentSessionContext configured",  occured while executing the following method Public static Session currentSession() { try {    System.out.println("HibernateUtil.curre...