Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Error while SQL Server connection to Java  August 20, 2012 at 1:31 AM
import java.sql.*; public class OdbcSqlServerConnection { public static void main(String args[]) throws Exeption { Connection con=null; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:SQL_SERVER;user=DTHOTA;password= "); System.out.println("... View Questions/Answers

converter application  August 19, 2012 at 7:45 PM
Develop a converter application using event-driven programming paradigm of Java. Procedure: 1. Design a menu bar with two menus. 2. The first menu has the following menu items, Distance, Currency, and Temperature. 3. The second menu has Help and Exit options. 4. When a menu item is selected load ... View Questions/Answers

using tiles without struts  August 19, 2012 at 3:18 PM
Hi I am trying to make an application using tiles 2.0. Description of my web.xml is as follows: tiles org.apache.tiles.web.startup.TilesServlet org.apache.tiles... View Questions/Answers

Advertisement

retrieve multiple valuesfrom a single field  August 19, 2012 at 2:40 PM
hi i am doing the project bus route network. i have fields source, destination and stages. for example take one record the values are source is chennai, destination is kanchipuram. the stages field type is varchar(60). it contains values as s.v.chatram,s.perumbudur,poonamalle in a single record. ... View Questions/Answers

retrieve multiple valuesfrom a single field  August 19, 2012 at 2:40 PM
hi i am doing the project bus route network. i have fields source, destination and stages. for example take one record the values are source is chennai, destination is kanchipuram. the stages field type is varchar(60). it contains values as s.v.chatram,s.perumbudur,poonamalle in a single record. ... View Questions/Answers

retrieve multiple valuesfrom a single field  August 19, 2012 at 2:40 PM
hi i am doing the project bus route network. i have fields source, destination and stages. for example take one record the values are source is chennai, destination is kanchipuram. the stages field type is varchar(60). it contains values as s.v.chatram,s.perumbudur,poonamalle in a single record. ... View Questions/Answers

retrieve multiple valuesfrom a single field  August 19, 2012 at 2:40 PM
hi i am doing the project bus route network. i have fields source, destination and stages. for example take one record the values are source is chennai, destination is kanchipuram. the stages field type is varchar(60). it contains values as s.v.chatram,s.perumbudur,poonamalle in a single record. ... View Questions/Answers

retrieve multiple valuesfrom a single field  August 19, 2012 at 2:40 PM
hi i am doing the project bus route network. i have fields source, destination and stages. for example take one record the values are source is chennai, destination is kanchipuram. the stages field type is varchar(60). it contains values as s.v.chatram,s.perumbudur,poonamalle in a single record. ... View Questions/Answers

retrieve multiple valuesfrom a single field  August 19, 2012 at 2:40 PM
hi i am doing the project bus route network. i have fields source, destination and stages. for example take one record the values are source is chennai, destination is kanchipuram. the stages field type is varchar(60). it contains values as s.v.chatram,s.perumbudur,poonamalle in a single record. ... View Questions/Answers

How to retrieve record from table  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

retrieve record from table and show it in HTML  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

MYSQL retrieve record from Data table  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

fetch record from MYsql table query  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

HTML & MYSQL - retrieve record from table  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

Fetch user records from a table in database  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

MySql Databse query to fetch results from database  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

MySql Databse query to fetch results from database and display it in HTML File  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

retrieve record from table  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

Show results in HTML  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

retrieve record from the field table  August 19, 2012 at 2:38 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

I have to retrieve these data from the field table  August 19, 2012 at 2:37 PM
Hi. I have a field in database named stages. its datatype is varchar(60). It contains values chennai,trichy,kanchipuram for a single record. I have to retrieve these data from the field table. Actually they are separated by comma. I want to take the values as single values like chennai as one val... View Questions/Answers

java connecting frames  August 19, 2012 at 1:36 PM
how to connect one frame to another frame by using awt or swings?`print("code sample"); ... View Questions/Answers

java  August 19, 2012 at 1:36 PM
how to connect one frame to another frame by using awt or swings?`print("code sample"); ... View Questions/Answers

another frame by using awt or swings  August 19, 2012 at 1:15 PM
how to connect one frame to another frame by using awt or swings? ... View Questions/Answers

jsp -servlets  August 19, 2012 at 11:15 AM
i have servlets s1 in this servlets i have created emplooyee object, other servlets is s2, then how can we find employee information in s2 servlets . ... View Questions/Answers

java begineers  August 19, 2012 at 11:12 AM
i have array that is object[] obj= { new string("hi"), new vector().add(10), new hashmap().setkey()} display(obj); display(object[] obj) {} Now my question is what is the string length and how to retrieve element from vector and if i give key then i will get the value.... View Questions/Answers

html code for student information?  August 18, 2012 at 3:57 PM
html code for student information? ... View Questions/Answers

core java  August 18, 2012 at 3:50 PM
Hi, can any one exain me the concept of static and dynamic loading in core java?? ... View Questions/Answers

core java  August 18, 2012 at 3:46 PM
Hi, can any one expain me serialization,Deseralization and exterenalization in core java?? ... View Questions/Answers

i want to select a multiple value of check box by using onclick or onchange event without using from submission  August 18, 2012 at 1:02 PM
i have 4 check box name 1)profile 2)commercial 3)motion 4)personal and 4 radio button name 1)500-1000 2)1000-1500 3)1500-2000 4)2000-2500 when i am selecting first value of checkbox the result is ok but after getting value of first box now i want a result of second box ... View Questions/Answers

