Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

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

C Language  June 14, 2011 at 6:28 AM
Respected Sir, How can I determine the byte offset of a field within a structure? How can I access structure fields by name at run time? please help me sir . Thank you sir !!! ... View Questions/Answers

C Language  June 14, 2011 at 6:10 AM
Respected sir, Why does sizeof report a larger size than I expect for a structure type, as if there were padding at the end? help me sir . ... View Questions/Answers

C Structure  June 14, 2011 at 6:05 AM
Respected sir, Can a structure in C contain a pointer to itself ? if yes means how sir ? plz help me sir . ... View Questions/Answers

error in struts-config.xml  June 13, 2011 at 6:37 PM
i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http://struts.apache.org/dtds/struts-config13... how to resolve it.give me a solutio... View Questions/Answers

error in struts-config.xml  June 13, 2011 at 6:37 PM
i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http://struts.apache.org/dtds/struts-config13... how to resolve it.give me a solutio... View Questions/Answers

error in struts-config.xml  June 13, 2011 at 6:37 PM
i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http://struts.apache.org/dtds/struts-config13... how to resolve it.give me a solutio... View Questions/Answers

error in struts-config.xml  June 13, 2011 at 6:37 PM
i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http://struts.apache.org/dtds/struts-config13... how to resolve it.give me a solutio... View Questions/Answers

error in struts-config.xml  June 13, 2011 at 6:37 PM
i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http://struts.apache.org/dtds/struts-config13... how to resolve it.give me a solutio... View Questions/Answers

error in struts-config.xml  June 13, 2011 at 6:37 PM
i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http://struts.apache.org/dtds/struts-config13... how to resolve it.give me a solutio... View Questions/Answers

prograames  June 13, 2011 at 5:10 PM
write a program to find the frequency of each character in a string? ... View Questions/Answers

null pointer  June 13, 2011 at 4:14 PM
dear sir , what is mean by null pointer in c ? ... View Questions/Answers

C Language  June 13, 2011 at 4:00 PM
What's the right declaration for main()? Is void main() correct? in C language ? please help me sir ! Thank You ! ... View Questions/Answers

How can i modify my account in roseindia  June 13, 2011 at 3:18 PM
Presently am not using my gmail id. I have to modify my roseindia account. Please send the answer to following mail id. ... View Questions/Answers

disabling the browser's back button  June 13, 2011 at 3:12 PM
I have following requirement, After submitting the form, user should not navigate to the previous page. I have tried with onbeforeunload(), but it is not working properly. Please help me in resolving this problem. I will wait for ur answer. ... View Questions/Answers

composinte primary key in hibernate  June 13, 2011 at 3:04 PM
I am facing following problem, Inside the database(mssql), i have created a table without primary key. After doing hibernate reverse engineering, by default it has taken composite primary key with all the columns of the table and hibernate s/w has created two p... View Questions/Answers

System  June 13, 2011 at 2:00 PM
What is System in System.out.println() method? Is it a Class or a Package ... View Questions/Answers

Two forms and One Servlet  June 13, 2011 at 1:24 PM
Dear Sir, I have 2 forms in one page and one submit button into second form which submits data to one servlet. If I do request.getparameter("") from first form textbox name I got null value. How do I get both forms textbox value. Thanks in advance. ... View Questions/Answers

Reading from remote files using PHP,Ubuntu and Windows machine.  June 13, 2011 at 12:52 PM
Hi, Great work you doing here and I totally love the look and feel of the new site. I have a php question. Am working on a script that is suppose to read from a csv file which is located on another pc but with the same network. The script will run on Ubuntu and I have tested the ... View Questions/Answers

Why spring?  June 13, 2011 at 12:11 PM
Why do we need to learn Spring? and where can we use it thanks ... View Questions/Answers

Hibernate  June 13, 2011 at 11:11 AM
how to use pagination concept in Hibernate? ... View Questions/Answers

what is wrong with my JSP codes for updating a form?  June 13, 2011 at 10:38 AM
Hi experts, I have tried to emulate a code from a textbook but it doesn't work in my program. Hope someone can advise me where I had gone wrong. Tks. I've set up my database as follows:- ID - autoincrement and it's INT. NRIC No - String. Name - String.... View Questions/Answers

Disabling the back button in all the browsers  June 13, 2011 at 10:27 AM
I have a requirement like this, I have to disable back button of all the browsers(It should support all the browsers). Can u plz help me. ... View Questions/Answers

Please help need quick!!! Thanks  June 13, 2011 at 6:43 AM
hey i keep getting stupid compile errors and don't understand why. i'm supposed to use abstract to test a boat race simulation program of sorts here is my code: RentforthBoatRace.java public abstract class RentforthBoatRace { public abstract double getSu... View Questions/Answers

DMCA.com