Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~12.9K People Reached
Favorite Forums
Favorite Tags
java x 22
Member Avatar for a_iyer20

Hello, I have a requirement to fetch data from a database and store into another database. More explanation goes as follows: I have a web application deployed on an application server. The JDBC connection fetches data from a oracle database. Now I have a need to fetch data from a …

Member Avatar for jwenting
0
101
Member Avatar for a_iyer20

Hi All, I have 2 classes. say Class A and Class B. My logic is coded in a method in class B. I am accessing this method of class B by creating an instance of class B in class A. To explain better: Class A{ ClassB b = new ClassB(); …

Member Avatar for a_iyer20
0
95
Member Avatar for a_iyer20

Hello, After having a list created from objects of a certain Class. I wish to sort the contents. How do I do this? This is my case: _bkgList = new ArrayList(); for(int i = 0; i<10; i++){ BookingResponse bkngRes = new BookingResponse(); bkngRes.setAwbNum(awbNum); bkngRes.setOrigin(origin); _bkgList.add(bkngRes); } As you can see, …

Member Avatar for a_iyer20
0
126
Member Avatar for a_iyer20

Hello All, I need to create a simple xml document using DOM(I am not specific on using only DOM. It can be SAX also). I tried putting to use a sample from this link: [url]http://www.java2s.com/Code/Java/XML/MakeupandwriteanXMLdocumentusingDOM.htm[/url] In the link above, the line: Document doc = parser.newDocument(); resuts in a null value. …

Member Avatar for jwenting
0
114
Member Avatar for a_iyer20

The following piece of code is supposed to add html spaces in place of leading spaces. /** * Finds all leading spaces on each line and replaces it with * an HTML space (&amp;nbsp;) * * @param s string containing text to replaced with &amp;nbsp; * @return the new string …

Member Avatar for masijade
0
2K
Member Avatar for a_iyer20

Hi All, I am using a String formatting which separates two strings using the "\t" (tab) character like below: String _str = "col1" + "\t" + "col2" + "\t" + "col3"; I get the following output: col1 col2 col3. this is fine. But because i have a horizontal restriction to …

Member Avatar for masijade
0
11K