jdbc query  August 18, 2012 at 12:23 PM
write a query of how to print the values of any column present in database in reverse order? ... View Questions/Answers

Java Read Lines from Text File and Output in Reverse order to a Different Text File  August 18, 2012 at 12:56 AM
I need to read a file that was selected by the user using the JButton. Each line in the file then needs to be converted in Reverse Order to another text file. When that is done the output values of that file need to display in a JTextArea field. I have a good share of the code done and an area... View Questions/Answers

ABC  August 17, 2012 at 11:26 PM
package threeDAssignment; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Box; import javax.swing.DefaultComboBoxModel; imp... View Questions/Answers

ABC  August 17, 2012 at 11:26 PM
package threeDAssignment; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Box; import javax.swing.DefaultComboBoxModel; imp... View Questions/Answers

jsp with excel sheet data uploading into database  August 17, 2012 at 8:31 PM
how to upload data in excel sheet with jsp into oracle 10g database ... View Questions/Answers

Interface  August 17, 2012 at 7:45 PM
Declare an Interface called property containting a method compute price to compute &return the price.The inerface is to be implemented by follwaing two class (1)Bungalow&(2)Flat both the lasses have following data member Name Construction Area The class bungalow has an addtional data memb... View Questions/Answers

>, <  August 17, 2012 at 7:18 PM
main() { float a=0.7; if(a<0.7) printf("lesser"); else printf("greater"); } Output: lesser main() { float a=1.2; if(a<1.2) printf("lesser"); else printf("greater"); } Output: greater HOW? ... View Questions/Answers

How to run java swing application from jar files .  August 17, 2012 at 7:01 PM
Hello Sir, I developed a java swing application .Now i want to execute it as .exe setup file .As per my knowledge i have to run .jar file from dist folder of netbeans but when i am trying to run from there i am getting error "Could not find the main class program will exit" from "... View Questions/Answers

dynamic retrivel of data from mysql database in table format at jsp  August 17, 2012 at 6:52 PM
Hi frnds..... Am facing problem in my project... i want to retrive all the data from database and display it as table format in jsp... For example, i have created database with fields lik groups,membername ,amount and so on.... let the groups be A1,A2,A3 and it is NOT UNIQUE.... each group con... View Questions/Answers

Display Tag  August 17, 2012 at 6:42 PM
Hi Here is My code, ... View Questions/Answers

Display Tag  August 17, 2012 at 6:41 PM
Hi Here is My code, ... View Questions/Answers

difference between sql and oracle  August 17, 2012 at 4:29 PM
what is the difference between sql and oracle ... View Questions/Answers

