sandy comp

Greenhorn
+ Follow
since Aug 11, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sandy comp

It seems Person.DOB returns string. You can format date to string and then compare. This happnes because if we say resultset.getString("DOB") where "DOB" is date column.
chek if u have another application delpoyed on same server machine using the same JNDI name. You can test if name already in use by using JNDI api. e.g. by using initialcontext and lookup.
I am using jdk1.4 and inbuild xml parser. Folowing is code snippet for reference.

InputStream is = new FileInputStream(new File("conf/property.xml"));
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document xmldoc = db.parse(is);
Element elem = xmldoc.getDocumentElement();
NodeList nodeList = elem.getChildNodes(); // root node
for(int i=0; i<nodeList.getLength(); i++) {
if(nodeList.item(i).getNodeType() == 1) {
// problem statement, here I'm not able to get all the child nodes
Element childelem = (Element)nodeList.item(i);
}
}

do you ahve any idea why I am missing the child nodes?
If your application is restricted to single JVM, then Beans are the best option but if its distributed go for XML. Then u can expose u service to whole world....
Hi All,
Im using weblogic 5.1 , I wroked on weblogic 6-7-8, but 5.1 is....anyways, Whenever I tried to deploy ejb in 5.1 using build.cmd,its giving me following error related to .ser file.
ERROR: Error from ejbc: C:\admin\administrator\ejbcgen\Files\JavaSoft\JRE\1\2\lib\rt\jar;C:\ProgramAD.ser (The filename, directory name, or volume label syntax is incorrect) ERROR: ejbc found errors.
As Im not aware of all this junk, need your help
Thanks in advance
Sandy
Hi All,
Im using weblogic 5.1 , I wroked on weblogic 6-7-8, but 5.1 is....anyways, Whenever I tried to deploy ejb in 5.1 its giving me following error related to .ser file.
ERROR: Error from ejbc: C:\admin\administrator\ejbcgen\Files\JavaSoft\JRE\1\2\lib\rt\jar;C:\ProgramAD.ser (The filename, directory name, or volume label syntax is incorrect) ERROR: ejbc found errors.
As Im not aware of of all this junk, need your help
Thanks in advance
Sandy
20 years ago
hi
If you are using XMl (as u mentioned "Document"), then, if the node on which ur querying for text is of type "Text Node" then and then only only u'll get text associated with that node. otherwise u'll get null.
21 years ago
Hi friends.
I have problem while inserting data into CLOB datatype of Oracle. I'm able to insert samll files into CLOB say having 4000 characters, but if this limit exceds I'm unable to insert file into CLOB. I tried both otions on java.sql.PreparedStatement
viz. setAsciiStream() and setBinaryStream().
Anyone have solution on this. Please let me know as early as possible.
Thanks in advance.

------------------