[java ee programming] Question regarding core java

2008-10-27 Thread Abinash Ojha
Hi, Can any one explain me the meaning of (*+lId*) in the below given line *vArgs.add (String.valueOf (+lId));* In the above line, vArgs is an arrayList and lId is a long value. Normally we write vArgs.add(String.valueOf(lId)). But both vArgs.add(String.valueOf(lId)) & vArgs.add (String.valueOf

[java ee programming] Re: Need Help in JDBC Programming

2008-09-28 Thread Abinash Ojha
Hi, If you are using Tomcat as web server (configured in netbeans). Then copy the mysql connector jar file in the %tomcat_home%\lib folder. Try rebuilding and running the application in netbeans. Regards Abinash On Sun, Sep 28, 2008 at 3:49 AM, jince varghese <[EMAIL PROTECTED]>wrote: > > > Hi A

[java ee programming] Re: How can we address the issue related todeprecated methods

2008-09-15 Thread Abinash Ojha
Hi, The java.io.DataInputStream.readLine () method is deprecated and the method does not properly convert bytes to characters. The preferred way to read lines of text is via the BufferedReader.readLine() method. You can modify your source code in the below given way to use BufferedReader.rea

[java ee programming] Re: eclipse error: Project facet Java version 6.0 is not supported

2008-09-03 Thread Abinash Ojha
Hi , Please follow the below steps. Hope it will help you. 1. Right click on the web-project & select properties 2. In the properties window select *Project Facets* from left tree structure. 3. In right main window, select parameter named *Java* and change the value to 5.0 or the java version wh