Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

login and logout  June 20, 2011 at 11:14 PM
> > > > hi, > > I have created two pages, one is home.jsp and another is welcome.jsp. In my home.jsp code i > created a login form and after submitting with corresponding username and password i will be redirected to > > welco... View Questions/Answers

give me source code of webpage creation using html  June 20, 2011 at 10:33 PM
how to create a webpage using html ... View Questions/Answers

servlet  June 20, 2011 at 8:43 PM
how to interact with a servlet from a swing program ... View Questions/Answers

Advertisement

Holidays to Taj Mahal  June 20, 2011 at 6:11 PM
Hi, I am taking 1 week holiday and want to spend my holiday in India. I want to see the Taj Mahal and other sites near to Delhi. Can anyone tell me how to travel these places in my holidays? Thanks ... View Questions/Answers

Golden triangle tours  June 20, 2011 at 6:05 PM
Hi, Can anyone tell me something about Golden triangle tours? Thanks ... View Questions/Answers

Agra same day car rental  June 20, 2011 at 5:47 PM
Hi, I want to see the Taj Mahal but just wondering where to book car on rental for the same day trip to Taj Mahal? Thanks. ... View Questions/Answers

question  June 20, 2011 at 5:47 PM
i need a code to get current time only in jsp or mysql.i don't need date with time,need current time only ... View Questions/Answers

long url to short url for jsp or servlet  June 20, 2011 at 5:42 PM
I have to convert a url "http://localhost:8080/Popup/popup?phone=111111111". I am unable to do the same. Please any help. ... View Questions/Answers

Login form in jscript  June 20, 2011 at 5:40 PM
For example the html script is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" c... View Questions/Answers

Using java script do login form having fields with condition.  June 20, 2011 at 5:26 PM
Need a login form with username, password, phone no, email id, date fields. We should specify the conditions for each field and if we press the submit button conditions of each field should appear. ex :*First name cannot be empty Last Name cannot be empty Email id cannot be empty<... View Questions/Answers

question  June 20, 2011 at 4:42 PM
how to get system current time only in jsp. i don,t need date with time,need time only ... View Questions/Answers

Agra and Taj Mahal India  June 20, 2011 at 4:12 PM
Hi, I am visiting Agra to see Taj Mahal in next few days. Can anyone give me complete information about Agra and Taj Mahal India? Thanks ... View Questions/Answers

question  June 20, 2011 at 3:55 PM
i used the following code to disable browser back page javascript:window.history.forward(1); but not worked .please give the correct code to disable back page using jsp or javascript ... View Questions/Answers

j2me timer and timer task  June 20, 2011 at 2:56 PM
have anyone idea to change a direction of bubble, according to changing time. ... View Questions/Answers

What is in agra india  June 20, 2011 at 2:35 PM
Hi, What is in agra India? What all things I can see in Agra? Can anyone tell me the list of places to see in Agra? Thanks ... View Questions/Answers

question  June 20, 2011 at 1:57 PM
i need a simple javascript or jsp code to send message from one mail to another mail ... View Questions/Answers

question  June 20, 2011 at 1:55 PM
i need a simple javascript or jsp code to send message from one mail to another mail ... View Questions/Answers

question  June 20, 2011 at 1:49 PM
good afternoon sir, i have a project in jsp which contains attendance marking.i could mark present successfully but i want to list absentees.i need a jsp code to insert absent,half day leave in to data base while user mark attendance after a fixed time.using jsp and mysql. ... View Questions/Answers

HttpURLConnection problem  June 20, 2011 at 1:45 PM
Hello, I want to send data to server using post request method for that used httpurlcon.setDoOutout(true) httpurlcon.setRequestMethod("POST") but iam getting an exception java.lang.IllegalStateException: Already connected can any one please assist me ... View Questions/Answers

hibernate joins  June 20, 2011 at 1:03 PM
how to fetch the data from multiple tables in mysql using HQL. Give me one example using joins? ... View Questions/Answers

Timer and TimerTask  June 20, 2011 at 11:53 AM
i have problem of java.lang.IllegalStateException: Task already scheduled or cancelled ... View Questions/Answers

hibernate annotations  June 20, 2011 at 11:21 AM
I am facing following problem, I have created 2 tables (student and address) with foreign key in address table. I am using hibernate annotations to insert records into these tables. But it is trying to insert records into 'student_tbl_address_tbl' which is not creat... View Questions/Answers

strings 20june  June 20, 2011 at 11:01 AM
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()); String s2 = "Hello"; String s3... View Questions/Answers

hibernate annotations example for mappings  June 20, 2011 at 10:40 AM
Please send me example of hibernate annotations for mappings.Please send the example ... View Questions/Answers

webservice  June 20, 2011 at 10:04 AM
Hi Can anyone help me how to develop a web service which returns the response of another web service if it is present if not it has to wait for the response and return it. ... View Questions/Answers

question  June 20, 2011 at 9:52 AM
i need a jsp and mysql program to display all employees on leave ... View Questions/Answers

Running core java program  June 20, 2011 at 8:53 AM
I am jayesh raval. I am going to make simplae program and at the time of runnint that program I found class not found exception. I have clear source of that program and that is right in the syntax. so give me related answer. Thank You. ... View Questions/Answers

simple webdesign program with coding  June 20, 2011 at 8:33 AM
how to design a webpage using html ... View Questions/Answers

What is latitude and longitude of delhi india  June 20, 2011 at 7:46 AM
Hi, There are many cities in world named Delhi. But what is latitude and longitude of delhi India? Tanks ... View Questions/Answers

Asynchronous webservice  June 19, 2011 at 10:47 PM
Hi Can anyone help me in creating sample asynchronous webservice. Thanks in advance ... View Questions/Answers

hi  June 19, 2011 at 9:49 PM
ANY SUGGESSION FOR THIS ERROR javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.struts.taglib.html.FormTag org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850) org.apache.jasper.runtime.PageCo... View Questions/Answers

Arrays  June 19, 2011 at 9:18 PM
Write a program in java(BlueJ) to store the numbers in single dimensional array(S.D.A)into another S.D.A in reverse order of the location ... View Questions/Answers

What is Latitude and Longitude of Delhi  June 19, 2011 at 7:24 PM
Hi, I am writing GPS tracking application. I have to feel in the latitude and longitude data of few places. Can any one tell me What is Latitude and Longitude of Delhi? Thanks ... View Questions/Answers

Where is servlet log file in net beans?  June 19, 2011 at 6:03 PM
When you use context.log("some string"); then the string get written into the servlet log file. But where is the servlet log file in netbeans? I am using netbeans 6.9. I can't locate the servlet log file. ... View Questions/Answers

create dictionary in java  June 19, 2011 at 3:08 PM
Hi, dear : How can create simple dictionary in java .. by using Applet or any other way like GUI (basic), please write Comment on the line that difficult to learning it .think u so much . ... View Questions/Answers

how to establish connection b/w java app and mobile phone  June 19, 2011 at 1:58 PM
hello, my name is Dhanraj. i'm doing a project in my college. In that project we need to send SMS from our phone to a java application situated on a remote server and also receive response form the server. We are struck with the connection part i.e.., we don't know how to send and receive SMS t... View Questions/Answers

question  June 19, 2011 at 10:07 AM
i need a jsp program to list all employees on leave +mysql ... View Questions/Answers

strings in java(18 june ,2011)  June 18, 2011 at 11:10 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()); String s2 = "Hello"; <... View Questions/Answers

strings in java(18 june ,2011)  June 18, 2011 at 11:10 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()); String s2 = "Hello"; <... View Questions/Answers

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

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

DMCA.com