Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java equivalent of c function htonl & htons  June 6, 2011 at 11:43 AM
hi is there any java equivalent for the c function htonl & htons.. ... View Questions/Answers

Employee Management System  June 6, 2011 at 11:09 AM
coding for employee management system ... View Questions/Answers

how to make paging with function ?  June 6, 2011 at 11:01 AM
how to make paging with function ? ... View Questions/Answers

Advertisement

JAVA DB connenting Office access..  June 6, 2011 at 10:14 AM
hai friends....iam shackir.. i did 1 program to connect OfficeAccess...in this program everything except insertions are working fine...i cant understand what is the problem..."ANY ONE PLEASE HELP ME" ERROR IS : 3 SQl error in insertValues methord java.sql.SQLException: Driver does not sup... View Questions/Answers

c++  June 5, 2011 at 6:47 PM
i use turbo c++...i want to change the background color...what is the command for it and the header file used.. ... View Questions/Answers

c++  June 5, 2011 at 6:47 PM
i use turbo c++...i want to change the background color...what is the command for it and the header file used.. ... View Questions/Answers

c++  June 5, 2011 at 6:35 PM
i use turbo c++...i want to change the background color...what is the command for it and the header file used.. ... View Questions/Answers

how to search for string using LIKE operator instead of integer?  June 5, 2011 at 4:15 PM
dear sir, i have 3 jsp files, first "index.jsp", "dbtable.jsp", and "table2.jsp". what my code does is goes to the "index.jsp" file and let the user enters an ID to search for itemid, then it shows "dbtable.jsp" file with 3 columns of itemid, itemname, and description. the item... View Questions/Answers

how to covert JPG format to Binary formart using java code..  June 5, 2011 at 2:11 PM
convert JPG format to Binary formart How can i convert JPG format to Binary format using java code plz help me out..... ... View Questions/Answers

image store and get it back  June 5, 2011 at 2:08 PM
store the image in the oracle using blob and get it back hi i am facing problem in the following code . this code can store the image in table but at time of reading it back it never shows me the image and how to convert the image file into binary format.... so that i can store it in a t... View Questions/Answers

question  June 5, 2011 at 11:54 AM
which language is leading the world java or .net and which language followed by all the Oops principles either java or .net ... View Questions/Answers

java question  June 5, 2011 at 11:51 AM
what are the exactly J2EE concepts.. struts and hybernates coming under which catagiry.. ... View Questions/Answers

insert date into database using jsf  June 4, 2011 at 11:16 PM
Hello I need a simple example of source code to insert a date into a database using jsf what do I have to put in backing bean and page jsf ( i need juste a date ) thanks ... View Questions/Answers

salaes detail  June 4, 2011 at 9:17 PM
Creation of Applet for Sales Details Form The applet for Sales Details must include the following: ? The CartID, OrderNo, OrderDate should be displayed automatically. ? Create an Exit button and a Continue button. ? The Garment Name column should have drop down menu for customers to select ... View Questions/Answers

java applet  June 4, 2011 at 9:15 PM
Creation of Applet for Personal Details Form When a customer places his first order of garments, the Personal Details Form is displayed. On completing the form, the customer is assigned a cart id. A customer will be able to buy a product only if they have the cart id. It is essential that the Per... View Questions/Answers

How to draw pie chart in J2ME  June 4, 2011 at 8:14 PM
Hi, I'm developing a program using J2ME and I want to draw a pie chart but it seems J2ME language hasn't available chart component like JFreeChart in Java! could any one help me how can I draw a pie chart in J2ME? ... View Questions/Answers

jsf: generate another panelGrid  June 4, 2011 at 7:19 PM
hello the following is my code print("code sample"); <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> ... View Questions/Answers

retrieve data from database using jsf  June 4, 2011 at 7:06 PM
Hello I want an example of source code to retrieve data from database i have a database (oracle) name as db1 it's contain table 'author' composed of three columns idauthor(primary key),, name ,and city I want after enter value in textbox according idauthor i retrieve name ,and city can yo... View Questions/Answers

How to find out the friend user between two columns in sql database  June 4, 2011 at 5:30 PM
Hi, Can any one please tell me ..how to find out the friend user between two columns in sql database? In other words i wanted to get the corresponding data from each table. Thanks. ... View Questions/Answers

How to get the most recent data from the sql database  June 4, 2011 at 5:02 PM
Hi, just wanted to show the most recent row from the database table...in my web page. for example if i have four records in the table that was added on different different dates.. Now, it the web page that is going to show all the recodes but the latest one on the top. Any suggestion? Th... View Questions/Answers

