Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Hibernate Query related  August 9, 2012 at 12:31 PM
Actully i want to retrieve data from multiple file by using this query: SELECT a.PROD_ID AS Product_Id, b.PROD_N AS Product_Name, c.MEDIA_URL AS Image_url, d.SAL_AMT AS Product_Price, d.PROD_URL AS PROD_URL, e.WEB_URL AS Ret... View Questions/Answers

JDBC with access as backend  August 9, 2012 at 11:47 AM
Jdbc connectivity in java to MS Access for retrieving data between two dates ... View Questions/Answers

need code for login in asp.net with c#  August 9, 2012 at 11:03 AM
hai iam trying to develop a project in asp.net with c#,so i need a code for login page using which admin and other users can log in.plz help me, thanks in advance. ... View Questions/Answers

Advertisement

Plotting equations on a cartesian Plane  August 9, 2012 at 10:36 AM
Hey, Im sort of a beginner of java, and i at the moment of working on a program that takes the input of an equation (eg. y=3x) and plots possible values for it on a cartesian plane thats on a seperate JPanel. Here is my code: This is Class 1 import java.awt.C... View Questions/Answers

Language Conversion  August 8, 2012 at 8:06 PM
write a java program to convert "Hello World" in spanish ... View Questions/Answers

online test application in java  August 8, 2012 at 6:18 PM
Can questions come in html file (test.html) if we link test.jsp with test.html ... View Questions/Answers

Java Bouncing Application  August 8, 2012 at 12:53 PM
Hi I'm using Eclipse ide to add more implementation to this simple bouncing program. I'm having trouble implementing the following: -adding functionality of buttons and having color chooser -able to create new shapes -Sorting function in array list The code is too large to... View Questions/Answers

xml to html via java  August 8, 2012 at 9:46 AM
how to read xml into html using java code ... View Questions/Answers

java program  August 8, 2012 at 7:31 AM
You need to keep record of under- graduate, PhD students, faculty and staffs of your institute. Write an abstract class Person with the following attributes and method 1. Attribute Name: String 2. Attribute Address: String 3. Method Get_info() returns information of the person Extend class Person... View Questions/Answers

how to display the data from excel to webpage  August 8, 2012 at 3:13 AM
Hi, I need help on following I have a webpage contains a text box and a button(get), i give a value in text box such as serial no. like 4024 and by click on get button it should search for the value 4024 in a excel file and to display the remaining values on the same row. ... View Questions/Answers

JDBC Connection code to connect servlet with SQL Server 2008  August 8, 2012 at 12:09 AM
Please ans me why it is not connect i use netbeans IDE7.0 Jdk 1.7 i also add sqljdbc4.jar but the output is SEVERE: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0. i try Avery thing but i m not su... View Questions/Answers

sessions  August 7, 2012 at 5:45 PM
1)Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at index.php on line 3) 2)Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at index.php on line 3)... View Questions/Answers

How to delete and update from Jtable cell in swing app  August 7, 2012 at 5:44 PM
Hii Sir, I am developing a swing app for adding,updating and deleting from jtable cells to database but i am getting following problems Whenever i click on delete button on selecting particular row which has to be deleted then last row is getting removed from the jtable... View Questions/Answers

code to establish jdbc database connectivity in jsp  August 7, 2012 at 5:40 PM
Dear sir, i'm in need of code and procedure to establish jdbc connectivity in jsp. ... View Questions/Answers

code to establish jdbc database connectivity in jsp  August 7, 2012 at 5:40 PM
Dear sir, i'm in need of code and procedure to establish jdbc connectivity in jsp. ... View Questions/Answers

how to take backup of phone to pc using java code  August 7, 2012 at 4:35 PM
i want to take the backup of phone data in my pc and also provide the restore functionality,and i want to do it using java program,so can anyone help me? ... View Questions/Answers

SPRING WITH DATABASE  August 7, 2012 at 4:10 PM
I need any Spring MVC project that connects with oracle database. I need step by step code description and explanation.I want how to create spring project and how to connect with the oracle database. I need the flow of code. ... View Questions/Answers

