Help coderanch get a
new server
by contributing to the fundraiser

Balachandar Nayak

Greenhorn
+ Follow
since Jul 22, 2005
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 Balachandar Nayak

Hi friends.

I have an XML file in the following format



The name tag represents the element and the source represents where I have to place the name tag.
I need to build a hierarchy in the following manner.



There can be 'n' level hierarchy with child elements. How to create a hierarchy in java?

Can you advice on this.

Thanks
Bala
Hi friends.

I have an XML file in the following format



The name tag represents the element and the source represents where I have to place the name tag.
I need to build a hierarchy in the following manner.



There can be 'n' level hierarchy with child elements. How to create a hierarchy in java?
Can you advice on this.

Thanks
Bala
14 years ago
Hi.

While catching exceptions is it advisable to print the stack trace by
e.printStackTrace(); or log the error message by e.getMessage()

try{
//Exception Code
}catch(NumberFormatException ne){
e.printStackTrace();
}

I feel that if I mention e. then the log file size is getting bigger.
which is advisable?

regards
bala

15 years ago
Hi,

While converting the string to date I m getting parsed exception

SimpleDateFormat simple1 = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSz");

Date dateParse = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSz").parse('2007-10-10T11:33:23.000z');

Can anyone help me out

Regards
Bala
16 years ago
I need some details...with respect to the XML parsers listed below.

Out of these Parsers which one is good and why we need to go for it
(SAX, DOM, STAX,JAXP, Digester)


Advantages and disadvantages.. (Like STAX is good for parsing but in case of validation it doesn�t support schema � it supports schema but with the help of XMLBeans )

Basically I want to accomplish tasks like


1. Convertion of XML to Object
2. Object to XML
3. Validate xml with Schema

Thanks
Bala
I need some details...with respect to the XML parsers listed below.

Out of these Parsers which one is good and why we need to go for it
(SAX, DOM, STAX,JAXP, Digester)


Advantages and disadvantages.. (Like STAX is good for parsing but in case of validation it doesn�t support schema � it supports schema but with the help of XMLBeans )

Basically I want to accomplish tasks like


1. Convertion of XML to Object
2. Object to XML
3. Validate xml with Schema

Thanks
Bala
17 years ago
Hi,

I have a query in JMeter.
I have a struts application, In that the home page contains
2 fields(text box) username and password
and a Submit button.
Now I want to test by giving values for the 2 textboxes and to check whether it displays the actual page
That means by giving correct username and password it should show the main page or some error page
Sorry for poor english

Regards
Bala
18 years ago
hi,

Can we write our own method in JSP?


18 years ago
JSP
Hi,

I have a problem while executing this program.



This program compiles fine (no error) but while execution of this prg throws an error
com.sun.mail.smtp.SMTPSendFailedException: 530 Authentication required

Regards
Bala
18 years ago
hi,

What is the purpose of having an interface and its methods defined as being abstract? To me, this is completely redundant:

abstract interface sampleInt {
public abstract display();
}
If it's an interface, of course you have to implement its definition - which is what being abstract means. What is the point of basically specifying the same thing twice?




Regards
Bala
Thanks Valentin for ur valuable reply



Regards
Bala
Hi

I have a doubt in Connection Pooling.
I came to know that we can limit the number of connections in Connection Pool.
Is it possible and how?
Im using JBoss Application Server.
Is it Possible in Weblogic?


Regards
Bala
Hi

Can U tell me the difference between EJB 2.0 and EJB 3.0?


Regards
Bala
hello

How to connect Webserver with ApplicationServer?
Is it possible?
This is an Interview Question?
How to do it?

Thanks in Advance
Regards
Bala
18 years ago
Dear all

Im learning J2EE and Im a beginner
What is JavaBean?
What is the use of the getter and setter functions
described in the Bean?
How it is used to transfer data from a GUI and a database?
Kindly response to my question.

Thanks in Advance

Regards
bala