rename the column in sql  June 4, 2011 at 4:38 PM
How can i rename the column name in SQL? ... View Questions/Answers

Join the two tables in sql  June 4, 2011 at 4:36 PM
How to join the two tables in SQL ..and return the value from common column in SQL Database. ... View Questions/Answers

java questions  June 4, 2011 at 4:22 PM
can i write an inner class in an interface? ... View Questions/Answers

how to turn off bluetooth on mac  June 4, 2011 at 4:16 PM
I want to know ..how to turn off the bluetooth on my mac system. Thanks. ... View Questions/Answers

how to turn off bluetooth on mac  June 4, 2011 at 4:16 PM
I want to know ..how to turn off the bluetooth on my mac system. Thanks. ... View Questions/Answers

About configuring Servlet  June 4, 2011 at 3:33 PM
Hi I culdn't run Apache Tomcat (i already installed Tomcat 5.0 version) on Internet Browser.when i finished installing Tomcat i typed http://local host:8080/ in the internet Browser but it failed.What to do? Another question is that kindly tell me the setting path for TOmcat 5.0 version ... View Questions/Answers

populate Combo Box dynamically  June 4, 2011 at 1:39 PM
Hi, How to populate the Combo Box dynamically using Flex with Jsp's. ... View Questions/Answers

how to scroll multiple images using on Click in Android  June 4, 2011 at 12:03 PM
I am new android platform, now i am working with small application. here there is requirement like multiple image scrolling dynamically. But unfortunately i am unable to scroll multiple images. But i am able to scroll single image. plz let me know, if anyone knows the problem Tha... View Questions/Answers

Java with OOP assignment (Eclipse)  June 4, 2011 at 11:26 AM
How do i control the length of characters in an input? E.g.: Enter your name > Hi * Name too short! ... View Questions/Answers

Hibernate  June 4, 2011 at 11:24 AM
How to create Dynamic array of Objects during HQL execution? ... View Questions/Answers

coding for employee management system  June 4, 2011 at 9:56 AM
coding for employee management system ... View Questions/Answers

online shopping portal  June 4, 2011 at 12:04 AM
Blockquote Scenario: Online Shopping Portal XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. Ho... View Questions/Answers

question  June 3, 2011 at 9:38 PM
how set multiple select box value parent child concept select box ... View Questions/Answers

generate charts using JSP  June 3, 2011 at 8:05 PM
any one know coding for generate bar chart or pie chart using JSP ... View Questions/Answers

JNI using eclipse  June 3, 2011 at 5:40 PM
Hi how to call a c function in java using JNI which we must me able to do entirely in eclipse.as i am a newbie to java,i dont know how to implement JNI using eclipse. ... View Questions/Answers

Which is the best way to travel around Delhi  June 3, 2011 at 5:23 PM
Please suggest us the best way to travel in and around Delhi. Thanks. ... View Questions/Answers

Shopping in Delhi  June 3, 2011 at 5:16 PM
I heard about Connaught Place and Karol Bagh are best markets for shopping in Delhi. But is there any other market.. from where i can buy something traditional that can be related to Delhi as well as Indian culture. Thanks! ... View Questions/Answers

How to display a record containing 30 fields in jsp without scrolling the page horizontally?  June 3, 2011 at 5:15 PM
I want to display records containing 30 fields in a table row.Is it possible in jsp without scrolling the page horizontally? ... View Questions/Answers

I wants to take travel loan in India  June 3, 2011 at 5:00 PM
Hi, i wants to take a travel loan in India ...please suggest from where i can avail it quickly and at minimum rates. Thanks! ... View Questions/Answers

java interfaces implementation  June 3, 2011 at 4:24 PM
hai I have defined one inter face like Maths taking methods like add(), sub(), mul()in interface I take different implementation classes for add() method and sub()and mul() when i trying to implement add()mthod in Addition class it is asking su... View Questions/Answers

question  June 3, 2011 at 3:59 PM
Good after noon Sir, Please send me the code of the problem given below.it's urgent code to display employees on absent and manager can approve,and send a notification message to an employee.using JPanel+mysql+Java ... View Questions/Answers

how to read text file in jtable in netbeans7.0  June 3, 2011 at 3:32 PM
text file is: contig00001 length=586 numreads=4 CGGGAAATTATCcGCGCCTTCACCGCCGCCGGTTCCACCGACGAACGGATACTGCGtGaa ggCCGCGATCCCGTCggaCGGAAAaCGCCcTGGCCCGGGAaCATACCGTTCGGGCCGCCA AGTGTTATAGCCGGACCACTTGTCAGAACATTTCCaaTCCGAAGATGTGAGTtCGGAAGg TAAAAGCCCGACAAGTTGCGCGgTGAATTTAC... View Questions/Answers

