Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Javascript  August 5, 2010 at 2:38 PM
Dear Sir,I have been asked to create a mail service.Just like gmail inbox,send,compose etc options should be there.This service will be inside a system,not outside.All level users have their own id.If he opens his window,and click on MAIL button,gmail like screen should open.If he types ... View Questions/Answers

Fixed Header  August 5, 2010 at 1:57 PM
Dear Sir,My question is while querying some data and placing it in a table i have as many as 40 columns with many rows.when i am scrolling down data in the table the header gets lost.While analysing data one cant identify the coloumns to respective name.I want that header to be fixed,eve... View Questions/Answers

Javascript Fixed Header in A table  August 5, 2010 at 12:47 PM
Dear Sir, Thank you for your help.It is a great web site with a lot of help Cheers & Thank You again. My question is while querying some data and placing it in a table i have as many as 40 columns with many rows.when i am scrolling down data in the table the header gets l... View Questions/Answers

Advertisement

hide division  August 5, 2010 at 11:47 AM
On click Hide one dividion and visible another division... ... View Questions/Answers

title and keywords don't refresh in webpage  August 5, 2010 at 4:14 AM
Hi, I changed the title and keywords on my main jsp page that is the entry point into my web application. However when I restart server and do view source I still see the old title and keywords. If I change anything else on the jsp page it refreshes but not the title and keywords. Am I missing... View Questions/Answers

java  August 5, 2010 at 12:25 AM
good morning sir.i have completed my mca at 2009.now i want to attend the inteviews (fake 1+/2+)is it possible to attend and which type of questiond they may ask.i have scjp and scwcd and good knowledge in struts,hibernate. ... View Questions/Answers

jdbc  August 4, 2010 at 11:19 PM
I've got a MS Access database with a 1:1 relationship between 2 of thetables, and I'm trying to append data to both tables.Both tables have the same Primary Key, which is generated as an Auto-Number in Access. If I delete the relationship in Access, then I canappend dat... View Questions/Answers

array  August 4, 2010 at 11:11 PM
Write a program that read 15 integers between 0 and 6 and a method to search, displays and returns the number that has the highest occurrence. Prompt the user if the number is not within this range. ... View Questions/Answers

Java Compilation  August 4, 2010 at 10:08 PM
Dear Sir,Thanks for giving the code for the question which i posted.I went through the program"Write a Java program to read a file that contains DNA sequences of arbitrary length one per line (note that each DNA sequence is just a String). Your program should sort the sequence... View Questions/Answers

decryption and encryption  August 4, 2010 at 9:07 PM
hi everyone. my question is that i have one problem which i have to solve and the issue is that i have to do the encryption and decryption thing there in my code, e.g if the user enters the abc the code should encrypt it to def and vice versa plz help me ... View Questions/Answers

array  August 4, 2010 at 8:49 PM
Write a program that read 15 integers between 0 and 6 and a method to search, displays and returns the number that has the highest occurrence. Prompt the user if the number is not within this range. ... View Questions/Answers

java  August 4, 2010 at 8:47 PM
create a web site that contain pages for you personal information family information ,educational information, training and project information and a page for remark from your friend. Link all these pages with menus you have downloaded. display different messages on satus bar for each page, use diff... View Questions/Answers

graphical user interface  August 4, 2010 at 7:30 PM
write a java program to display Employee details with a border heading,name,phone number, street,city,then on the other side Right text area for address, under it sex with a border title then radio button for male and female, hobbies line border,football check box,netball check box,chess check box, ... View Questions/Answers

RMI over Internet  August 4, 2010 at 7:02 PM
Hello I've made a project which utilizes rmi for communication.Problem: I am unable to communicate using rmi over internet1)the clients cannot connect to me2)I am using client side callbacks ... View Questions/Answers

java program  August 4, 2010 at 6:52 PM
sir,i'm asked to write a program in java on below question.Design a java interface for ADT stack.Develop two different class that implements this interface,one using array and other using linked list provide necessary exception handling in both the implementation. ... View Questions/Answers

JAVA JSP and Servlet  August 4, 2010 at 5:42 PM
for sending mail through lan without intenet and also chatting facility for online users using Java JSP & SERVLET code. ... View Questions/Answers

jsp  August 4, 2010 at 3:53 PM
in below code when i will click on edit button than i got value of that department in above textbox....code::<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>... View Questions/Answers

