Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

j2me  August 6, 2010 at 7:47 PM
Hi, through j2me how can i connect googlemaps... ... View Questions/Answers

Hierarchy in java  August 6, 2010 at 7:06 PM
Design a vechicle class hierarchy in java? ... View Questions/Answers

image display  August 6, 2010 at 5:39 PM
how to display image that store in mysql database... column have BLOB datatype.... ... View Questions/Answers

Advertisement

mysql  August 6, 2010 at 4:50 PM
code to add photo in mysql database ... i want page from which i can upload photo which will store in mysql database and display in one page in jsp... ... View Questions/Answers

JAVA  August 6, 2010 at 4:00 PM
How to separate the string of any file name. Suppose I have the file named x_y_z.txt then I want to separate x,y & z independently. ... View Questions/Answers

using displaytag with struts2  August 6, 2010 at 3:01 PM
Hi, i am using struts2 framework to develop an application. But, while surfing some code on internet, i saw some rich UI application in which there are highly used displaytag. Furthermore they were using this to display the data of List(arraylist/arrty), for sorting purpose while clicking on ta... View Questions/Answers

what is the differnce between the number format and string format when creatign the table in oracle  August 6, 2010 at 2:23 PM
Hi what is the differnce between the number format and string format when creatign the table in oracle.if i enter the number in string format,can i know the advantageif i enter the number in number format,can i know the advantage ... View Questions/Answers

java  August 6, 2010 at 1:58 PM
how to supply command line arguments to the code by using notepad and by using netbeans 6.5 ? please answer me as early as possible..thank you ... View Questions/Answers

RMI  August 6, 2010 at 1:09 PM
1>when i run jar file with java -jar jarfile.jar it shows Failed to load Main Class error how to overcome by this error 2>when i run jar file by double clicking It shows an error that "Failed to load Main-class manifest attribute" 3>when i use javaw rmicre... View Questions/Answers

jaavscript  August 6, 2010 at 12:31 PM
Dear sir, I have an Inbox page with options such as inbox,forward,delete,reply,log out,compose mail buttons.By clickin on inbox button it should query results,i.e inbox contents from database such as from,to ,subject,date,content with check box corresponding to each mail.If you can pr... View Questions/Answers

abt java  August 6, 2010 at 12:17 PM
hiiiii i m new to this language i have some problem with my java code ... i working on netbeans .. i write a code for user authetication ... in this code it take user name password and a user certificate(which is given by master ) the problem is this that when i run this desktop... View Questions/Answers

collectrions  August 6, 2010 at 9:50 AM
I got this error"WARNING: Expected collection while converting data for java.util.List in ParameterProperty[method=getAmount,p#=0]."Can u plz solve it?? ... View Questions/Answers

Text File I/O - DVD.java  August 6, 2010 at 8:36 AM
NEED HELP PLEASE.The application should use a text file with one value on each line of the file. Each movie would use three lines: one for title; one for studio; one for year.When the application starts, read the data file and populate the array. When the file ends, use the a... View Questions/Answers

error  August 6, 2010 at 1:10 AM
import java.awt.*;import java.awt.event.*;class Sum implements ActionListner{Frame f ;button b ;Text Feildtf,tf1,tf2; public Sum() { f = newFrame("aaa"); ... View Questions/Answers

java  August 5, 2010 at 10:45 PM
can we declare the constructor as private? ... View Questions/Answers

logout problem??  August 5, 2010 at 8:46 PM
sir, the logout code which u have send is not the proper solution coz,by using this code the browser get closed which shuold not happen.to logout properly i think we should empty or clear the browser cache regarding that session object which used in particular application.this doesnt mean... View Questions/Answers

Java  August 5, 2010 at 8:14 PM
Define class Employee(id,name,salary).Define a subclass Manager(bonus).Create n objects of Manager class.Define a static method sort which will sort the manager objects on the basis of total salary.Display sorted data.here I am unable to pass the array of manager object to the stat... View Questions/Answers

throws IOException  August 5, 2010 at 7:41 PM
throws IOException means ... View Questions/Answers

java program  August 5, 2010 at 7:32 PM
sir,i'm ask to develop a program on below question.Design a Vehicle class hierarchy in java.write a test program to demonstrate polymorphism. ... View Questions/Answers

java  August 5, 2010 at 7:14 PM
Develop multi-threaded echo server and a corresponding GUI client in Java.and tell me the output.please reply sir. ... View Questions/Answers

Getting 404 errors  August 5, 2010 at 6:55 PM
Dear experts,I have embedded a login page inside my landing page - home.jsp.So, at the right-hand column of my page,I use the below codes:-<ul class="list-one"> <li><div id="fig2_8"> <... View Questions/Answers

java  August 5, 2010 at 6:40 PM
Develop Date class in Java similar to the one available in java.util package. Use JavaDoc comments and the output.please reply must sir. ... View Questions/Answers

graphical user interface  August 5, 2010 at 6:12 PM
Help me write a code for this please Thank you. tried adjusting the previous one and got errors.Employee Details as TitleName (Text Field) Address (Text Area)Phone (Text Field) Street (Text Field) Sex (Line Bord... View Questions/Answers

tomcat  August 5, 2010 at 6:04 PM
i want to run my war file in server in tomcat... to how to assign static IP in tomcat.... i want to run my project in local-network... my project is in jsp... ... View Questions/Answers

Javascript  August 5, 2010 at 5:59 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

jsp code  August 5, 2010 at 5:58 PM
hello sir i have a problem in in loop while(itr.hasNext()){String compnamvalue=itr.next().toString();StringTokenizer searchstrtoken=new StringTokenizer(compnamvalue,"~");compcode=searchstrtoken.nextToken();String compname=searchstrtoken.nextToken();Strin... View Questions/Answers

jsp or javascript  August 5, 2010 at 5:52 PM
hello sircan i run sql query in javascript? ... View Questions/Answers

Java Of Sailendra  August 5, 2010 at 5:21 PM
Whats the use of comparator interface?How can we access the elements of a collection? ... View Questions/Answers

Java Of Sailendra Jena  August 5, 2010 at 5:16 PM
Have u used any collection algorithm? ... View Questions/Answers

Java of Sailendra  August 5, 2010 at 5:14 PM
why string is not taking as primitive datatypes but we r taking it as a class? why explain it? ... View Questions/Answers

java  August 5, 2010 at 5:11 PM
which one is more efficientint x;1. if(x==null)2.if(null==x)state which one either 1 or 2? ... View Questions/Answers

java  August 5, 2010 at 5:07 PM
how tha garbage collector know that the object will be deleted? on which algorithm the garbage collector works? what is the working principle of garbage collector? How manay types of garbage collectors r there? ... View Questions/Answers

query  August 5, 2010 at 4:20 PM
code that manage updation n deletion in one page.... that means i wants update query n delete query that work in one page at onclick update and delete button... ... View Questions/Answers

j2me  August 5, 2010 at 3:40 PM
Hi, How can we retrieve google maps by using j2me ... View Questions/Answers

graphical user interface  August 5, 2010 at 3:29 PM
how do i write a code for a jmenu bar, File with items like open, save , save as. that lead to another interface? ... View Questions/Answers

java swings  August 5, 2010 at 3:28 PM
hi everyone,can we make a chain of frames with JSplitpane and run a shell script in any one of those frames. ... View Questions/Answers

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

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

DMCA.com