Language Translate Probelm  June 3, 2011 at 3:31 PM
I want to build an application showing quoted text in hindi. i found google translate api and google tranliterate api providing language translation. translate api converts - "What is your name." into corrs. hindi text. transliterate api converts - "Aapka naam kya hai." in hindi.<... View Questions/Answers

Multicolumn text flowing multipage sliding  June 3, 2011 at 3:03 PM
Hi.. I need help? Multicolumn text flowing through multipage sliding, should calculate total column, gap, text size, image size for different browser. To be control with Previous Page & Next Page. At the ending of story the next Page sliding should stop. Please give me suggestions how to impl... View Questions/Answers

Impact on change of table name  June 3, 2011 at 2:58 PM
What is the impact when we change the table name. If there are dependencies or anything else related to the table which is going to change. Please update me on this.... Regards, Srinivas Alwala ... View Questions/Answers

question  June 3, 2011 at 1:19 PM
Good Afternoon, code to display the employees on leave,and approve that leave for manager.using JPanel+mysql+Java ... View Questions/Answers

Where to stay in Delhi?  June 3, 2011 at 1:03 PM
Hi, i am visiting New Delhi in the mid of june ...so, just wondering where to stay? Is there an cheap as well as best place or hotel where i can stay for couple of day's? ... View Questions/Answers

Hibernate  June 3, 2011 at 1:00 PM
Can we write more than one hibernate.cfg.xml file... ? if so how can we call and use it.? can we connect to more than one DataBase from a single Hibernate program.? ... View Questions/Answers

I have only one day to visit the Jaipur..  June 3, 2011 at 12:57 PM
Hi, I have only a day to travel in Jaipur ..hence, bit worried about what to see first. ... View Questions/Answers

DATABASE  June 3, 2011 at 12:49 PM
you need to create two tables: country(countryid Number,countryname text) and state(stateid Number countryid Number, statename text); 1)country.jsp: <%@page import="java.sql.*"%> <html> <head> <script language="javas... View Questions/Answers

convertion of string entered in the web interface  June 3, 2011 at 12:34 PM
hi i am entering some values in the textbox of web interface.how i can access that values and convert to particular type.in short how to link web interface values with my java code.sorry if the question is too simple.i am newbie in java. ... View Questions/Answers

question  June 3, 2011 at 10:54 AM
Good Morning Sir, submit attendance to database using system IP address with current system date and time.using JPanel+mysql+Java ... View Questions/Answers

Hibernate  June 3, 2011 at 10:24 AM
Can we rename hibernate.cfg.xml file name to somename.cfg.xml? if so how can we use it? ... View Questions/Answers

Need help  June 3, 2011 at 10:07 AM
Hello... I need some help I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name.. for example.. i have a method name() which contains 1 string value suppos "s" and i hav 1... View Questions/Answers

button  June 3, 2011 at 9:58 AM
can i give multiple commands on click of a button? if yes how can i do that?? multiple commands can be retriving dat from database, capturing data, moving to next page.. etc. ... View Questions/Answers

files uploding and downloading codes  June 3, 2011 at 9:07 AM
any one know JSP codes for upload files,download files and delete files from a created virtual memory . ... View Questions/Answers

While loop break causing unwanted output  June 3, 2011 at 9:03 AM
Below I will paste my code. My problem is that when I run this I get to input a int and if correct it will output that I was correct but after that it will output something that I'm not understanding which is"hack2@1f24bbbf". Any help will be greatly appreciated as I'm just beginning learning jav... View Questions/Answers

core java  June 2, 2011 at 11:10 PM
what is the use of iterator(hase next) ... View Questions/Answers