SPRING FRAMEWORK  August 7, 2012 at 4:08 PM
I need any Spring MVC project with complete description, so that I can understand about Spring framework ... View Questions/Answers

How to create a databas locally in our system using Oracle 10g????  August 7, 2012 at 1:45 PM
How to create a databas locally in our system using Oracle 10g???? ... View Questions/Answers

How to include Two multi rows, one with a file Upload and another with normal fields, have problem while including both  August 7, 2012 at 1:41 PM
How to include Two multi rows, one with a file Upload and another with normal fields, have problem while including both?? ... View Questions/Answers

Conversion of String to Integer  August 7, 2012 at 12:29 PM
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI =... View Questions/Answers

convert html website into wordpress theme  August 7, 2012 at 12:19 PM
i am trying to convert an html site into wordpress.and i have divided my html website into 4 parts i.e. index.php,header.php,footer.php and side bars.php.when i am trying to run that index.php page into localhost it is showing following errors :- 1.Fatal error: Call to undefined function geth... View Questions/Answers

File Directory Merging  August 7, 2012 at 2:14 AM
Two directories are given. Both contain a large amount of files. Each of the directory can be more than a GB. We need to form a new directory in which all the files from both the directories are there and merge the files of two different directories with same name. ... View Questions/Answers

Dynamic form  August 7, 2012 at 12:22 AM
I need to make a dynamic form using jsp for example, i will need a list of items which when we select one option another list is modified ( like 2 lists of countries and citys ), and also a radio button wich once clicked we have a new list created on the same form. Thanks for your help ... View Questions/Answers

Java JDBC connectivity. Please see the code below, I am using mysql database also I have configured JDBC drivers. In the end of code Error is also posted for better review. Please Help.  August 6, 2012 at 9:55 PM
JAVA JDBC connectivity problem. I am using MySql database, also I have downloaded and configure JDBC Connector. In the end of this code please see the error that I am getting. package com.ct; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet;... View Questions/Answers

JQuery  August 6, 2012 at 4:43 PM
how to create jquery auto-complete textbox ? in which data come from database table? ... View Questions/Answers

convert word document to pdf  August 6, 2012 at 4:11 PM
Hi, Could you please help me write a java code that converts the word docuemnt into PDF? I have to save the generated PDFs also. I got a code like the below, and i am unable to download the office tools. Can i write a code without downloading the office tools software? i... View Questions/Answers

infix to post fix convertion  August 6, 2012 at 3:55 PM
a+(bc-(d/e^f))*h ... View Questions/Answers

Read Property file From Jmeter  August 6, 2012 at 3:51 PM
Hi, I am running web driver script from Jmeter, but while reading property file I am getting "File Not Find Exception". Please tell me how to read ".properties" file from Jmeter. ... View Questions/Answers

infix to postfix covertion  August 6, 2012 at 3:50 PM
(a+b)*(d/e) convert in post fix notation step by step...... ... View Questions/Answers

How to create a website to Send flowers  August 6, 2012 at 12:40 PM
How to create a website to Send flowers and save at least over national competitors in the USA with our low service fee. ... View Questions/Answers

How do I change a large string into hex and then into byte so that SHA1 can be applied to it?  August 6, 2012 at 9:32 AM
I work with cellphones and deal with MEID numbers on a daily basis. So instead of searching online for a MEID (a hex number of length 14) to pseudo ESN (a hex number of length 8) calculator, I figured I can make my own program. The way to obtain a pESN from MEID is fairly simple in theory. For ex... View Questions/Answers

jdbc  August 6, 2012 at 7:00 AM
I can't run my jdbc program because it has error in this line: public static void main(String[] args) the error is:illegal static declaration in inner class would you please let me whats the problem? regards ... View Questions/Answers

writing and appending to a file  August 6, 2012 at 4:59 AM
My input file includes data from both males and females. My code below replaces a 'male string' with the key and values and writes into an existing file for 'male'. How can I do the same for females and write into a different 'female string' in the same program? Sorry If I am confusing yo... View Questions/Answers