Regarding Simple Web service example  August 4, 2010 at 1:32 PM
hi i am trying to follow the simple web service example in the tutorials and it develops the application in Netbeans IDE using the GlassFish Server . however when i did the same in Netbeans6.9 i could not use the option for UseDatasource . now I enabled all the plugins and my netbeans is not s... View Questions/Answers

java &ms access  August 4, 2010 at 1:09 PM
Seasons Greetings,Am, creating an application for a food festival using Java swing as front end and MS access as Backend.The scenario is:interested employees have to register for the event ,they choosing their choice of food listed using check box.They have to be given a unique id upon s... View Questions/Answers

JAVA Coding  August 4, 2010 at 1:08 PM
Have to write a function that will write out from 1 to 10000 in words.For example if i give "1" as input the output should be "one". I have to give input for that the output should be in words. ... View Questions/Answers

compilation error  August 4, 2010 at 12:42 PM
import java.awt.*;import java.awt.event.*;import javax.swing.*;class BLayout implements ActionListener{JFrame f ;JPanel jp;JButton b[];CardLayout cl;BLayout(String s){jp = new JPanel();cl = new CardLayout();... View Questions/Answers

how to create 3d chart in dojox charting  August 4, 2010 at 11:57 AM
Please provide some example for 3d charting in dojox chart ... View Questions/Answers

jsp error  August 4, 2010 at 11:56 AM
how to remove below error::exception org.apache.jasper.JasperException: java.lang.NullPointerExceptionroot cause java.lang.NullPointerException ... View Questions/Answers

How read xml file value in dojox chart  August 4, 2010 at 11:39 AM
How to read the xml file value in dojox chart ... View Questions/Answers

jsp  August 4, 2010 at 11:38 AM
first i will insert some data to database from same field... that will show in below table... in table there is a button edit ... when i will click on edit button than data will fill up in above fields's from which we have inserted data... ... View Questions/Answers

JAVA Coding  August 4, 2010 at 11:12 AM
Have to write a function that will write out from 1 to 10000 in words.For example if i give "1" as input the output should be "one" ... View Questions/Answers

complilation error  August 4, 2010 at 12:55 AM
import java.awt.*;import javax.swing.*;import javax.swing.event.*;import javax.swing.border.*;public class JListSimpleExample extends JFrame{public static void main(String ...s){new JListSimpleExample(); }private JList sampleJLi... View Questions/Answers

java  August 4, 2010 at 12:11 AM
why notify() and notifyAll() methods are written in Object class not in Thread class? ... View Questions/Answers

java  August 4, 2010 at 12:08 AM
why notify() and notify() methods are written in Object class not in Thread class? ... View Questions/Answers

fingerprint attendance system  August 3, 2010 at 11:30 PM
i have project on attendance management system with a fingerprint scanner.i have my own interface but i have no experience how to begin....please suggest me how to interface connect with fingerprint scanner?I have device setup software which have multiple assemblies, bu... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:41 PM
[Mini-Project] Develop a programmer's editor in Java that supports syntax-highlighting, compilation support, debugging support, etc. ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:41 PM
Develop multi-threaded echo server and a corresponding GUI client in Java ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:40 PM
Develop a simple OPAC system for library using even-driven and concurrent programming paradigms of Java. Use JDBC to connect to a back-end database. ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:39 PM
Write a multi-threaded Java program to print all numbers below 100,000 that are both prime and fibonacci number (some examples are 2, 3, 5, 13, etc.). Design a thread that generates prime numbers below 100,000 and writes them into a pipe. Design another thread that generates fibonacci numbers and ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:38 PM
Develop Date class in Java similar to the one available in java.util package. Use JavaDoc comments. ... View Questions/Answers

Need to develop Java Program  August 3, 2010 at 10:37 PM
Design classes for Currency, Rupee, and Dollar. Write a program that randomly generates Rupee and Dollar objects and write them into a file using object serialization. Write another program to read that file, convert to Rupee if it reads a Dollar, while leave the value as it is if it reads a Rupee.... View Questions/Answers

java  August 3, 2010 at 8:33 PM
hi sir, create 3 html files named a.html,b.html and c.html that calls a single servlet.this servlet can also be called directly.count the hits on this servlet using the 3 html files and also the count of this servlet accessed directly. ... View Questions/Answers

java  August 3, 2010 at 8:21 PM
Create a menu with 4 option history,profile,projects and contact. if user click on any of the page ,the page should be displayed and a corresponding cookies should be saved on his machine .next times he open a menu,he should be redirectsd to the page for which the cookie is stored ... View Questions/Answers

request header and response  August 3, 2010 at 6:56 PM
hi sir, i have facing some problem in this qustion:- Create a servlet that accept a name and a phone number and contain 4 buttons add,update,delete and view .On clicking on the any of the button ,the corresponding operation should be performed . the daa should be maintained in session using... View Questions/Answers

Corejava  August 3, 2010 at 5:39 PM
1. Convert input date format from (dd/mm/yyyy) to (yyyymmdd)2. Remove a character at a specified position using substring method3. Tokenize an input string by using both split & StrinTokenizer and store it in an ArrayList or Vector and display them in a console.4. Divide one Bi... View Questions/Answers

urgent  August 3, 2010 at 4:54 PM
list the various encoding formats supported by client browser. ... View Questions/Answers

urgent  August 3, 2010 at 4:54 PM
list the various encoding formats supported by client browser. ... View Questions/Answers

urgent  August 3, 2010 at 4:54 PM
list the various encoding formats supported by client browser. ... View Questions/Answers

array in java  August 3, 2010 at 4:54 PM
array is a object in java. is it true, if true then what is its class name?or-array object is of which class? ... View Questions/Answers

java doubt  August 3, 2010 at 4:52 PM
hi sir , this is sairam am intersted on programs.so i choose the java .i want to become a good programmer .in java there are so many catagerious , on that which one is use full to me for improving me as a good programmer..........which course is... View Questions/Answers

request header and response  August 3, 2010 at 4:48 PM
Create a html form that accept user name and password ,if the user name and password is admin it redirects it to adminhome.html,if the user name and password is guest and guest it redirects it to guesthome.html and if these value are not found .it redirects the control to error.html. ... View Questions/Answers

request header and response  August 3, 2010 at 4:27 PM
Create aservlet that redirects a client to a.html if its morning ,to b.html if its a afternoon else to c.html. ... View Questions/Answers

java  August 3, 2010 at 4:17 PM
Count a menu with 4 page option History ,profile,project and contact.if user click on any of the page ,the page should be displayed and a corresponding cookies should be saaved on his machine .next times he open a menu ,he should be redirected to the page for which the cookies is stored. ... View Questions/Answers

request header and response  August 3, 2010 at 4:06 PM
count the hits of a user on a site. ... View Questions/Answers

runnable  August 3, 2010 at 12:50 PM
is java.lang.Runnable is marker interface? ... View Questions/Answers

marker interface  August 3, 2010 at 12:46 PM
how to create our owen marker interface ? can u give me one example ... View Questions/Answers

jdbc  August 3, 2010 at 12:24 PM
I've got a MS Access database with a 1:1 relationship between 2 of thetables, and I'm trying to append data to both tables.Both tables have the same Primary Key, which is generated as an Auto-Number in Access. If I delete the relationship in Access, then I canappend dat... View Questions/Answers

Tree View with database  August 3, 2010 at 11:23 AM
Hi,I'm working with Swing.I have to construct a SplitPane with JTree on the leftside and its details which is stored in the database on the right side of the pane.For ex:Network | |Node1 | | | |Slot1 | | | |Line1... View Questions/Answers

java  August 3, 2010 at 10:52 AM
create a form that accepts a user name and password and store it session. if the user name and password is admin/admin display a menu with 4 options hisory,profile,projects and contact.if user clicks on any of the page,the page should be displayed on each page ,fetching it from Session. ... View Questions/Answers

jsp  August 3, 2010 at 10:25 AM
i want to make gridview in jsp.... without using jsf.... ... View Questions/Answers

Stack Implementation java code  August 2, 2010 at 9:05 PM
Hello roseindia and java experts can u help me.can you give me a code for this sir/maam.thank you so much.STACK IMPLEMENTATION-expression evaluator*GIVEN a String of expression, create a method that will determine it as VALID or INVALID.EXAMPLES:... View Questions/Answers

Struts  August 2, 2010 at 8:38 PM
Is Action class is thread safe in struts? if yes, how it is thread safe? if no, how to make it thread safe? Please give me with good explaination and example? thanks in advance. ... View Questions/Answers

java code  August 2, 2010 at 7:54 PM
hi sir.. write a code in java for the password generator. when we run the code it should ask from user as follows ..input string : datatype of password :length of password :Enter password : OK ... View Questions/Answers

j2me  August 2, 2010 at 5:27 PM
Hi, I want to save list in record store.How can i do this. ... View Questions/Answers

Use of wrapper objects  August 2, 2010 at 5:13 PM
What is the role & use of Java wrapper objects? ... View Questions/Answers

jsp  August 2, 2010 at 5:10 PM
there are two button 1 is edit n 2 is delete... i want to manage both update n delete query in same page..... that means onclick on edit button it fire update query and onclick delete botton delete query fire .... i want both query at same page... ... View Questions/Answers

Java  August 2, 2010 at 12:11 PM
1. What are access specifiers and access modifiers?2. Difference between access specifiers and access modifiers? ... View Questions/Answers

LINUX SHELL SCRIPT  August 2, 2010 at 9:38 AM
I wish to create a bash shell script that meets the requirements below. ?Write a bash shell script called how_many_to_go that calculates and prints the number of days, hours, minutes and/or seconds until the end of the current month (based on the output of the date command).o Do n... View Questions/Answers

Java  August 2, 2010 at 12:56 AM
i want to develope an applictaion using java language in whichwhen i double click on some file the computer will autometically shutdown.. not using shortcut key but using java code pls help me to develope this code...and thanks advance...regards ... View Questions/Answers

Java code  August 1, 2010 at 7:49 PM
Develop date class in Java similar to the one available in java.util package. Use JavaDoc comments. ... View Questions/Answers

JAVA  August 1, 2010 at 6:21 AM
I WANT TO LEARN JAVA PERECTLY.WHAT ARE MAIN TOPICS IN JAVA WHICH ARE MORE USEFUL. ... View Questions/Answers

Java Compilation  July 31, 2010 at 9:02 PM
Dear Sir,Could you please send me the program code for the following java program?Q:Create a classname Math with its required variables and use add(),sub(),multiply(),divide(),modulo() methods?Thank You ... View Questions/Answers

java  July 31, 2010 at 7:44 PM
hi sir create a servlet that changes its background color after every 10 seconds ... View Questions/Answers

on clas  July 31, 2010 at 5:22 PM
A class can act as sub class? ... View Questions/Answers

jsp  July 31, 2010 at 2:16 PM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... for that i have below code but when i will add new row than it is not working properly.. it is not ... View Questions/Answers

java Date  July 31, 2010 at 12:01 PM
Dear sir I have an assignment, It is .."Develop Date class in java similar to the one available in java.util package.Use JavaDoc comments "Please help me to do the assignment, and tell me the steps and the necessary coding. <... View Questions/Answers

jsp  July 31, 2010 at 10:56 AM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... ... View Questions/Answers

Java Project  July 31, 2010 at 12:49 AM
Hey, thanks for everything your doing to make us better. Am trying to work on a project in java am in my first year doing software Engineering and the project is m end of year project. Am really believing for the best project ever. And i mind i was thinking of a Soccer Tournament like World Cup as m... View Questions/Answers

Java Code  July 30, 2010 at 10:42 PM
Write a program in Java (with a graphical user interface) that will allow the user to order a Pizza. For the pizza, it could be selected with a desired size, and toppings. The user should be able to pay the total cost of the ordered pizza, with 7.75% tax added, and receive the change back.... View Questions/Answers

java  July 30, 2010 at 7:21 PM
Design a Vehicle class hierarchy in Java. Write a test program to demonstrate polymorphism.and output.please reply must sir. ... View Questions/Answers

how to create executable  July 30, 2010 at 6:05 PM
How do i create a executable file from a java filethnks in adv...! ... View Questions/Answers

jsp code  July 30, 2010 at 4:08 PM
i want to add and remove rows dynamically ... in that row 3 colums are there... first colum shows one number , second colum shows second number and third colum shows sum of that 2 colum... and also want sum of all third colum. ... View Questions/Answers

jsp help  July 30, 2010 at 2:36 PM
i got below code for dynamically add n delete row... but in my table there are 17 colum in 1 row..i want to add whole row with 17 cloum.. so which changes are required???1)table.jsp:<HTML><HEAD><TITLE> Add/Remove dynamic rows in HTML table ... View Questions/Answers

javascript,jsp  July 30, 2010 at 1:00 PM
Dear Sir, I have a code which is not working properly.It is as follows.function calcMinValue(){ var Val="",minValue=9999; Val=document.pagename.txtbox1Id.value; if(Val!= ""){ if(Val<minValue){ document.pagename.txtbox4Id.v... View Questions/Answers

urgentt  July 30, 2010 at 11:53 AM
Dear Sir,I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them a... View Questions/Answers

c program  July 30, 2010 at 11:14 AM
Write a program to encrypt a string and decrypt? ... View Questions/Answers

jsp help  July 30, 2010 at 10:10 AM
i want to add n remove rows dynamically and also want to add data in database in jsp .... ... View Questions/Answers

java  July 29, 2010 at 6:08 PM
i want to add a colum in a csv file, how to add it.? ... View Questions/Answers

Java Collections  July 29, 2010 at 5:57 PM
I am designing an application where the program is meant to read from 2 different text files (eg FileA and FileB) containing so many Long numbers (e.g 4 million numbers in each file). The application is meant to sieve out the numbers in FileB which are present in FileA and output the remaining numbe... View Questions/Answers

urgentt  July 29, 2010 at 5:48 PM
Dear Sir,I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group them a... View Questions/Answers

Java Type Casting  July 29, 2010 at 5:43 PM
what is object type casting? give some example with related? ... View Questions/Answers

Java Abstraction  July 29, 2010 at 5:18 PM
suppose we have an interface & that interface contains five methods. if a class implements that interface then we have to bound that to give tha definition of all five methods in that class. If we declare that class as abstract then can we call only two methods to give the deinition of that meth... View Questions/Answers

Java Method Overloading  July 29, 2010 at 5:13 PM
can method be overloaded in subclass or not? ... View Questions/Answers

Java Abstraction  July 29, 2010 at 5:11 PM
If we declare a class as abstract then it contains may or may not be abstract mathod? why? In abstract class if we declare a variable then what is the access modifiers that variable should be? ... View Questions/Answers

Java Exception  July 29, 2010 at 5:07 PM
Why we are using throws in the java program even if we have try...catch block? If throws will throw the exception then who will catch it? what is the difference between the throw & throws? ... View Questions/Answers

java type casting problem  July 29, 2010 at 4:27 PM
what is type casting? what is the type of type casting? explain with example? ... View Questions/Answers

Inserting Data into mysql  July 29, 2010 at 1:50 PM
My sincere apologize for this post. I noticed there is no category for php. However am hoping my question will fit into the SQL category though under php. I need help with reading from a csv file (using php)and inserting the details in a mysql database. Lets take for instance, a csv file... View Questions/Answers

java compilation error  July 29, 2010 at 12:51 PM
1)java code:import java.awt.*;import javax.swing.*;public class ButtonsPanelApplet extends JApplet{public void init() {Container content_pane = getContentPane();ActionButtonsPanel buttonsPanel=new ActionButtonsPanel ();content_pane.add(butt... View Questions/Answers

javascript,jsp  July 29, 2010 at 12:19 PM
Dear Sir, I have a table for students' details in a school.unique is their roll number in rows.coloumns are age,sex,grade etc.There is one coloumn vacant for lot no.I want to place equal number of students under one lot number.Then same numbers under another.If there is 60 stuednts.Group th... View Questions/Answers

javascript for prompt  July 29, 2010 at 12:07 PM
Dear sir, I am using prompt()for taking a reason from vendor .var reason=prompt('Reason for deleting:','');Then i am checking a that reason cannt exceed 256 length,if it exceed i have to give an alert message.I done the followingif(reason.length>256){alert... View Questions/Answers

java  July 29, 2010 at 11:15 AM
Is jvm plan form independent? ... View Questions/Answers

storing data in xml  July 29, 2010 at 8:51 AM
Can u plz help me how to store data in xml using java ... View Questions/Answers

java compilation  July 29, 2010 at 2:04 AM
import java.awt.*;import javax.swing.*;public class ButtonsPanelApplet extends JApplet{public void init() {Container content_pane = getContentPane();ActionButtonsPanel buttonsPanel=new ActionButtonsPanel ();content_pane.add(buttonsPanel);}... View Questions/Answers

updating a table in a database  July 29, 2010 at 12:59 AM
give me complete source code in java to execute the sqlquery such that(update table_name set phone no=? where cous_id=?). or in simple way give me source code to update my table in MsAccess with new values. ... View Questions/Answers

j2me  July 28, 2010 at 5:49 PM
can we append a list to a form in j2me. ... View Questions/Answers

DMCA.com