Need help on JAVA JSP  June 2, 2011 at 10:52 PM
Hi, I have never worked on java and I have been given an assignment where I have to fix existing issues in the tool(created using JAVA JSP). e.g. Tool does not adjust with the resolution of the screen(need to know how I can adjust it based on the cureen system's screen r... View Questions/Answers

How to Retrieve Data from Facebook Using PHP  June 2, 2011 at 9:54 PM
is this link has right content regards that?? http://techpdf.co.cc/blog/how-to-retrieve-data-from-facebook-using-php/ ... View Questions/Answers

How to Retrieve Data from Facebook Using PHP  June 2, 2011 at 9:54 PM
is this link has right content regards that?? http://techpdf.co.cc/blog/how-to-retrieve-data-from-facebook-using-php/ ... View Questions/Answers

Baloon Popup in GWT  June 2, 2011 at 8:53 PM
Hi, I am working on making a weekly Calendar in GWT.Here i need to show a Popup on mouse over event on any appointment already added.This popup should be a bubble pop up with an arrow/stem at its one corner.I'll be showing appointment details inside this popup. Tried using CSS to ... View Questions/Answers

database-3  June 2, 2011 at 8:02 PM
i have 2 columns in the table..and one drop down menu what will be the database code for when i select one option from drop down menu .. the corresponding values to this option stored in the the database should be retrived on the screen and on clicking those values which are retr... View Questions/Answers

Display data  June 2, 2011 at 7:42 PM
after successful login how i can fetch my account information from sql database ... View Questions/Answers

button  June 2, 2011 at 5:13 PM
can i give multiple commands on click of a button? if yes how can i do that?? multiple commands can we retriving dat from database, capturing data, moving to next page.. etc. ... View Questions/Answers

database-2  June 2, 2011 at 4:57 PM
I have 2 columns in a table in database and have 2 drop down menus. what will be the database code for when i select one option from 1st drop down menu .. the corresponding values to this option stored in the the database should be retrived in the 2nd combo box. i want th... View Questions/Answers

applet connected to table in MS Access database  June 2, 2011 at 4:55 PM
i have connected my java code with the MS access database and this is my code, can anyone tell me how to show the table in an applet...pls import java.sql.*; public class TestDBDriver { static Connection con; static Statement stmt; stati... View Questions/Answers

question  June 2, 2011 at 4:40 PM
Good Afternoon Sir, give me the source code to submit attendance to data base using System IP Address with system date and time.using JPanel+mysql+java ... View Questions/Answers

Displaying different portions of a page subsequently on the basis of action  June 2, 2011 at 4:16 PM
Suppose in Report.jsp there are two text fields From Date: and To Date: with js calender beside these and a SEARCH Button(When the page initially loads). When user clicks the SEARCH button, I want to display another portion along with previous portion on the same page that contains four Radio but... View Questions/Answers

Type casting  June 2, 2011 at 4:06 PM
how to type cast a string value to byte array? ... View Questions/Answers

database  June 2, 2011 at 3:50 PM
How can i get combo box values from database?? or how can i get values in the drop down menu of the html which is similar to dat of combo box in java - from database? you had given me the answer <%@page import="java.sql.*"%> <select>... View Questions/Answers

Program in javascript to show the current location  June 2, 2011 at 3:37 PM
Hi All, Actually in my application ..i wanted to updated the current location each time it gets loads...so, can you give me a simple program in javascript to show the current location in JavaScript? Thanks!! ... View Questions/Answers

how do i upload a file by using servlet or jsp?  June 2, 2011 at 3:22 PM
hi plz tell me the write java code ... View Questions/Answers

question  June 2, 2011 at 1:25 PM
Using grid to mark Mark Attendance and Approve Attendances of employees for manager 1. Use grid -That displays employee name,employee_id,status(P/A),check box or Approve button. (Button in each row of the grid and below a button for approving all attendances marked ) It should show the list of ac... View Questions/Answers

how to get multiple hyperlink values from a table column to another jsp file?  June 2, 2011 at 1:04 PM
dear sir: this is what i'm trying to do, i have 3 JSP files. first file named "index" asks the user to enter the itemid and and search for it. second file named "dbtable" will get the parameter from "index" and search for the user string in the database, as a result a table will come ... View Questions/Answers

question  June 2, 2011 at 12:56 PM
Good afternoon Sir, Use grid - That displays employee name,employee_id,status(Present/Absent),check box or Approve button to confirm for the manager. (Button in each row of the grid and below a button for approving all attendances marked )-using JPannel+java + mysql. ... View Questions/Answers

java spring simple application  June 2, 2011 at 12:18 PM
hai I have design a simple application in this I always found class not found exception. I am sendig code as follows please resolve this and send me.my directory structure is as follows Project:Student/src/com.mazeed/StudentComponet.java/TestClient.java/springConfig.xml for this I have... View Questions/Answers

logfile interface  June 2, 2011 at 11:42 AM
How to create logfile interface for programs in java ... View Questions/Answers

Continents in the World  June 2, 2011 at 10:34 AM
Hi, How many continents are there in World? Name all the Continents. Thanks ... View Questions/Answers

How to add radio button value in a table for particular field?  June 2, 2011 at 10:07 AM
Hi,I have a jsp form in which one static field for date and below a dynamic table having three fields one for employee name those are showing in this page dynamically from other table and two radio button one for present and the second for absent having same name(status) but different values(pres... View Questions/Answers

How many cookie object we can store in a session? is there any limit?  June 2, 2011 at 6:57 AM
How many cookie object we can store in a session? is there any limit? ... View Questions/Answers

why should we over ride hashCode(), when equals was over ride()?  June 2, 2011 at 6:55 AM
why should we over ride hashCode(), when equals was over ride()? ... View Questions/Answers

unable to execute the examples  June 2, 2011 at 5:24 AM
unable to execute the examples given for struts,ejb,or spring tutorials.Please help I am a beginner. ... View Questions/Answers

Latitude and Longitude of India  June 1, 2011 at 11:45 PM
Hi, I have to find Latitude and Longitude of India in my application. Can anyone tell the Latitude and Longitude of India? Thanks ... View Questions/Answers

coding for emloyee managent system  June 1, 2011 at 10:52 PM
coding for employee management system ... View Questions/Answers

Pagination without using database in php  June 1, 2011 at 9:54 PM
How can I show multiple images in multiple rows with pagination in php? ... View Questions/Answers

uiwebview stringbyevaluatingjavascriptfromstring example  June 1, 2011 at 7:53 PM
Hi, Can anyone share example code for using uiwebview stringbyevaluatingjavascriptfromstring function? thanks ... View Questions/Answers

websphere  June 1, 2011 at 7:52 PM
hi i am working in developing the websphere portlets. but i dont have sufficient knowledge on portlets. please suggest me how to learn websphere portlets. Thanks Sathish ... View Questions/Answers

compiling programme IJVM  June 1, 2011 at 7:51 PM
I TRY AND COMPILE THE PROGRAMME BELOW BUT HAS ERROR APPEAR ALL THE TIME,,CAN ANYONE CORRECT THE CODE AND WRITE UP THE NEXT METHOD FOR POWER IN THE PROGRAME AS WELL...URGENT // Program to read two single digit numbers and display // a.sum // b.difference (a-b or b-a, whichever gives a pos... View Questions/Answers

write a program which asks the user for two int values and calculates their sum.  June 1, 2011 at 7:46 PM
The title says it all, an example is (1,2) > 3 ... View Questions/Answers

java script text box  June 1, 2011 at 7:12 PM
hi, I created a button when i click on button(next/prev) new two textbox is created. i want to do the two textbox will show by next and prev button. when i click the next button only two textbox show same way prev button. dont add two textbox two by two,and i want to do that when i wi... View Questions/Answers

struts2 how can we add an radio button to form using a class(doa)  June 1, 2011 at 6:42 PM
Hi I had created an class of subscription,and iam trying to add an radio button on the registration form how to do plz help me out here is my code model class: import java.util.*; /** * State generated by hbm2java */ public class Subscr... View Questions/Answers

struts2 how can we add an radio button to form using a class(doa)  June 1, 2011 at 6:42 PM
Hi I had created an class of subscription,and iam trying to add an radio button on the registration form how to do plz help me out here is my code model class: import java.util.*; /** * State generated by hbm2java */ public class Subscr... View Questions/Answers

WebServer  June 1, 2011 at 4:29 PM
what is BEA weblogic server?and how to use this into realtime? how to help for us this server? ... View Questions/Answers

question  June 1, 2011 at 4:26 PM
Hi good morning sir, how to send an error message to an html page after checking the database for different users.for eg:your user name or password is incorrect.reply me with code, without using bean.using servlet,html,jsp and simple java script.i don't know ajax ... View Questions/Answers

Running a stand alone application using batch file in windows  June 1, 2011 at 3:35 PM
I have created a stand alone application and i have generated jar file for my application. All the .class files are available inside a package called as com.tbss. I have included all the jar files inside the present working directory.I have used following command to run my application ... View Questions/Answers

display  June 1, 2011 at 3:26 PM
please tell me how to display the content from database.. if we click on any image using servlets/jsp...please ... View Questions/Answers

java  June 1, 2011 at 2:06 PM
how to write a java program code to build a textbox that contains only numbers? cold you pleease post me the answer ... View Questions/Answers

how to get description for each file  June 1, 2011 at 1:28 PM
hi, how to get description for each file using php or java script..... condtion:two text boxes for each file if the user select 10 file to upload........get the description for each file w... View Questions/Answers

why the program is showing error?  June 1, 2011 at 1:10 PM
<%@page import="java.sql.*"%> <% try{ Connection conn = null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); conn = DriverManager.getConnection("jdbc:odbc:sample"); Statement st=null; st=conn.createStatement(); String query = "select... View Questions/Answers

DMCA.com