bliffoscope data analsys problem  August 6, 2012 at 2:10 AM
Bliffoscope Data Analysis Problem It's April 1, 2143. Your job is to save the world. Well, a little world. Specifically the asteroid X8483-Z-32 that you and Alphonso Bliffageri are stuck on. You've been stranded there ever since the evil Rejectos hit your spaceship with a slime torpedo fired ... View Questions/Answers

Search and return lines of text file  August 5, 2012 at 8:52 PM
I wrote the following code, that found lines of txt file with contains certain word, but it returns only the first or the last line! (However, the System.out.println show me all the lines with the word! ) Where is the problem?! Thank U :) "import java.io.*; public class S... View Questions/Answers

create pdf from jsongrid  August 5, 2012 at 6:15 PM
i need to create pdf from jsongrid in java struts2.. otherwise i need to create pdf from result set.. ... View Questions/Answers

invalid configuration  August 5, 2012 at 1:49 PM
hello I create hibernate.cfg.xml file Like below: ... View Questions/Answers

pattern generation  August 5, 2012 at 11:58 AM
write a program to print pattern shown below 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9 ... View Questions/Answers

Hiii...  August 5, 2012 at 6:39 AM
How to display blinking character in html? ... View Questions/Answers

java program  August 4, 2012 at 11:11 PM
Please help me to write a Java program that ask a user to enter his/her name ,surname and then ask how many Item he/she want to buy using loop according number of item also ask name of item and price(double) at the same time using loop getting sum. At the end prints name of person and say total... View Questions/Answers

java program  August 4, 2012 at 11:08 PM
Please help me to write a Java program that ask a user to enter his/her name ,surname and then ask how many Item he / she want to buy using loop according number of item also ask name of item and price(double) at the same time using loop getting sum. At the end it print out name of person and say... View Questions/Answers

help me  August 4, 2012 at 10:14 PM
HI. Please help me for doing project. i want to send control from one jsp page to 2 jsp pages... is it possible? if possible how to do that? ... View Questions/Answers

wrapperclasses  August 4, 2012 at 3:03 PM
wrapper classes otherwise called as? what is the use of interfaces? How to minimize casting? Method is defination block or execution block? ... View Questions/Answers

JQuery  August 4, 2012 at 12:40 PM
How to create time countdown ? which will start on click start button and pause on click pause button . also compatible to all browser.. ... View Questions/Answers