login page  August 17, 2012 at 4:15 PM
How to login as different user in php? ... View Questions/Answers

StringIndexOutOfBound error !!! plz give me the reason for this error ,plz.........  August 17, 2012 at 3:41 PM
import java.util.Scanner; class Even { static int getEven(int firstno,int secondno) { int counteven=0; for(int i=firstno;i<=secondno;i++) { if(i%2==0) { counteven++; } } return counteve... View Questions/Answers

character literal in octal format  August 17, 2012 at 3:31 PM
class EscapeSequence1 { public static void main(String args[]) { char ch='\141'; //this works correctly char ch2='\777'; //this line give compile time error listed below System.out.println("ch is:"+ch); System.out.println("ch2 is:"+ch2); } ... View Questions/Answers

random number  August 17, 2012 at 3:06 PM
Sir could u please send me the code registration form of roseindia.net with image varification ... View Questions/Answers

discount system.  August 17, 2012 at 2:35 PM
i was asked to write a discount system for a beauty saloon, which provides services and sells beauty products. it offers 3 types of memberships: premium, Gold and Silver. premium, Gold and Silver members receive a discount of 20%, 15%, and 10% respectively, for all services provided. Customers w... View Questions/Answers

the discount system.  August 17, 2012 at 2:11 PM
hi.. im a beginner here in java. sadly i was asked to code this one. about inheritance. and i absolutely dont know how.. will someone will help me with this? please. i was asked to write a discount system for a beauty saloon, which provides services and sells beauty products. it offers 3 ... View Questions/Answers

the discount system.  August 17, 2012 at 2:11 PM
hi.. im a beginner here in java. sadly i was asked to code this one. about inheritance. and i absolutely dont know how.. will someone will help me with this? please. i was asked to write a discount system for a beauty saloon, which provides services and sells beauty products. it offers 3 ... View Questions/Answers

Dynamic retrieval od data from database and display it in the table at jsp  August 17, 2012 at 1:00 PM
Hi friends.... Am creating software for chit fund.. I want to display the details of 20 members in a table format at jsp page by dynamically retrieving the data from the mysql database... pls its urgent.. help me frnds.... ... View Questions/Answers

How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  August 17, 2012 at 4:33 AM
Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back" button which is designed by me. "sometime, success of one product lies in failure of another". :D It's is something new & not available on net. Please help.(I know y... View Questions/Answers

How to disable Browser's back button (at the same time i want my own back button to be enabled) :p  August 17, 2012 at 4:33 AM
Hi, I have designed a "back" button for jsp page. Now I want to disable Browser's default button So that people will use "back" button which is designed by me. "sometime, success of one product lies in failure of another". :D It's is something new & not available on net. Please help.(I know y... View Questions/Answers

Exception when opening a excel file in JFrame  August 16, 2012 at 8:17 PM
Hello, I have a problem when trying to display a Excel file in a Jframe. The exception is like this: com.jniwrapper.LibraryNotFoundException. here is my code public jexcelTest1() throws ExcelException{ JFrame frame= new JFra... View Questions/Answers

java beginner  August 16, 2012 at 3:44 PM
Hi how to sort list of element containing a data object like date of birth of employee. display employee in youngest first and oldest last , using one of the collection class for sorting. ... View Questions/Answers

java beginner  August 16, 2012 at 3:39 PM
Hi using hashcode() and equal() method and hashmap object how to compare employee lastname and firstname ,display in console ... View Questions/Answers

java beginner  August 16, 2012 at 3:35 PM
Hi i have a methd that is public static insert ( map p), i have passed a java map object in this method , so i want to store employee infrmation in haspmap and how to find highest salery and afetr public static inserty(map p) {} what code i will write, ... View Questions/Answers

how a write a server side progranming in j2sdk for j2me application  August 16, 2012 at 3:03 PM
Hello,sir I am developing a bustimetable apps using j2me.This apps is Client Server type. so,i want to ask you, 1)How i am establish Msoffice Database connectivity. 2)How do i write a server side(servlet)program in j2me. Is that, j2sdk is good for servlet side programming ,if yes then plea... View Questions/Answers

Exception in thread "main" java.lang.ClassCastException  August 16, 2012 at 11:40 AM
I am trying to connect the database. I am stuck with this exception that is getting thrown. Anyone help me please. Java Code: import java.sql.; import org.postgis.; public class Testjdbc { public Testjdbc() { } // executes single SQL query public static v... View Questions/Answers

Exception in thread "main" java.lang.ClassCastException  August 16, 2012 at 11:38 AM
I am trying to connect the database. I am stuck with this exception that is getting thrown. Anyone help me please. Java Code: import java.sql.*; import org.postgis.*; public class Test_jdbc { public Test_jdbc() { } // executes single SQL query public static void test(java.... View Questions/Answers

aop using annotation  August 16, 2012 at 11:21 AM
i got this problem in aop example using annotation example Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut jlc ... View Questions/Answers

aop using annotation  August 16, 2012 at 11:21 AM
i got this problem in aop example using annotation example Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut jlc ... View Questions/Answers

servlet code for finding the table for given number  August 16, 2012 at 10:37 AM
servlet code for finding the table for given number? ... View Questions/Answers

parsing xml using sax  August 16, 2012 at 10:14 AM
how to get values if the root elements are same and their attributes are different ... View Questions/Answers

java  August 16, 2012 at 2:06 AM
Please give me a link to download java compiler. The compiler i have downloaded doesnt works. Give the direct link ... View Questions/Answers

Pattern Making  August 15, 2012 at 10:38 PM
how to print this pattern in java? * * * * * * * * * * * * * * * * * ... View Questions/Answers

NSArray from NSMutableArray  August 15, 2012 at 9:04 PM
HI, How to make NSArray from NSMutableArray? Thanks ... View Questions/Answers

array  August 15, 2012 at 4:36 PM
Hi i have array like {1,2,3,4,,5,5,6,6} then how can i display 1 time , 5 - 2times, 3- 2times thank kalins naik ... View Questions/Answers

jsp  August 15, 2012 at 4:14 PM
Hi in my dao class some exception is there then how can i display in jsp page. ... View Questions/Answers

arraylist  August 15, 2012 at 4:10 PM
Hi i have class A , i have added employee name and id in arraylist, then how can i find out all infomation of class A using emplyee id . Thanks kalins Naik ... View Questions/Answers

miniproject on address book in java  August 15, 2012 at 3:58 PM
hi rose india, i urgently need an miniproject on address book in java(netbeans ide 6.9.1) using mysql database with operations (add, delete, update, search, clear).... please reply within 1 day i need it very urgent...... ... View Questions/Answers

Java  August 15, 2012 at 2:04 PM
I want to practise with Java Recursive program ... View Questions/Answers

Java  August 15, 2012 at 2:02 PM
I want to know how useful by using exception ... View Questions/Answers

use of object tag  August 15, 2012 at 1:54 PM
how to use object tag in html ... View Questions/Answers

PHP  August 15, 2012 at 12:37 PM
Canledar Event Coding ... View Questions/Answers

PHP  August 15, 2012 at 12:36 PM
I want to create Calendar Event in PHP. Could u help me? ... View Questions/Answers

Framework  August 15, 2012 at 12:33 PM
Which frames are suitable for what? ... View Questions/Answers

JQuery  August 15, 2012 at 10:35 AM
How i begin JQuery and where i begin learning? ... View Questions/Answers

PHP  August 15, 2012 at 9:16 AM
I would love to do PHP project with the title of "Hospital Management System". I want to know how to make validation using jquery. ... View Questions/Answers

PHP and want to use JQuery as validator  August 15, 2012 at 9:13 AM
I would love to make simple project with PHP and want to use JQuery as validator but i don't know how i use. Could help me showing simple code? ... View Questions/Answers

JQuery as validation controller  August 15, 2012 at 9:10 AM
I would love to use JQuery as validation controller but i don't know how i use.Could u help me? ... View Questions/Answers

spring hibernate  August 14, 2012 at 11:08 PM
I need to save registration details in a database table through jsp using spring an hibernate....and the fields in the registration jsp are in different tables???can any one help or is there any sample code that have same flow as needed in my application??? ... View Questions/Answers

spring hibernate  August 14, 2012 at 11:08 PM
I need to save registration details in a database table through jsp using spring an hibernate....and the fields in the registration jsp are in different tables???can any one help or is there any sample code that have same flow as needed in my application??? ... View Questions/Answers

Password validation  August 14, 2012 at 9:19 PM
Hi. I have a change password form. In that i have to check the values given in the new password and confirm password are same or not. Please help. ... View Questions/Answers

Password validation  August 14, 2012 at 9:19 PM
Hi. I have a change password form. In that i have to check the values given in the new password and confirm password are same or not. Please help. ... View Questions/Answers

password and confirm password are same or not Validation  August 14, 2012 at 9:19 PM
Hi. I have a change password form. In that i have to check the values given in the new password and confirm password are same or not. Please help. ... View Questions/Answers

Password validation  August 14, 2012 at 9:19 PM
Hi. I have a change password form. In that i have to check the values given in the new password and confirm password are same or not. Please help. ... View Questions/Answers

Password validation  August 14, 2012 at 9:19 PM
Hi. I have a change password form. In that i have to check the values given in the new password and confirm password are same or not. Please help. ... View Questions/Answers

spring with hibernate integration  August 14, 2012 at 9:17 PM
i want code for update and find operation how can i update and search operations in one method by using multiaction controller? ... View Questions/Answers

String Validation  August 14, 2012 at 9:14 PM
Hi. I have a HTML coding in that I have to check whether the value given in the 2 password fields are same or not. Its for the form changing password. If they are not same it should give a message. ... View Questions/Answers

String Validation changing password  August 14, 2012 at 9:14 PM
Hi. I have a HTML coding in that I have to check whether the value given in the 2 password fields are same or not. Its for the form changing password. If they are not same it should give a message. ... View Questions/Answers

String Validation  August 14, 2012 at 9:14 PM
Hi. I have a HTML coding in that I have to check whether the value given in the 2 password fields are same or not. Its for the form changing password. If they are not same it should give a message. ... View Questions/Answers

String password Validation  August 14, 2012 at 9:14 PM
Hi. I have a HTML coding in that I have to check whether the value given in the 2 password fields are same or not. Its for the form changing password. If they are not same it should give a message. ... View Questions/Answers

spring with hibernate integration  August 14, 2012 at 9:09 PM
how can i update and search operations in one method by using multiaction controller; ... View Questions/Answers

Linked List  August 14, 2012 at 8:10 PM
public class Computer{ private int computerNumber; private String computerBrand; public Computer(int, String); } public class LinkedList{ public LinkedList(); public void insertAtFront(); public void insertAtBack(); public Object getFirst(); public Object getNext(); public Object removeFr... View Questions/Answers

calling servlet from jsp  August 14, 2012 at 5:54 PM
how to call a servlet from jsp ... View Questions/Answers

How to use Jquery in jsp page  August 14, 2012 at 4:33 PM
Hello Sir, I am developing a web application in which i have to show database table values into Gridview in my jsp page. I have heard that jquery will be usefull for this work. According to my need in my gridview i have to add following functionaliies:- 1.pagination. ... View Questions/Answers

how to set background image  August 14, 2012 at 4:31 PM
how to set image in background in that image i want over lay text how it possible in jsp? using flash image how it is overlayed in jsp page? thanks ... View Questions/Answers

PHP  August 14, 2012 at 4:10 PM
How I validate input fields' using JQuery? could i use JQuery with validation ... View Questions/Answers

Dll issue while launching the application  August 14, 2012 at 4:09 PM
I am using one dll in my application for including the functionality provided by that dll . This dll i am getting after installing one msi . But in my application i have a requirement like if the user has not installed that msi then we have to show one warning message(e.g msi has not installed , ... View Questions/Answers

PHP and JQuery  August 14, 2012 at 4:09 PM
How i validate input fields' data entry using JQuery ... View Questions/Answers

DMCA.com