i use tomcat 5
oracle
jbdc connection
i got this error:
Cannot create PoolableConnectionFactory, cause: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135296000)(ERR=12505)(E...
I have a JTable, and when it has gained the focus, one of the cells will actually have the focus. How do I know which cell has the focus (the row/column of the cell)?
Ultimately, what I'm t...
Hi I am using oracle DB. I want to convert String to java.sql.Blob
if i do below i get an error like
[javac] found : java.lang.String
[javac] required: java.sql.Blob
[ja...
I am trying to connect to an Access database via sun's JDBC - ODBC driver using the Squirrel SQL Client.
I have set-up a User DSN called "MyDB" under OSBC Data Source Adminsitrator. I canno...
Hi experts,
I was wondering if there is any cases when a Session.saveOrUpdate(myPersistentObject) hibernate call will cause:
java.sql.BatchUpdateException: Invalid argument value: Dupl...
I have tried unsuccessfully to replace all dots (.) in an extension string with "*."
Every time, the asterisk is used as a wildcard and it literally replaces all.
.asa;.asax;.ascx;.asmx;.as...
Hi all,
For a long time, I have been using the Oracle classes12.jar in Tomcat for connection to an Oracle database. I was doing some testing with Oracle AS 10g in prep for a production migra...
I've run into some problems in trying to add or delete items and also listening to item selections for a combo box that is rendered in a JTable cell. I've been able to create the JTable and ha...
In Ireports using a JRDataSourceProvider, how do i get a parameter to be passed in into the object.
Getting information from the parameter prompt into the object is what i need.
Ireport i...
The javax.mail.internet.Address class returns an address exception when some of the email addresses contain a blank. For example, name@yahoo.com is OK, but this type of address, John Smith/Cit...
Is there a fast way to convert a java arraylist to comma delimited string without using an Iterator?
Hi,
I have a Hashtable in java 1.3.1. It is a table of usernames and passwords, like:
Hashtable logins = new Hashtable();
logins.put("Jo", "mypassword");
logins.put("Frank"...
I need to read a value of a single variable in windows registry and use it in my java code. Please help. Code examples would be great.
Thanks.
Hello All,
Till date my perception is StringTokenizer is slower than String.split();
Is that correct??
If so,
Here is a sequence of methods that need to be executed in sequence...
Using a InitialDirContext object, searching Active Directory fails. Specifically I'm using the .search method and the error occurs when executing the NamingEnumeration.hasMore method.
The ...
I am writing Struts code after 2 years.
As I am trying to write a sample struts code from the website and run the build file it is giving the following error. I have placed The following ja...
I'm working on a project in Java that involves manipulating Pixels. I'm creating my Pixel class right now. I'm stuck at where to go on this. Here's my current project details:
Lab 3 asks yo...
hi experts
this must be simple ,
I have a field in jsp.
In my java class, i want to check that only whole number values are entered in the field.
so in my java class, if field is...
OK I am trying to strip off all html tags but this doesn't work...why not?
lines[i].replaceAll("\\<.*\\>", "");
Asusming I have a string called htmlPage, how do I convert the <p> and <br>...
Hello Everyone,
Thank you for taking the time to help me. I'm developing an Active Directory administrative web application and have run into a (what I thought) minor snag that I just can'...
hi experts,
Is there any openCV equivalent in java.
Hi,
I need to make a column of a JTable to be a JComboBOx, thus
selectable from a drop-down list.
Any solution?
Thanks.
cbbl23
I'm making a swing application by extending JFrame
i want to import 4 32 x 32 images and draw them. I'm not able to do so with the drawImage() function...
here's my code:
check th...
Hi experts,
i know where i want to put it.
i get the error:
org.hibernate.HibernateException: WEB-INF/hibernate.cfg.xml not found
I put it in my WEB-INF directory, and in my code, it...
I receive the following error/exception when parsing a specific XML file. I am aware that this is usually caused by a misplaced prolog, but I can't verify this as I receive an XML document fr...