PHP Question  August 4, 2012 at 7:57 AM
I am trying to make php Readline where it reads from line 2 and loops to the end. > if (isset($_POST['oldpass'])) { > > $username=readLine("/home/logins/".$_SERVER['REMOTE_ADDR'], > 1); $handle = > @fopen("/home/users/".$username.".txt"... View Questions/Answers

PHP Question  August 4, 2012 at 7:57 AM
I am trying to make php Readline where it reads from line 2 and loops to the end. > if (isset($_POST['oldpass'])) { > > $username=readLine("/home/logins/".$_SERVER['REMOTE_ADDR'], > 1); $handle = > @fopen("/home/users/".$username.".txt"... View Questions/Answers

Processing Question using processing1.5.1 from processing.org  August 4, 2012 at 6:09 AM
Complete a program by writing a method called drawGrid that draws a table / grid on the window from (0,0) to (x,y) where x and y are integers passed to the method drawGrid as parameters. A method call to drawGrid is given inside mousePressed so you can test your program by pressing the mouse at d... View Questions/Answers

Need an example of basic code.  August 4, 2012 at 3:48 AM
Im working on an art project that I want to use some code in, and I am proficient in python but that looks fairly simple so I was hoping java would look more impressive. So I just need a visual of the building blocks of my idea so if someone could provide an example I would appreciate the help. <... View Questions/Answers

Need an example of basic code.  August 4, 2012 at 3:47 AM
Im working on an art project that I want to use some code in, and I am proficient in python but that looks fairly simple so I was hoping java would look more impressive. So I just need a visual of the building blocks of my idea so if someone could provide an example I would appreciate the help. <... View Questions/Answers

Need an example of basic code.  August 4, 2012 at 3:47 AM
Im working on an art project that I want to use some code in, and I am proficient in python but that looks fairly simple so I was hoping java would look more impressive. So I just need a visual of the building blocks of my idea so if someone could provide an example I would appreciate the help. <... View Questions/Answers

How to Manipulate List to String and print in seperate row  August 4, 2012 at 1:30 AM
I am trying to export the 4 columns with the below code.the last column organization is a List. String appname = "abc"; String path = "//home/exportfile//"; String filename = path+"ApplicationExport-"+appname+".txt"; String ret = "fals... View Questions/Answers

php brute force code.. hlp plz .....  August 4, 2012 at 12:39 AM
hello friends, from somewhere i got a code that can generate all posible combination via recursive function in php all is working fine, but for my project i need a more more additional help in my script. i dont know how to get solved i tried for two hours but no sorted so please helpz... ... View Questions/Answers

How to design https connection page using JSP  August 3, 2012 at 11:31 PM
Hi, I have a project in which a page requires https secure design to process the payment. Since the customer enters his credit card info I want to make the page as https page a secure page. Please kindly provide me a solution on how to design a https page using JS... View Questions/Answers

emailing using jsp  August 3, 2012 at 11:16 PM
hi there!! i have some difficulty in sending email using jsp. basically, i have an account table that retrieve all the account from the account-table in my ms sql database. so whenever i deleted the account of a particular user, it must notify the user, that their account has been deleted throug... View Questions/Answers

how to store data in other table using servlet and jsp  August 3, 2012 at 6:37 PM
pls can anyone tell how to store data in other table using servlet and jsp and want to display that data too.and the data in first table must be same.pls help..... ... View Questions/Answers

database connectivity using jsp code  August 3, 2012 at 2:32 PM
i have two tables employee and adduser insert into adduser(Emp_Id,Ename,Designation,Password,ReTypePassword)values('6867678po',(select Ename from employee),(select Designation from employee),'bbbb','bbbb'); so this syntax is possible to use in jsp code based on employee id ename and des... View Questions/Answers

database connectivty  August 3, 2012 at 2:28 PM
i have two tables employee and adduser so this syntax is possible to use in jsp code insert into adduser(Emp_Id,Ename,Designation,Password,ReTypePassword)values('6867678po',(select Ename from employee),(select Designation from employee),'bbbb','bbbb'); based on employee id ename and desig... View Questions/Answers

HMS  August 3, 2012 at 2:09 PM
what are the reqirements of the hospital management ... View Questions/Answers

oop concept  August 3, 2012 at 2:02 PM
why Object class is super class for all class? 1.to use the Object class methods in subclass directly or 2.the Object class is usefull at the time of object create of subclass what is currect and why ? if both are not currect tell me what is the reason ... View Questions/Answers

how to use marathi keyboard in java programming?  August 3, 2012 at 11:35 AM
how to use Marathi keyboard in java programming?... View Questions/Answers

retrieve value from database on the basis of maximum id number  August 3, 2012 at 9:51 AM
hi, i want to retrieve value of maximum id number from the database and show that value in jTextField.when the user clicks on the button that maximum id number is shown. thanx Usman. ... View Questions/Answers

just a short question.!!  August 3, 2012 at 6:25 AM
Can anyone help me with this short question? please :) **What is printed by the following C++ code? cout << "\'\\"\'";** ... View Questions/Answers

StringIndexOutOfBoundException problem, What is mean in this code | first.charAt(i)) |  August 2, 2012 at 11:29 PM
import java.io.*; public class Sort{ public static void main(String[]args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter the first String"); String first=br.readLine(); System.ou... View Questions/Answers

StringIndexOutOfBoundException problem, What is mean in this code | first.charAt(i)) |  August 2, 2012 at 11:29 PM
import java.io.*; public class Sort{ public static void main(String[]args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter the first String"); String first=br.readLine(); System.ou... View Questions/Answers

StringIndexOutOfBoundException problem, What is mean in this code | first.charAt(i)) |  August 2, 2012 at 11:29 PM
import java.io.*; public class Sort{ public static void main(String[]args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter the first String"); String first=br.readLine(); System.ou... View Questions/Answers

DataBase Connection  August 2, 2012 at 10:23 PM
How to connect java and Oracle 10g? Tell me Jdbc connection ... View Questions/Answers

Popular Java FrameWork  August 2, 2012 at 10:14 PM
I am interested to learn any of the java framework in depth . Which could be the apt one so it can help me further in my carrier? ... View Questions/Answers

Popular Java FrameWork  August 2, 2012 at 10:14 PM
I am interested to learn any of the java framework in depth . Which could be the apt one so it can help me further in my carrier? ... View Questions/Answers

How to design a form using java?  August 2, 2012 at 9:59 PM
Please help in designing of form using java for my project ... View Questions/Answers

Unable to create annotations in hibernate 4.0  August 2, 2012 at 9:35 PM
I worked on a similar example as yours.But when I create a new hibernate console configuration for this new project,I get this error,the console configuration gets created I but when I try to open it I get the below error. org.hibernate.MappingException: An AnnotationConfiguration... View Questions/Answers

upload image  August 2, 2012 at 9:00 PM
how can i retreive image from mysql using jsp in netbeans.The image type is varchar with size 200.the image is uploaded succesfully.The problem is when i use the retreival code,it displays only a small box instead of image at the screen.The retreival and uplaod code is here.. i.upload.jsp <... View Questions/Answers

student details  August 2, 2012 at 8:01 PM
create an application for details of 1st to 5th standard students by using loops and scanner ... View Questions/Answers

How to insert and update all column values of database from jtable.  August 2, 2012 at 6:14 PM
Hello Sir, I have developed a swing application in which database table is shown in the jtable.. of my jframe window.Now as per my requirement i have to add ,update,delete database values from jtable only so i added three buttons add,update,delete .. mydatabase contains five columns id,name,addre... View Questions/Answers

How to insert and update all column values of database from jtable.  August 2, 2012 at 6:14 PM
Hello Sir, I have developed a swing application in which database table is shown in the jtable.. of my jframe window.Now as per my requirement i have to add ,update,delete database values from jtable only so i added three buttons add,update,delete .. mydatabase contains five columns id,name,addre... View Questions/Answers

LDAP Authentication  August 2, 2012 at 6:05 PM
Dear Friends how to ignore the Ldap Signing over Ldap Connection 389.can anyone help me. Note: SSL should not be enabled. ... View Questions/Answers

standard format in C++  August 2, 2012 at 5:10 PM
Please help me with this one. thank you so much. **"Write a C++ program to read a date in US standard format (mm dd yyyy) and print it in Australia standard format (dd mm yyyy)."** ... View Questions/Answers

how to create the exe file which use to run for the project in the java?  August 2, 2012 at 5:00 PM
how to create the exe file which use to run for the project in the java? ... View Questions/Answers

jsf f:parm value dynamical settings  August 2, 2012 at 12:05 PM
<%for(int x=0;x<5;x++) { %> // this is error inbinding <% } %> please share your thought how can i resolve this issue , i want to set value dynamically ... View Questions/Answers

jsf f:parm value dynamical settings  August 2, 2012 at 11:34 AM
Hi . i have following query on jsf <% for(int x=0;x<5;x++) { %> <c:set var="fw" value="<%=x %>" scope="request"></c:set> &nbsp<h:comm... View Questions/Answers

Resize image stored in database  August 2, 2012 at 11:21 AM
hi, Can any one please send code for how to resize image stored in database in blob datatype in jsp, i want to resize it to 140(w)*160(h) please help me ... View Questions/Answers

How to Import mysql database command line, Import MySQL dumpfile, SQL datafile into my database ?  August 2, 2012 at 11:13 AM
Import mysql database command line, Import MySQL dumpfile, SQL datafile into my database ... View Questions/Answers

How to Increase Script Execution Time Limit in php ?  August 2, 2012 at 11:10 AM
Increase Script Execution Time Limit in php configuration ... View Questions/Answers

How to Increase Upload File Size Limit in php  August 2, 2012 at 11:07 AM
Increase Upload File Size Limit for php script ... View Questions/Answers

What is Headers and Mime Types ?  August 2, 2012 at 11:02 AM
Headers and Mime Types ... View Questions/Answers

How to Find PHP version and configuration?  August 2, 2012 at 11:00 AM
Find PHP version and configuration ... View Questions/Answers

How to run PHP Script from the command line ?  August 2, 2012 at 10:57 AM
Running PHP Script from the command line ... View Questions/Answers

How to Check Markup in PHP File from Command Line  August 2, 2012 at 10:54 AM
Check Markup in PHP File from Command Line ... View Questions/Answers

How to Checking Syntax Error in PHP from Command Line  August 2, 2012 at 10:50 AM
Checking Syntax Error in PHP from Command Line ... View Questions/Answers

How to Make HTTP Requests Using Curl and Decoding JSON Responses in PHP  August 2, 2012 at 10:46 AM
Make HTTP Requests Using Curl and Decoding JSON Responses in PHP ... View Questions/Answers

Ajax method  August 2, 2012 at 9:14 AM
there is registratinon form with name,address,email id and country,state and city drop down list. if user select country as India then states of india should display and depending upon that state,city should display. thism should be done using ajax,html,javascript. And xml should contain data. pl... View Questions/Answers

Ajax method  August 2, 2012 at 9:03 AM
there is registratinon form with name,address,email id and country,state and city drop down list. if user select country as India then states of india should display and depending upon that state,city should display. thism should be done using ajax,html,javascript. And xml should contain data. pl... View Questions/Answers

data type used to store name.(getting an error)  August 1, 2012 at 11:51 PM
Statement stm=con.createStatement(); String query="select * from employee where ename=\'"+ename+"\'"; ResultSet rs=stm.executeQuery(query); if(rs.next()) { ------- this is the code i have and i am... View Questions/Answers

RMI Program in netbeans  August 1, 2012 at 6:55 PM
pls give me an idea for how to run RMI program in netbeans with detailed example ... View Questions/Answers

Error with Maven while deploying the war file  August 1, 2012 at 6:14 PM
Hi, I am new to maven... I created java spring hibernate project.. and i kept all .java files in this path Myapplication\src\main\java\com\mycompany and create resources, webapp folders in Myapplication\src\main and inside resources i created 3 folders hibernate, properties and spring. i... View Questions/Answers

Error with Maven while deploying the war file  August 1, 2012 at 6:14 PM
Hi, I am new to maven... I created java spring hibernate project.. and i kept all .java files in this path Myapplication\src\main\java\com\mycompany and create resources, webapp folders in Myapplication\src\main and inside resources i created 3 folders hibernate, properties and spring. in hibe... View Questions/Answers

servlet  August 1, 2012 at 3:12 PM
can we store the data in first init method() ... View Questions/Answers

Subtract a value in the database from java  August 1, 2012 at 6:07 AM
Hi, i want to know how to subtract a value on a database. im using JDBC connection from access and i want to decrement the value of table "quantity" of 1 each time it passes a loop my table name would be McQSim . is it possible to do this? ... View Questions/Answers

How to make the horizontal navigation bar common to all pages?  August 1, 2012 at 3:32 AM
Hi, I did a project using JSP. And now I am having issue on how to make the navigation bar common to all the jsp pages. I have a header, and navigation bar and want to make the navigation bar and header common to all the pages. Thanks in advance. ... View Questions/Answers

servlet to applet communication  July 31, 2012 at 11:51 PM
good morning sir. how to read one text field from servlet and display that value in applet? thanks ... View Questions/Answers

DMCA.com