Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to prevent the page refresh while submitting the form??  June 18, 2011 at 9:31 PM
Hi. Requirement: There are two drop down boxes.Dropdown2 should load corresponding to the select of Dropdown1. Im hitting a db for this every time.Hence the page loads every time when changing Dropdown1. Is there any way in JAVA SCRIPT to prevent this page loading??? Thanks much!! ... View Questions/Answers

strings in java  June 18, 2011 at 4:51 PM
please explain me the flow of this program..not able to execute correctly n wats the use of clone public class Strclone { public static void main(String args[]) { String s=new String("a"); String s1 = "Hello"; System.out.println(s1.length()); Stri... View Questions/Answers

how to sort the text file and display it in jtable  June 18, 2011 at 4:43 PM
my text file is: contig00001 length=586 numreads=4 CGGGAAATTATCcGCGCCTTCACCGCCGCCGGTTCCACCGACGAACGGATACTGCGtGaa ggCCGCGATCCCGTCggaCGGAAAaCGCCcTGGCCCGGGAaCATACCGTTCGGGCCGCCA AGTGTTATAGCCGGACCACTTGTCAGAACATTTCCaaTCCGAAGATGTGAGTtCGGAAGg TAAAAGCCCGACAAGTTGCGCGgTGAATT... View Questions/Answers

Advertisement

passing data between the jsp pages ?  June 18, 2011 at 1:27 PM
i developed a project on student marks system.in this project their is one html page which asks user to enter the roll number and when we press submit button on that page it moves a jsp page .on that jsp page it retrieve marks regarding the particular roll number and displays the marks and i writ... View Questions/Answers

prime number  June 18, 2011 at 12:28 PM
HI!I want a java program that accepts a number from user and displays whether it is a prime number or not using BufferedReader ... View Questions/Answers

prime number  June 18, 2011 at 12:01 PM
could u pls help me out in finding whether a number is a prime number or not? ... View Questions/Answers

retriving data from sql server using jsp code and placing them in text fields of html code  June 18, 2011 at 8:31 AM
Hi, my question is how to retrieve data from sql server 2008 using a jsp file and place the values in the text fields of a html file. i created a database table named addclients clientid 1000 name jhon address abbanna clolony ... View Questions/Answers

how can i use ajax and jquery in netbeans ide  June 18, 2011 at 1:21 AM
i am using .net here we hav to download ajax controls and if i use netbeans ide and uses ajax control so from where i can get these controls.also i want to know which struct book i read from basics and starting because i work on apache wicket framework and i want to migrate to structs ... View Questions/Answers

How to get data datagrid ?  June 17, 2011 at 8:46 PM
How to get data datagrid in jsp from arrayList in java? Code in java CategoryDao dao = new CategoryDao(); ArrayList<Categories> lstCategory = new ArrayList<Categories>(); lstCategory = dao.getListCategories(); request.setAttribute... View Questions/Answers

About running the Tomcat Server  June 17, 2011 at 8:12 PM
HI I want to run a simple program on servlet and the application is a simple program Hello world to print on Internet browser. And the directory for servlet is like this Apache Software Foundation/Tomcat 5.0/webapps/ i created myapps folder and in that folder i... View Questions/Answers

online voting systems with 10 forms and 3 pages calculations  June 17, 2011 at 6:55 PM
kindly send me the online voting system and online inventory management systems used by java or html, with 10 forms and 3 validation pages, with form designing and layout full codings ... View Questions/Answers

java  June 17, 2011 at 5:16 PM
what is the real time example of overloading and overridding? ... View Questions/Answers

About Delhi as a Tourist Destination  June 17, 2011 at 5:11 PM
Tell me something about Delhi as a tourist destination in India. Thanks. ... View Questions/Answers

how to reach shirdi from delhi  June 17, 2011 at 4:57 PM
how to reach shirdi from delhi? ... View Questions/Answers

java  June 17, 2011 at 4:50 PM
please explain me the flow of this program along with the explanation of output..its displaying 0...and why not /uoooo (unicode) public class ExampleonDatatypes { static int s; static String x; static float y; static char c; static double d; static long ... View Questions/Answers

Sariska Wildlife Sanctuary  June 17, 2011 at 4:42 PM
Where is Sariska Wildlife Sanctuary and how can i reach there?? I stay in New Delhi. Thanks. ... View Questions/Answers

Why servletcontainer can,t call the Init() method ?  June 17, 2011 at 4:42 PM
Why servletcontainer can,t call the Init() method ? ... View Questions/Answers

java  June 17, 2011 at 4:37 PM
please explain me the flow import java.util.*; class Int { private int i; public Int(int a) { i = a; } public void increase() { i++; } public String toString() { return Integer.toString(i); } } public class ClonemethodExample {<... View Questions/Answers

Wildlife Sanctuary near Delhi  June 17, 2011 at 4:37 PM
I want to see any wildlife sanctuary which is near to Delhi. Please guide me. Thanks. ... View Questions/Answers

tourist places near Delhi  June 17, 2011 at 4:33 PM
Is there any tourist places near Delhi... where we can go on weekends? ... View Questions/Answers

java beginners doubt!  June 17, 2011 at 4:27 PM
How to write clone()in java strings? ... View Questions/Answers

create webservice  June 17, 2011 at 4:27 PM
Hi Can anyone help me to create a webservice which access another webservice results and display it. thanks ... View Questions/Answers

Tourist places in india for summer  June 17, 2011 at 4:21 PM
Hi, I am in India. Please let's know the tourist places in india for summer. Thanks ... View Questions/Answers

question  June 17, 2011 at 4:16 PM
i need a simple code to display all employees on leave using jsp and mysql ... View Questions/Answers

how to perform operation on data retrieved from database in jsp?  June 17, 2011 at 3:21 PM
i developed a project on student marks system.in this project i successfully entered marks into the database from the jsp page and i can also retrieved data from database based on the input given but i want to do some addition operation on data retrieved from database and the present to the user ... View Questions/Answers

hibernate annotations with composite primary key  June 17, 2011 at 3:01 PM
I want to know how to use hibernate annotations in case of composite primary key in one table. I tried like this, I have created a table without primary key. By default mssql has created a composite primary key with all the columns of the table. table: create table student(sid number(5... View Questions/Answers

managing the transactions  June 17, 2011 at 2:49 PM
HI i am using JSF and SEAM and Hibernate when i search the record in JSF page , it dispalys all the records regarding search filter its fine my question is i want to merge the selected record profile data into another profile by clicking on check box button what is the log... View Questions/Answers

question  June 17, 2011 at 2:45 PM
i need a simple jsp + mysql code to display all absentees.and please send,if have any option to send any notification message to user who forgot to mark attendance ... View Questions/Answers

TEST JAMES MAIL SERVER  June 17, 2011 at 2:23 PM
How to test Apache James Mail Server for stress? Which Load Generator should we use to create requests in the form of mail at a controlled rate for SMTP and POP3? Actually I needed to test JVM of the mail server for memory faults and see the sign of Software Aging..... CAN ANYON... View Questions/Answers

weblogic portal 10.3  June 17, 2011 at 12:51 PM
Hi , Please let me know what are good websites for learning step by step Weblogic Portal 10.3. Thanks Ramanuja. ... View Questions/Answers

Regarding Datasource  June 17, 2011 at 12:41 PM
Hi friend, Good morning,how r u,i want to share 1 information to u,I got a job in VERIZON DATA SERVICES INDIA PVT.LTD,u help a lot when i am in academic project,with that project only i got a job in this company,Thanks a lot to provide help.presently my domain is java,I am using the tool as WEBLO... View Questions/Answers

Travel places around delhi  June 17, 2011 at 12:20 PM
Hi, Can any one tell me the names of all the travel places around Delhi? Thanks ... View Questions/Answers

Reset Password  June 17, 2011 at 9:35 AM
coding for reset password ... View Questions/Answers

Hi Rose India  June 16, 2011 at 10:30 PM
Hi all, sorry if this is not the pright place to post this... im facing a trouble with constructor arguments, because i need to set 2 diferent constructor-arg in 1 bean: my applicationContext-dao.xml looks like this: <bean id="tablesDao" class="sv.... View Questions/Answers

sort table by dropbox entry  June 16, 2011 at 9:03 PM
Hi All, I current have the following code, apologies for the length. I am able to retrieve all the information i require but am looking to include some filter boxes. I have managed to add the filter drop down to the table BUT and am unable to get this to do anything. The dropdown pulls its data ... View Questions/Answers

java test  June 16, 2011 at 7:28 PM
How to read the data from an .csv file and write into an xml file using java? (test_sample.csv(it should contain at least 39 lines)) i tried this plz check it. package Test2; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.File; import j... View Questions/Answers

Struts database  June 16, 2011 at 6:21 PM
Can u show me 1 example of Struts jsp using oracle 10g as database! with struts config file.. ... View Questions/Answers

Struts Database  June 16, 2011 at 6:20 PM
Can u show me 1 example of Struts jsp using oracle 10g as database! with struts config file.. ... View Questions/Answers

how to display data into textboxes which is retrieved from the database  June 16, 2011 at 5:33 PM
I would like to know how to display data into textboxes which is retrieved from database in jsf. could you please provide a small example of how to do it. please do help. ... View Questions/Answers

how to display data into textboxes which is retrieved from the database  June 16, 2011 at 5:33 PM
I would like to know how to display data into textboxes which is retrieved from database in jsf. could you please provide a small example of how to do it. please do help. ... View Questions/Answers

how to display data into textboxes which is retrieved from the database  June 16, 2011 at 5:33 PM
I would like to know how to display data into textboxes which is retrieved from database in jsf. could you please provide a small example of how to do it. please do help. ... View Questions/Answers

Java null pointer exception  June 16, 2011 at 4:56 PM
Hi I've made an array of Book objects that I made, the array is called library and it can hold 100 books, but currently there are 6. The Book objects contain three private strings; an author, a title and a short summary. A Book object also contains the appropriate constructor and getters and sett... View Questions/Answers

question  June 16, 2011 at 2:35 PM
good afternoon sir, i need a jsp/html program which includes drop down menu for leave types and a button for apply leave.and need another jsp to insert types of leave which is selected by the user ,in to data base using mysql. ... View Questions/Answers

question  June 16, 2011 at 1:00 PM
i need a jsp/html program which includes drop down menu for leave types and a button for apply leave.and need another jsp to validate types of leave and then insert in to data base using mysql. ... View Questions/Answers

Java HashSet Collection problem  June 16, 2011 at 12:29 PM
Here's how the HashSet works. It maintains an array of buckets. When an object is inserted, it finds the appropriate bucket corresponding to the objects HashCode. Then it calls the equals method to compare the equality of objects in the bucket.If an equals returns true with any object of the buck... View Questions/Answers

Shoping Card  June 16, 2011 at 12:08 PM
Complete coding for online shoping card ... View Questions/Answers

NSPersistentStoreCoordinator  June 16, 2011 at 12:03 PM
What is NSPersistentStoreCoordinator in objective c? How can i use it with the SQLite..? Thanks. ... View Questions/Answers

Anchor Tags  June 16, 2011 at 12:03 PM
coding for one link to another new page using anchor tag ... View Questions/Answers

Related to Histogram  June 16, 2011 at 11:52 AM
hi this is srinivasrao. In my project i have to display using chart for that i want to use histogram. k chart displayed but the values given by me is not related display chart so please give the code if u have the correct one while your early trying........... Thanks and regards ... View Questions/Answers

Write a function that reads a string of digits, possibly preceded by + or -, and converts this string to the integer value it represents.  June 16, 2011 at 9:55 AM
Write a function that reads a string of digits, possibly preceded by + or -, and converts this string to the integer value it represents. Be sure that your function checksthat the string is well formed, that is, that it represents a valid integer. (Hint: use the functions provided in and ... View Questions/Answers

Write functions to implement the split, merge, and mergesort algorithms for files. Also, write driver programs to test the given functions.  June 16, 2011 at 9:53 AM
Write functions to implement the split, merge, and mergesort algorithms for files. Also, write driver programs to test the given functions. its some what urgent,can any one help me out . any iputs on this would be highly appeciate... thanks in advance. ... View Questions/Answers

Java sample using - for loop, if then else etc etc  June 15, 2011 at 9:42 PM
sample program to produce summary information on sales report. The program will input Data of Salesman Id, Item code, and number of cuestomer. Sales id is 5digit long, and items code range from 100-300 if Item code is 100-150, display " aim high" if item code is 150-200, display "... View Questions/Answers

JDBC-AWT  June 15, 2011 at 9:02 PM
I can not able to capture the data in an applet which contains the components like text fields,check box etc.. and i am trying to save the data in sql+. When i run the code in netbeans, i can abe to store successfully. but when i deploy the same .class file to a browser the data is not storing i... View Questions/Answers

RESTful Webservice  June 15, 2011 at 6:39 PM
Hi Everyone, presently I am trying RESTful webservice in java. But I din't get the proper example for this. So Can anyone please send me the RESTful webservice example with all requests(GET,POST,PUT,DELETE)? ... View Questions/Answers

plot a graph in Java  June 15, 2011 at 6:15 PM
I need to plot a graph in Java but the samples are not known in advance. The samples keep on coming through callback and I need to plot them as I receive them. This requires calling repaint() again and again which redraws the entire area on the JPanel thereby overwriting the previous sketch. I ca... View Questions/Answers

program coding  June 15, 2011 at 6:12 PM
how to rearrange the array a[1]. . a[n] even elements and odd elements? please give the example coding program.please provide the coding for this problem. . ... View Questions/Answers

program coding  June 15, 2011 at 6:05 PM
how to rearrange the array a[1]. . a[n] even elements and odd elements? please give the example coding program. ... View Questions/Answers

program coding  June 15, 2011 at 5:00 PM
Throughout a program text the operation "x to the power y" was denoted by x**y.It was decided that notation should be changed to x^y.how do we do that?The input text is a decimal number or not,and the number may be optionally preceded. ... View Questions/Answers

program coding  June 15, 2011 at 4:32 PM
Throughout a program text the operation "x to the power y"was denoted by x**y. It was decided that notation should be changed to x^y.How do we do that? the input text is read character-by-character;the output text should be printed in the same manner. ... View Questions/Answers

Java how to stop audio  June 15, 2011 at 4:10 PM
hello i have this code in the main: try { AudioInputStream audio = AudioSystem.getAudioInputStream(new File("x.wav")); Clip clip = AudioSystem.getClip(); clip.open(audio); clip.start(); } ... View Questions/Answers

coding for re-type password  June 15, 2011 at 4:09 PM
coding for re-type password ... View Questions/Answers

Java  June 15, 2011 at 4:08 PM
coding for re-type password ... View Questions/Answers

maximal prefix  June 15, 2011 at 4:07 PM
Read the maximal prefix of the input string that may be a prefix of a decimal number.Determine whether this prefix is a decimal number or not, and the number may be optionally preceded ... View Questions/Answers

how to insert multiple columns of a single row into my sql database using jsp  June 15, 2011 at 3:52 PM
hi sir, how to insert multiple columns of a single row into my sql database using jsp. when i click ADD ROW,rows are added.when i click submit the data in the row must be added into database. the following code is <body> <... View Questions/Answers

program coding  June 15, 2011 at 3:36 PM
write a c program to rearrange the array a[1]. . .a[n] in such a way that all even elements precede all odd elements (not changing the order inside each of the two groups). ... View Questions/Answers

POOL  June 15, 2011 at 3:30 PM
In deep water associates operate a business that offers a variety of services to customers who own swimming pools, including cleaning and filling pools. Create pool class that calculates the price of a service call. The price includes a set $75 fee for cleaning plus an additional fee based on th... View Questions/Answers

Servlets  June 15, 2011 at 2:56 PM
system.out.println and out.println difference ... View Questions/Answers

Write a java program that prints the decimal representation in reverse. (For example n=173,the program should print 371.)c  June 15, 2011 at 2:48 PM
class rose { int n; int i; rose(int n,int i) { n=173; i=371; } void out { System.out.println("Enter the number"+n); System.out.println("\nReverse the number"+i); } Public static void main(String args[]) { System.out.println("Enter the number"+n); S... View Questions/Answers

Form Should not load  June 15, 2011 at 1:12 PM
I have a jsp page which has textbox and dropdown box, when I submit it, the page reloads and the textbox and dropdown box also reload which should not happen. I need to retain the value of text and dropdown box after submitting or the form should not load again. Thanks in adbance. ... View Questions/Answers

Struts2  June 15, 2011 at 1:09 PM
i want select multiple items from select list in struts2.when i did like that the two selected values must saved into databse in two diffirent rows.pls provide any one code for this i am new to Struts2? ... View Questions/Answers

java  June 15, 2011 at 12:42 PM
hello,i am learning java from past 1 month,i learnt till the inheritance & i want to write a program to test weather a given string is palindrome or not...,can you please help me or give codes ... View Questions/Answers

With reference to the question " TELL US THE LOGIC OF DICEROLLER"???  June 15, 2011 at 12:15 PM
Tell us the logic of diceroller 1 Answer(s) 18 minutes and 38 seconds ago Posted in : Java Beginners As told ""The (Math.random()*6)+1 returns the random number between 1 and 6 only. so it display 3 for the first dice and 2 for another one."""" Why cant it be 5 & 4..???... View Questions/Answers

Tell us the logic of diceroller  June 15, 2011 at 11:53 AM
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class DiceRollerServlet extends HttpServlet{ protected void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException{ PrintWriter pw = response.getWriter(); Strin... View Questions/Answers

dbms  June 15, 2011 at 11:51 AM
**can u please explain how to create a database in simle manner in windows.., ** ... View Questions/Answers

coding for home page using html  June 15, 2011 at 11:48 AM
coding for home page using html ... View Questions/Answers

Home page coding  June 15, 2011 at 11:43 AM
coding fot html ... View Questions/Answers

opening new browser with new JSESSIONID using java  June 15, 2011 at 11:03 AM
I am facing following problem, I am trying to open a new browser using java. First i have opened one IE browser and manually. And i ran my LaunchURL.java file, it is opening new browser but with the same JSESSIONID of which IE browser window i opened manually. Her it is giving same JSESSIONID for... View Questions/Answers

implement core data iphone sdk  June 15, 2011 at 10:52 AM
How to implement core data in iPhone SDK? Please Help. ... View Questions/Answers

question  June 15, 2011 at 10:07 AM
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> manager... View Questions/Answers

java tutorial for beginners  June 15, 2011 at 9:59 AM
java tutorial for beginners... View Questions/Answers

question  June 15, 2011 at 9:53 AM
simple jsp code for login and validation using jsp and simple java script ... View Questions/Answers

j2ee  June 14, 2011 at 8:39 PM
sir can you give me some of the definitions of project under the platform of j2ee?? ... View Questions/Answers

Difference in size of .java & its respective .class file  June 14, 2011 at 5:21 PM
Hai, I had created & compiled a java class named sample.java. The size of sample.java is 340KB. Whereas the size of its respective class file sample.class is 137KB. Could anyone suggest the reason. Thanks in advance. ~Naveen ... View Questions/Answers

question  June 14, 2011 at 4:48 PM
good afternoon sir, please send me a simple Jsp or Java code to display a calendar with Indian public holidays,current date and time.It is very urgent,please consider and me as soon as possible. ... View Questions/Answers

question  June 14, 2011 at 3:47 PM
i need a jsp code to download images from a folder in eclipse ... View Questions/Answers

Array in C  June 14, 2011 at 2:23 PM
Respected Sir, How can an array be an lvalue, if we can't assign to it? How can I set an array's size at run time? How can I avoid fixed-sized arrays? help me sir! ... View Questions/Answers

C Concepts  June 14, 2011 at 2:13 PM
respected sir, Can I use a void ** pointer as a parameter so that a function can accept a generic pointer by reference? I have a function extern int f(int *); which accepts a pointer to an int. How can I pass a constant by reference? A call like f... View Questions/Answers

Structs jar files  June 14, 2011 at 12:18 PM
please Post required jar files for structs. Thanks, L.Mahesh Kumar. ... View Questions/Answers

C Program  June 14, 2011 at 12:07 PM
Why doesn't the code int a = 1000, b = 1000; long int c = a * b; work? plz help me sir . ... View Questions/Answers

having problem with menu ans sub menu items css ...plz help!!  June 14, 2011 at 12:00 PM
PLZ help ...this is my html menu > <div id="content"> <div > class="navigation" id="nav"> > <div class="item user"> > <img src="images/bg_user.png" alt="" > width="199" height="199" > class="circle"/>... View Questions/Answers

Delhi tourism and agra tour  June 14, 2011 at 11:38 AM
Hi, I want more information on delhi visit and then the places to visit in Agra. Thanks ... View Questions/Answers

question  June 14, 2011 at 10:56 AM
good morning sir, i need a jsp code to download and up-load pictures from file,and also want to display four images in each row and need to represene name,upload and down load link under each images+jsp+eclipse.please send me fast. ... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

struts-config.xml  June 14, 2011 at 8:09 AM
i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error as the xml view cannot be opened using the css style type. The system can... View Questions/Answers

DMCA.com