Jun 18 2007 06:59 AM 1818Views 0Ans How we implement polymorphism in java? What is value pass by reference and value pass by argument in java sivaprasad J2EE Interview Questions Answer Question May 27 2007 02:57 PM 1517Views 0Ans What are main functions of java virtual machine? rameshtnj Profile Answers by rameshtnj Questions by rameshtnj J2EE Interview Questions Answer Question Apr 24 2007 06:17 AM 1848Views 0Ans How new versions of an application get UPDATED in wireless environment (mobiles) venugopal J2EE Interview Questions Answer Question Apr 18 2007 11:03 AM 1902Views 0Ans How to retrive data in a encrypt form in jsp abhayanand J2EE Interview Questions Answer Question Apr 16 2007 08:02 AM 1934Views 0Ans How Java interacts with Microsoft DCOM components joglekaruday Profile Answers by joglekaruday Questions by joglekaruday J2EE Interview Questions Answer Question Mar 08 2007 12:30 PM 2167Views 0Ans How to access two tables through hibernate ? Can anybody guide us with complete code including the java codes and xml code ? John J2EE Interview Questions Answer Question Jan 22 2007 09:13 AM 1575Views 0Ans How shall i know whether a perticular mail is new or old using JavaMail. sk_gazanfar Profile Answers by sk_gazanfar Questions by sk_gazanfar J2EE Interview Questions Answer Question Jan 22 2007 06:27 AM 2723Views 0Ans import java.awt.BorderLayout;import java.awt.Container;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JOptionPane;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.JTree;import javax.swing.tree.DefaultMutableTreeNode;import javax.swing.tree.DefaultTreeModel;public class ModelJTree extends JFrame { private JTree tree; private DefaultTreeModel model; private DefaultMutableTreeNode rootNode,Medievel,Ancient,Philosophers; public ModelJTree() { DefaultMutableTreeNode philosophersNode = getPhilosopherTree(); model = new DefaultTreeModel(philosophersNode); tree = new JTree(model); JButton addButton = new JButton("Add Philosopher"); addButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { addPhilosopher(); } }); JButton removeButton = new JButton("Remove Selected Philosopher"); removeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { removeSelectedPhilosopher(); } }); JPanel inputPanel = new JPanel(); inputPanel.add(addButton); inputPanel.add(removeButton); Container container = getContentPane(); container.add(new JScrollPane(tree), BorderLayout.CENTER); container.add(inputPanel, BorderLayout.SOUTH); setDefaultCloseOperation(EXIT_ON_CLOSE); setSize(400, 300); setVisible(true); } private void addPhilosopher() { DefaultMutableTreeNode parent = getSelectedNode(); System.out.println(parent); if (parent == null) { JOptionPane.showMessageDialog(ModelJTree.this, "Select an area.", "Error", JOptionPane.ERROR_MESSAGE); return; } String name = JOptionPane.showInputDialog(ModelJTree.this, "Enter Name:"); model.insertNodeInto(new DefaultMutableTreeNode(name), parent, parent.getChildCount()); } private void removeSelectedPhilosopher() { DefaultMutableTreeNode selectedNode = getSelectedNode(); if (selectedNode != null) model.removeNodeFromParent(selectedNode); } private DefaultMutableTreeNode getSelectedNode() { return (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); } private DefaultMutableTreeNode getPhilosopherTree() { DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Philosophers"); DefaultMutableTreeNode ancient = new DefaultMutableTreeNode("Ancient"); rootNode.add(ancient); ancient.add(new DefaultMutableTreeNode("Socrates")); DefaultMutableTreeNode medieval = new DefaultMutableTreeNode("Medieval",true); rootNode.add(medieval); return rootNode; } public static void main(String args[]) { new ModelJTree(); }}"> Hi....My question is In a JTree i want to add nodes to only the nodes whose parent is root node.Please help me with this.In the following code it should be possible to add node to "Medieval" but not "socrates.import java.awt.BorderLayout;import java.awt.Container;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JOptionPane;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.JTree;import javax.swing.tree.DefaultMutableTreeNode;import javax.swing.tree.DefaultTreeModel;public class ModelJTree extends JFrame { private JTree tree; private DefaultTreeModel model; private DefaultMutableTreeNode rootNode,Medievel,Ancient,Philosophers; public ModelJTree() { DefaultMutableTreeNode philosophersNode = getPhilosopherTree(); model = new DefaultTreeModel(philosophersNode); tree = new JTree(model); JButton addButton = new JButton("Add Philosopher"); addButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { addPhilosopher(); } }); JButton removeButton = new JButton("Remove Selected Philosopher"); removeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { removeSelectedPhilosopher(); } }); JPanel inputPanel = new JPanel(); inputPanel.add(addButton); inputPanel.add(removeButton); Container container = getContentPane(); container.add(new JScrollPane(tree), BorderLayout.CENTER); container.add(inputPanel, BorderLayout.SOUTH); setDefaultCloseOperation(EXIT_ON_CLOSE); setSize(400, 300); setVisible(true); } private void addPhilosopher() { DefaultMutableTreeNode parent = getSelectedNode(); System.out.println(parent); if (parent == null) { JOptionPane.showMessageDialog(ModelJTree.this, "Select an area.", "Error", JOptionPane.ERROR_MESSAGE); return; } String name = JOptionPane.showInputDialog(ModelJTree.this, "Enter Name:"); model.insertNodeInto(new DefaultMutableTreeNode(name), parent, parent.getChildCount()); } private void removeSelectedPhilosopher() { DefaultMutableTreeNode selectedNode = getSelectedNode(); if (selectedNode != null) model.removeNodeFromParent(selectedNode); } private DefaultMutableTreeNode getSelectedNode() { return (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); } private DefaultMutableTreeNode getPhilosopherTree() { DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Philosophers"); DefaultMutableTreeNode ancient = new DefaultMutableTreeNode("Ancient"); rootNode.add(ancient); ancient.add(new DefaultMutableTreeNode("Socrates")); DefaultMutableTreeNode medieval = new DefaultMutableTreeNode("Medieval",true); rootNode.add(medieval); return rootNode; } public static void main(String args[]) { new ModelJTree(); }} Bhavyams Profile Answers by Bhavyams Questions by Bhavyams J2EE Interview Questions Answer Question Jan 18 2007 10:15 AM 2697Views 0Ans Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.81.7.169:1521:PTS", "TESTPTS", "TESTPTS"); System.out.println("connection established"); PreparedStatement ps = conn.prepareStatement("insert into DEMOBLOB values(?)"); System.out.println("insert executed"); File photo= new File("D:/Thinkingjava.pdf"); System.out.println("image loaded "); FileInputStream photostream= new FileInputStream(photo); System.out.println("photo taken"); ps.setBinaryStream(1,photostream,(int)photo.length()); ps.executeUpdate(); photostream.close(); } catch(Exception e) { e.printStackTrace(); } } }above is the code which iam using and below is the exception i am gettingORA-01460: unimplemented or unreasonable conversion requested at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1313) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232) at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353) at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1807) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:332) at PDFConnect.main(PDFConnect.java:24)"> When iam tring to insert a pdf of 2mb in to oracle database.This is my source code.import java.io.File;import java.io.FileInputStream;import java.sql.Connection;import java.sql.DriverManager;import java.sql.PreparedStatement;public class PDFConnect { public static void main(String args[]) { try{ Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.81.7.169:1521:PTS", "TESTPTS", "TESTPTS"); System.out.println("connection established"); PreparedStatement ps = conn.prepareStatement("insert into DEMOBLOB values(?)"); System.out.println("insert executed"); File photo= new File("D:/Thinkingjava.pdf"); System.out.println("image loaded "); FileInputStream photostream= new FileInputStream(photo); System.out.println("photo taken"); ps.setBinaryStream(1,photostream,(int)photo.length()); ps.executeUpdate(); photostream.close(); } catch(Exception e) { e.printStackTrace(); } } }above is the code which iam using and below is the exception i am gettingORA-01460: unimplemented or unreasonable conversion requested at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1313) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232) at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353) at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1807) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:332) at PDFConnect.main(PDFConnect.java:24) naresh J2EE Interview Questions Answer Question Nov 21 2006 02:12 PM 1871Views 0Ans Why upgrade from ejb2.0 to ejb3.0 giving comparisons, differences, and advantages. Kurt Henry J2EE Interview Questions Answer Question Oct 22 2006 05:12 AM 1662Views 0Ans Can anybody help me in how both combiningly webserver & application server Project can run in Eclipse IDE, with source codeif possibe mail 2 me newyuga@rediffmail.com newyuga Profile Answers by newyuga Questions by newyuga J2EE Interview Questions Answer Question Oct 12 2006 04:15 PM 1743Views 0Ans Hi all,javax.servlet Interface RequestDispatcher does have method public void include(request, response).According to documentation it includes the content of a resource (servlet, JSP page, HTML file) in the response.My question is does it compile the Jsp page before including or after including it.Thanks hmashruf Profile Answers by hmashruf Questions by hmashruf J2EE Interview Questions Answer Question Aug 13 2006 01:50 AM 1580Views 0Ans I have written one applet by using multithreading concept(by implementing Runnable interface)and including it in my JSP page, but the jsp page is unable to load the applet. I have written Plz help me by giving any techinque for including an applet in the jsp page. questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question Aug 04 2006 04:11 AM 1790Views 0Ans How we can connect to a database in Java without creating DSN and by using JNDI in J2EE Server. Plz give me the technique. Thank U. questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question Aug 02 2006 08:31 AM 1418Views 0Ans Can we start just Tomcat from jboss server, since i have jboss? sachinTest Profile Answers by sachinTest Questions by sachinTest J2EE Interview Questions Answer Question Aug 01 2006 03:57 PM 1307Views 0Ans How to communicate between between two applets. Plz give me the code. questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question Aug 01 2006 03:55 PM 1460Views 0Ans What is BorderFactory in java questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question Jul 30 2006 06:23 PM 1956Views 0Ans Hi friends i have one doubt. here my requirement is i want to display multiple images dynamically. for example i have one document having 500 images.i used one combo box there range 1-1011-20,21-30.........like selection is there. initially 1-10 should be displayed on the browser. if i select 21-30 then that range of images should be displayed vertically.plz clarify my doubt. ashok J2EE Interview Questions Answer Question Jul 26 2006 08:11 AM 1186Views 0Ans 1. What are the features added in Ejb 2.0 and struts 1.1? Sanjay J2EE Interview Questions Answer Question Jul 25 2006 10:48 AM 1403Views 0Ans In java ressultset,statement,preparesatement are interfaces without implementation how to those interfaces Rams J2EE Interview Questions Answer Question
Jun 18 2007 06:59 AM 1818Views 0Ans How we implement polymorphism in java? What is value pass by reference and value pass by argument in java sivaprasad J2EE Interview Questions Answer Question
May 27 2007 02:57 PM 1517Views 0Ans What are main functions of java virtual machine? rameshtnj Profile Answers by rameshtnj Questions by rameshtnj J2EE Interview Questions Answer Question
Apr 24 2007 06:17 AM 1848Views 0Ans How new versions of an application get UPDATED in wireless environment (mobiles) venugopal J2EE Interview Questions Answer Question
Apr 18 2007 11:03 AM 1902Views 0Ans How to retrive data in a encrypt form in jsp abhayanand J2EE Interview Questions Answer Question
Apr 16 2007 08:02 AM 1934Views 0Ans How Java interacts with Microsoft DCOM components joglekaruday Profile Answers by joglekaruday Questions by joglekaruday J2EE Interview Questions Answer Question
Mar 08 2007 12:30 PM 2167Views 0Ans How to access two tables through hibernate ? Can anybody guide us with complete code including the java codes and xml code ? John J2EE Interview Questions Answer Question
Jan 22 2007 09:13 AM 1575Views 0Ans How shall i know whether a perticular mail is new or old using JavaMail. sk_gazanfar Profile Answers by sk_gazanfar Questions by sk_gazanfar J2EE Interview Questions Answer Question
Jan 22 2007 06:27 AM 2723Views 0Ans import java.awt.BorderLayout;import java.awt.Container;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JOptionPane;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.JTree;import javax.swing.tree.DefaultMutableTreeNode;import javax.swing.tree.DefaultTreeModel;public class ModelJTree extends JFrame { private JTree tree; private DefaultTreeModel model; private DefaultMutableTreeNode rootNode,Medievel,Ancient,Philosophers; public ModelJTree() { DefaultMutableTreeNode philosophersNode = getPhilosopherTree(); model = new DefaultTreeModel(philosophersNode); tree = new JTree(model); JButton addButton = new JButton("Add Philosopher"); addButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { addPhilosopher(); } }); JButton removeButton = new JButton("Remove Selected Philosopher"); removeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { removeSelectedPhilosopher(); } }); JPanel inputPanel = new JPanel(); inputPanel.add(addButton); inputPanel.add(removeButton); Container container = getContentPane(); container.add(new JScrollPane(tree), BorderLayout.CENTER); container.add(inputPanel, BorderLayout.SOUTH); setDefaultCloseOperation(EXIT_ON_CLOSE); setSize(400, 300); setVisible(true); } private void addPhilosopher() { DefaultMutableTreeNode parent = getSelectedNode(); System.out.println(parent); if (parent == null) { JOptionPane.showMessageDialog(ModelJTree.this, "Select an area.", "Error", JOptionPane.ERROR_MESSAGE); return; } String name = JOptionPane.showInputDialog(ModelJTree.this, "Enter Name:"); model.insertNodeInto(new DefaultMutableTreeNode(name), parent, parent.getChildCount()); } private void removeSelectedPhilosopher() { DefaultMutableTreeNode selectedNode = getSelectedNode(); if (selectedNode != null) model.removeNodeFromParent(selectedNode); } private DefaultMutableTreeNode getSelectedNode() { return (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); } private DefaultMutableTreeNode getPhilosopherTree() { DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Philosophers"); DefaultMutableTreeNode ancient = new DefaultMutableTreeNode("Ancient"); rootNode.add(ancient); ancient.add(new DefaultMutableTreeNode("Socrates")); DefaultMutableTreeNode medieval = new DefaultMutableTreeNode("Medieval",true); rootNode.add(medieval); return rootNode; } public static void main(String args[]) { new ModelJTree(); }}"> Hi....My question is In a JTree i want to add nodes to only the nodes whose parent is root node.Please help me with this.In the following code it should be possible to add node to "Medieval" but not "socrates.import java.awt.BorderLayout;import java.awt.Container;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JOptionPane;import javax.swing.JPanel;import javax.swing.JScrollPane;import javax.swing.JTree;import javax.swing.tree.DefaultMutableTreeNode;import javax.swing.tree.DefaultTreeModel;public class ModelJTree extends JFrame { private JTree tree; private DefaultTreeModel model; private DefaultMutableTreeNode rootNode,Medievel,Ancient,Philosophers; public ModelJTree() { DefaultMutableTreeNode philosophersNode = getPhilosopherTree(); model = new DefaultTreeModel(philosophersNode); tree = new JTree(model); JButton addButton = new JButton("Add Philosopher"); addButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { addPhilosopher(); } }); JButton removeButton = new JButton("Remove Selected Philosopher"); removeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { removeSelectedPhilosopher(); } }); JPanel inputPanel = new JPanel(); inputPanel.add(addButton); inputPanel.add(removeButton); Container container = getContentPane(); container.add(new JScrollPane(tree), BorderLayout.CENTER); container.add(inputPanel, BorderLayout.SOUTH); setDefaultCloseOperation(EXIT_ON_CLOSE); setSize(400, 300); setVisible(true); } private void addPhilosopher() { DefaultMutableTreeNode parent = getSelectedNode(); System.out.println(parent); if (parent == null) { JOptionPane.showMessageDialog(ModelJTree.this, "Select an area.", "Error", JOptionPane.ERROR_MESSAGE); return; } String name = JOptionPane.showInputDialog(ModelJTree.this, "Enter Name:"); model.insertNodeInto(new DefaultMutableTreeNode(name), parent, parent.getChildCount()); } private void removeSelectedPhilosopher() { DefaultMutableTreeNode selectedNode = getSelectedNode(); if (selectedNode != null) model.removeNodeFromParent(selectedNode); } private DefaultMutableTreeNode getSelectedNode() { return (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); } private DefaultMutableTreeNode getPhilosopherTree() { DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Philosophers"); DefaultMutableTreeNode ancient = new DefaultMutableTreeNode("Ancient"); rootNode.add(ancient); ancient.add(new DefaultMutableTreeNode("Socrates")); DefaultMutableTreeNode medieval = new DefaultMutableTreeNode("Medieval",true); rootNode.add(medieval); return rootNode; } public static void main(String args[]) { new ModelJTree(); }} Bhavyams Profile Answers by Bhavyams Questions by Bhavyams J2EE Interview Questions Answer Question
Jan 18 2007 10:15 AM 2697Views 0Ans Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.81.7.169:1521:PTS", "TESTPTS", "TESTPTS"); System.out.println("connection established"); PreparedStatement ps = conn.prepareStatement("insert into DEMOBLOB values(?)"); System.out.println("insert executed"); File photo= new File("D:/Thinkingjava.pdf"); System.out.println("image loaded "); FileInputStream photostream= new FileInputStream(photo); System.out.println("photo taken"); ps.setBinaryStream(1,photostream,(int)photo.length()); ps.executeUpdate(); photostream.close(); } catch(Exception e) { e.printStackTrace(); } } }above is the code which iam using and below is the exception i am gettingORA-01460: unimplemented or unreasonable conversion requested at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1313) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232) at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353) at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1807) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:332) at PDFConnect.main(PDFConnect.java:24)"> When iam tring to insert a pdf of 2mb in to oracle database.This is my source code.import java.io.File;import java.io.FileInputStream;import java.sql.Connection;import java.sql.DriverManager;import java.sql.PreparedStatement;public class PDFConnect { public static void main(String args[]) { try{ Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@10.81.7.169:1521:PTS", "TESTPTS", "TESTPTS"); System.out.println("connection established"); PreparedStatement ps = conn.prepareStatement("insert into DEMOBLOB values(?)"); System.out.println("insert executed"); File photo= new File("D:/Thinkingjava.pdf"); System.out.println("image loaded "); FileInputStream photostream= new FileInputStream(photo); System.out.println("photo taken"); ps.setBinaryStream(1,photostream,(int)photo.length()); ps.executeUpdate(); photostream.close(); } catch(Exception e) { e.printStackTrace(); } } }above is the code which iam using and below is the exception i am gettingORA-01460: unimplemented or unreasonable conversion requested at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:542) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:738) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1313) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232) at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353) at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1807) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:332) at PDFConnect.main(PDFConnect.java:24) naresh J2EE Interview Questions Answer Question
Nov 21 2006 02:12 PM 1871Views 0Ans Why upgrade from ejb2.0 to ejb3.0 giving comparisons, differences, and advantages. Kurt Henry J2EE Interview Questions Answer Question
Oct 22 2006 05:12 AM 1662Views 0Ans Can anybody help me in how both combiningly webserver & application server Project can run in Eclipse IDE, with source codeif possibe mail 2 me newyuga@rediffmail.com newyuga Profile Answers by newyuga Questions by newyuga J2EE Interview Questions Answer Question
Oct 12 2006 04:15 PM 1743Views 0Ans Hi all,javax.servlet Interface RequestDispatcher does have method public void include(request, response).According to documentation it includes the content of a resource (servlet, JSP page, HTML file) in the response.My question is does it compile the Jsp page before including or after including it.Thanks hmashruf Profile Answers by hmashruf Questions by hmashruf J2EE Interview Questions Answer Question
Aug 13 2006 01:50 AM 1580Views 0Ans I have written one applet by using multithreading concept(by implementing Runnable interface)and including it in my JSP page, but the jsp page is unable to load the applet. I have written Plz help me by giving any techinque for including an applet in the jsp page. questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question
Aug 04 2006 04:11 AM 1790Views 0Ans How we can connect to a database in Java without creating DSN and by using JNDI in J2EE Server. Plz give me the technique. Thank U. questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question
Aug 02 2006 08:31 AM 1418Views 0Ans Can we start just Tomcat from jboss server, since i have jboss? sachinTest Profile Answers by sachinTest Questions by sachinTest J2EE Interview Questions Answer Question
Aug 01 2006 03:57 PM 1307Views 0Ans How to communicate between between two applets. Plz give me the code. questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question
Aug 01 2006 03:55 PM 1460Views 0Ans What is BorderFactory in java questioninterest Profile Answers by questioninterest Questions by questioninterest J2EE Interview Questions Answer Question
Jul 30 2006 06:23 PM 1956Views 0Ans Hi friends i have one doubt. here my requirement is i want to display multiple images dynamically. for example i have one document having 500 images.i used one combo box there range 1-1011-20,21-30.........like selection is there. initially 1-10 should be displayed on the browser. if i select 21-30 then that range of images should be displayed vertically.plz clarify my doubt. ashok J2EE Interview Questions Answer Question
Jul 26 2006 08:11 AM 1186Views 0Ans 1. What are the features added in Ejb 2.0 and struts 1.1? Sanjay J2EE Interview Questions Answer Question
Jul 25 2006 10:48 AM 1403Views 0Ans In java ressultset,statement,preparesatement are interfaces without implementation how to those interfaces Rams J2EE Interview Questions Answer Question
Ans