Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

hi  September 2, 2015 at 7:58 AM
how to pass the values of checkboxs from one page to another page in html ... View Questions/Answers

Student  September 2, 2015 at 7:14 AM
Sir i want display data for dropdownlistbox from database and selected value from dropdownlistbox matched value display from database in table..(using ajax) and each row have edit and delete buttton,i click edit perticular row data load to textbox ,i edit and save.then click delete particular r... View Questions/Answers

Hibernate Session Attribute  September 1, 2015 at 2:33 AM
How can I get sub-string/int value from session.getAttribute("String"); ? I am trying to get it and my code is- Integer userCreate = (Integer) session.getAttribute ("USERID"); But this is not working to me. Please help me in this regard. Thank you. ... View Questions/Answers

Advertisement

java  August 25, 2015 at 1:04 AM
i want all the employee details working in a company having properties name,age,designation,salary using inheritance concept i should get details by typing naming using java ... View Questions/Answers

How to use contentType Attribute in JSP?  August 11, 2015 at 6:21 AM
Hi, I am learning JSP and now trying to use the contentType Attribute in JSP. tell me how to use the contentType Attribute in JSP? Thanks ... View Questions/Answers

How to connect to MySQL in JSP?  August 11, 2015 at 6:11 AM
How to connect to MySQL in JSP? Share the code example with complete project source code. Thanks ... View Questions/Answers

JSP Comment Types with example  August 11, 2015 at 5:54 AM
Hi, Please explains me about the different types of comments in JSP and how use each of these comment types? Thanks ... View Questions/Answers

How to use ajax in jsp?  August 11, 2015 at 5:47 AM
Hi, How i can access the server-side data in JSP using the Ajax? Thanks ... View Questions/Answers

How to access the database from JSP?  August 11, 2015 at 5:31 AM
Hi, What is the process of accessing the database from JSP page? Thanks ... View Questions/Answers

How can I dynamically load user-entered data as content of jquery dialog?  August 8, 2015 at 11:13 PM
Hi I can't seem to work my javascript. I cannot seem to figure out whatelse I am missing. Kindly guide me how to solve my project please. I cannot make the value of user-entered name to show in the dialog content. I am also trying to echo this from a php file where my form is validated. Below is ... View Questions/Answers

java login form using netbeans  August 5, 2015 at 6:41 AM
how to connect an access database to a login form using netbeans ... View Questions/Answers

How to retrieve kernal memory details(paged and non-paged ) using SIGAR API in java program  July 28, 2015 at 12:27 AM
I need to get all memory details of task manager(OS) in a java program. Physical memory details, kernal memory details and Handles and Thread details. For this I searched a lot on google and got some post related to this (Getting memory details. But in that posts people discussed about only physi... View Questions/Answers

java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean  July 25, 2015 at 11:08 AM
HI, In my one of the application following error is coming: SEVERE: Allocate exception for servlet dispatcher java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean at org.apache.catalina.loader.Webapp... View Questions/Answers

nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource  July 25, 2015 at 11:00 AM
Hi, I am getting the following error while starting a web application: nested exception is java.lang.ClassNotFoundException: org.springframework.jdbc.datasource.DriverManagerDataSource How to resolve the error? Thanks ... View Questions/Answers

GoogleJsonResponseException code: 400 : The request metadata specifies an invali d video description.  July 23, 2015 at 8:50 AM
Hi, I have made a Java program to upload the video on youtube but it is giving following error: Initiation Started Initiation Completed GoogleJsonResponseException code: 400 : The request metadata specifies an invali d video description. com.google.api.client... View Questions/Answers

Arrays  July 21, 2015 at 1:08 PM
I'm new to java and I need help completing the question below. If anyone could help me with a simpler solution of this question. I tried to provide a working solution but I got stuck at number #10. 1.Create a new file called Rebel.java; 2.Create two arrays. One of them must store ... View Questions/Answers

How to check if a pid is alive?  July 18, 2015 at 2:08 AM
Hi, I have a process which is running in background and I want a simple command to find if the process id still running? How to check if a pid is alive? Thanks ... View Questions/Answers

java webcam integration  July 7, 2015 at 12:51 PM
Hi Folks, We need some pointers on how to implement webcam integration with our java based application. Our objective is to capture picture and record video through webcame from JSP page. Then save the image/video in to the database/file server. Please help. regards Srinivas ... View Questions/Answers

Unable the get SubFolder Direcotry in Java?:-  June 26, 2015 at 3:34 AM
Unable the get SubFolder Direcotry in Java?:- try { String st1 = "C:\TestFolder; // Main Folder URL File folder = new File(st1); File[] listOfFiles = folder.listFiles(); for (File listOfFile : listOfFiles) { if (listOfFile.isFile()) { } else if (listOfFile.isDirectory()) { } } File[] file... View Questions/Answers

project  June 19, 2015 at 3:59 AM
how to create core java code for trend analysis calculator? ... View Questions/Answers

Maven jars  June 17, 2015 at 11:59 PM
How to update jars using maven.provide required code/commands and steps to get jars updates ... View Questions/Answers

How to add Apache Commons IO in pom.xml file?  June 5, 2015 at 12:53 AM
Hi, How to add the dependency of the Apache Commons IO library in the pom.xml file in a Java project? My Project is using the maven for dependency management and compilation of the code. Thanks ... View Questions/Answers

Example of Getting request URL in a servlet  June 4, 2015 at 11:25 AM
One servlet can be configured to handle a set of requests. So, in Servlet you have to get the URL of the page accessed. How you can get the URL of the page accessed in the Servlet? Thanks ... View Questions/Answers

ASP .Net Upload Video on youtube  June 2, 2015 at 7:59 AM
Hi, I Naushad Ansari trying to upload video on youtube using my asp .net web application. I have read the documentation of youtube and I have created the application also but I am not getting that that how can i use that.. Please help me to do this. Thanks and Regards Naushad Ansa... View Questions/Answers

java.lang.NoClassDefFoundError: org/springframework/data/neo4j/annotation/QueryType  May 30, 2015 at 3:58 AM
Hi, In one of the spring data and neo4j based project it is throwing following exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Initialization of be... View Questions/Answers

Neo4j - How to to remove all data from neo4j?  May 20, 2015 at 3:46 AM
Hi, I am learning neo4j. I have created few nodes and links. Now I want to delete all of them. How to delete all nodes, links and properties from a Neo4j database? Thanks ... View Questions/Answers

java.lang.OutOfMemoryError: Java heap space  May 18, 2015 at 6:51 AM
Hi, In one of my application following error is coming: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space How to resolve this issue? Thanks ... View Questions/Answers

java with Oracle Database  May 18, 2015 at 12:33 AM
Hello I have been encountering a problem regarding creating a table with Oracle.When i am creating new table in the Database using Oracle , it is giving error saying an errror occured incursive sql on line 1.So please give appropriate advie and the solution thanks Ramayya ... View Questions/Answers

Change JPanel background color from mouse entered/exit event  May 8, 2015 at 4:37 PM
I have a JPanel with a grid layout and I populated it with anonymous JPanels to it be like tiles on a game board. I added a mouse entered event to all the added JPanels to see if I could make it work as a test to just System.out.println("test"); and I got it to work that way but I couldn't get th... View Questions/Answers

MYSQL - mysql copy table to another table example by creating new table  May 7, 2015 at 12:30 PM
Hi, I have a table with many fields and hue data is in it. I want to create a new table with all the data from this table. How to create a new table and select all the data into this new table? Thanks ... View Questions/Answers

Linked Lists in C  April 28, 2015 at 10:04 AM
Hi all, I have a project to be implemented in C and I can't find a solution, I'm new in the programming world, so i require your help. Thank you in advance. Write a C program for managing car parts store. The treatment is done in a linked list. The application works on the command line ... View Questions/Answers

Unmarshalling Jaxb  April 28, 2015 at 7:43 AM
How to unmarshal very large xml to java objects usin jaxb/sax parser? ... View Questions/Answers

Java Arrays  April 27, 2015 at 1:57 AM
import java.util.ArrayList; public class try3{ public static void reduce(int[]arr, int len){ for (int i= 0; i<len;i++) { arr[i]--; } len--; } public static void main (String[]args){ int [] counts ={3,2,1,0}; int len = 2; reduce(counts,... View Questions/Answers

face detection and face recognition  April 20, 2015 at 7:29 PM
hi,i will create a project detection and recognition of face in java , i create the face detection using opne-cv but i can't create the face reconition can you help me please thanks i will send the part of face detection if you want help me please ... View Questions/Answers

[NSConcreteMutableData release]: message sent to deallocated instance  April 16, 2015 at 11:40 PM
Hi, My application is throwing following error: [NSConcreteMutableData release]: message sent to deallocated instance How to solve this? Thanks ... View Questions/Answers

question  April 16, 2015 at 10:22 PM
I need a code to hide all tab contents in the beginning and show only while click on a link .Please help me fast Thank you ... View Questions/Answers

Java tutorial is not available  April 8, 2015 at 2:43 AM
Hi, I'm unable to access core java tutorial. Please help. http://www.roseindia.net/javajdktutorials/ ... View Questions/Answers

Covert Bool to String - NSString  April 8, 2015 at 1:58 AM
HI, I was trying to cornet the BOOL value to NSString using following code: BOOL test = TRUE; NSString *strTest = [NSString stringWithFormat:@"%@",test]; But it is giving the runtime exception. How to resolve this issue? Tha... View Questions/Answers

Getting UIButton by Tag  April 6, 2015 at 4:57 AM
Example code for getting the UIButton by id. ... View Questions/Answers

java coding  April 4, 2015 at 11:23 PM
i have source code for my project virtual classroom. i need a little guidance to run that code..do help me out!! ... View Questions/Answers

How to make Struts Hibernate and Spring Based Login/Registration Application?  April 3, 2015 at 6:52 AM
Hi, I am trying to find the tutorial of making the website in Hibernate. Is there any code for to make Struts Hibernate and Spring Based Login/Registration Application. Thanks ... View Questions/Answers

What is the use of Hibernate Native SQL?  April 3, 2015 at 6:45 AM
What is the use of Hibernate Native SQL? How it is useful in database access programming using the Hibernate framework? Thanks ... View Questions/Answers

What is the use of Hibernate is used?  April 3, 2015 at 6:41 AM
Hi, What is the use of the Hibernate framework? Thanks ... View Questions/Answers

How to integrate Struts and Hibernate in an application?  April 3, 2015 at 6:16 AM
Hi, I am aware of both Struts and Hibernate framework. So, let's know how to integrate these two frameworks? Good example code will help me a lot. Thanks ... View Questions/Answers

How to create the program in Java for getting the forgotten Password Form?  April 3, 2015 at 6:12 AM
Hi, Our enterprise application requires the development of a form in which user will fill the login name and then the application will send the password to the user on email address. How to create the program in Java for getting the forgotten Password Form? Thanks ... View Questions/Answers

How to write create JPA Many-to-Many Relationship in Java?  April 3, 2015 at 6:08 AM
In an project there is requirement to make the many to many relationship between the tables. how to achieve the many to many relationship in JPA project? Thanks ... View Questions/Answers

What is the DAO Layer in any application?  April 3, 2015 at 6:03 AM
Hi, What is the use of the DAO layer in any application and how to develop it. Explain with the example code. Thanks ... View Questions/Answers

What is Spring Struts Hibernate DAO Layer?  April 3, 2015 at 5:59 AM
Hi, explain me the difference in between Spring Struts Hibernate DAO Layer? Thanks ... View Questions/Answers

How to write Example code for CRUD application in hibernate annotation?  April 3, 2015 at 5:57 AM
Learn Hibernate can be easy if anyone help me with the simple example code. How to write Example code for CRUD application in hibernate annotation? Share me the running code. Thanks ... View Questions/Answers

Where to update the Hibernate tools?  April 3, 2015 at 5:49 AM
Hi, What is the url to to update the hibernate tool in eclipse? Thanks ... View Questions/Answers

How to write Example code for comparing Strings in iPhone SDK?  April 1, 2015 at 4:25 AM
I have an object of NSString class and I want to compare it with another NSString object. How to compare NSString object with another NSSTring object? Thanks ... View Questions/Answers

What is the use of MySQL, MS SQL in Web Hosting paradigm?  April 1, 2015 at 3:58 AM
I am trying to learn the web hosting concept. There many terms about the web hosting. For now I want to learn the things about MySQL, MS SQL in Web hosting. What is the use of MySQL, MS SQL in Web Hosting paradigm? Thanks ... View Questions/Answers

What do you understand by Domain Parking?  April 1, 2015 at 3:52 AM
What is the domain parking concept in the web hosting? How to part a domain? What is Domain Parking? Which hosting companies are providing the domain parking services? Thanks ... View Questions/Answers

What is difference between UNIX Hosting and Window Hosting?  April 1, 2015 at 3:42 AM
Which host to select? Unix or Windows or Linux? I want more information about these hosting technologies. Before selecting any dedicated hosting server I just wanted to learn about these technologies. What is difference between UNIX Hosting and Window Hosting? Thanks in ad... View Questions/Answers

What do you understand by the are PHP, ASP and Perl languages?  April 1, 2015 at 3:34 AM
Tell me about PHP, ASP and Perl languages as web hosting guys are asking about these technologies while selecting the hosting package. Thanks ... View Questions/Answers

Expalin the Web Hosting Bandwidth/Space/Transfer  April 1, 2015 at 3:29 AM
Trying to find the basics of the web hosting. I want to know about the Bandwidth, space and the data transfer terms. Explain me all these concepts. Thanks ... View Questions/Answers

What do you understand by Virtual Hosting?  April 1, 2015 at 3:25 AM
What do you understand by Virtual Hosting? I am trying to find the hosting server provider but don't know about the hosting terms. Just explain me about Virtual Hosting. Thanks ... View Questions/Answers

How to Upload Site Online?  April 1, 2015 at 3:20 AM
After designing and developing your website the next job is to upload the website online. For this a hosting space needs to be purchased from the website hosting provider. I have hosting account but I don't know which program to use for uploading the website. Tell me which program is free... View Questions/Answers

How to register domain name for my Company?  April 1, 2015 at 3:15 AM
Hi, Where and How to register domain name for my Company? Thanks ... View Questions/Answers

How to track how many hits my website gets?  April 1, 2015 at 3:05 AM
Hi, Tracking a website traffic is very important. Many article on the internet is tell about tracking the website traffic. Tell me How to track how many hits my website gets? Thanks ... View Questions/Answers

What is domain name and how to get it?  April 1, 2015 at 3:01 AM
Hi, I am am searching for the information about the domain name. How to get a domain name for my company? I want some information about the domains? Thanks ... View Questions/Answers

How to split string in Java using comma?  April 1, 2015 at 2:01 AM
Hi, Share the example code for splitting the string in Java using comma as separator. Thanks ... View Questions/Answers

Java Beginners  March 31, 2015 at 4:06 AM
What is Java programming Language? Learn the Java programming Language at Java programming tutorials section, thanks ... View Questions/Answers

What is the latest version of Java?  March 31, 2015 at 2:37 AM
Hi, What is the latest version of java as of now? Thanks ... View Questions/Answers

What is the latest version of Java?  March 31, 2015 at 2:37 AM
Hi, What is the latest version of java as of now? Thanks ... View Questions/Answers

jtabbedpane  March 30, 2015 at 9:13 AM
how to open the jframe when click tab in jtabbedpane ... View Questions/Answers

change navbar dropdown color in bootstrap  March 27, 2015 at 9:47 AM
How to change the color of navbar dropdown color in a bootstrap based menu in a website? Thanks ... View Questions/Answers

How to remove the background color of bootstrap menu bar?  March 27, 2015 at 9:43 AM
Hi, What css can be used to remove the color of bootstrap menu bar? thanks ... View Questions/Answers

How to change color of opened Bootstrap drop down toggle?  March 27, 2015 at 9:38 AM
HI, On click of the item in the bootstrap based menu a toggle drop down appears. How to change the color of the same? Thanks ... View Questions/Answers

hjvjhHVH  March 27, 2015 at 3:53 AM
jbjk ... View Questions/Answers

Jquery  March 27, 2015 at 3:53 AM
I am new to Jquery. Can anyone please tell me how to use jquery plugins in html? ... View Questions/Answers

Setting bootstrap container background color  March 26, 2015 at 4:46 AM
How to set the background color of the container in bootstrap for a web page? Thanks ... View Questions/Answers

java  March 25, 2015 at 2:17 AM
java script ... View Questions/Answers

How to set placeholder in uitextfield programmatically?  March 22, 2015 at 11:29 AM
Can any one tell me about the example code for setting the placeholder in a UITextField programatically? Thanks ... View Questions/Answers

Example code of adding placeholder in UItextFeild  March 22, 2015 at 11:22 AM
Ho to add add the placeholder text in UITextField in IOS program programmatically? Thanks ... View Questions/Answers

Fix Scrollbar position in a checkboxList after postback  March 19, 2015 at 5:02 AM
Hi, I have a CheckBoxList in which have lot of items and i set AutoPostBack="True".I am using Scrollbar on this list.Now when I am checking any item then after postback scroll position is going to top.I want to focus that checkbox which i have ch... View Questions/Answers

solution for mapping hibernate and pojos from net beans through database  March 16, 2015 at 2:49 PM
hii I am currently using netbeans 8.0.2 have created small standalone application Employee . i am using hibernate to connect to database which i have created in sql server 2008 name Clients. First i create Hibernate.cfg.xml In these file change Properties of Configuration... View Questions/Answers

java  March 15, 2015 at 3:40 AM
I am working on paypal integration with java web site,i downloaded paypal rest api and started running the application i am getting exception is "cannot response already commited response. how we can solve this probleme. ... View Questions/Answers

Information Save Alert  March 12, 2015 at 9:38 AM
Hi, Sir I am creating a web page there user can edit their information. I want a javascript that can show an alert message when user edit the information and trying to close or go to another page without saving the info. please help me to do it. Regards Naushad Ansari ... View Questions/Answers

program explination  March 12, 2015 at 5:54 AM
import java.io.*; import java.lang.*; public class alpha { public static void main(String ar[]) throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int a=Integer.parseInt(br.readLine()); String[] str=new Strin... View Questions/Answers

create plugins to detect suspicious ajax  March 11, 2015 at 2:51 PM
I want to make browser extension for Firefox that detect the ajax code of of website that load the hidden page and redirect to new page ,like if user visit index.php where ajax load the two pages one is hiddenpage.php and redirect to new.php . Is there any other solution to detect this ajax at cl... View Questions/Answers

output variable  March 11, 2015 at 1:03 AM
if i want to print output of three variables when i wrote the code e.g SYStem.out.PRINTln(answer + answer1 + answer 2) only output of answer is getting printed out? can you help on this ... View Questions/Answers

Record and Save Video using Java  March 9, 2015 at 6:50 AM
How to record video(webcam) and save it using Java.?? Its really urgent....!! ... View Questions/Answers

about search engine  March 5, 2015 at 2:39 AM
Hi i am novice in jsp. i am developing web site in that i want to search product by its name and display it by its image with description,so want some help. Thank you.. ... View Questions/Answers

how to get UIView by tag  March 4, 2015 at 7:21 AM
In IOS application how to get a view by the tag id? Thanks ... View Questions/Answers

How to get the Day name  March 4, 2015 at 5:03 AM
Hi, I am a beginner in Java and new to this web world as well. have a requirement to implement in my assignment project as below: We need to add the days in input date such that it create the date of upcoming Monday. expample 1: If DateString = 17/02/2015 (Tuesday) then Ou... View Questions/Answers

writing characters  March 4, 2015 at 1:24 AM
how to write a group of characters to a string ... i mean for writing single character using charAt in java ... View Questions/Answers

Date, Dy and Calender  March 3, 2015 at 10:55 AM
Hi, I am a beginner in Java and new to this web world as well. have a requirement to implement in my assignment project as below: We need to add the days in input date such that it create the date of upcoming Monday. expample 1: If DateString = 17/02/2015 (Tuesday) then Ou... View Questions/Answers

searching the string in a paragraph?  March 3, 2015 at 8:53 AM
how to search a string in a paragraph and display the corresponding line number and position of a string in java? ... View Questions/Answers

JTable Pagination  March 3, 2015 at 4:23 AM
Hello , I have the following Code. I am able to fetch the Data from the Database. But i need to implement pagination for the same. Can someone please help me out with this ? I have tried out many things from the internet.. but i can't really understand what i should be doing . CODE :... View Questions/Answers

Recommendation engine code  March 2, 2015 at 5:43 AM
recommendation engine code in java ... View Questions/Answers

Recommendation engine code  March 2, 2015 at 5:43 AM
recommendation engine code in java ... View Questions/Answers

objects  February 27, 2015 at 10:54 AM
What's the difference between the c++ object and the java object ... View Questions/Answers

Failed to Call Procedure  February 27, 2015 at 3:31 AM
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sum(case when c.result = '1' then 1 else 0 end ) as Pass_total, sum(case when c' at line 1 ... View Questions/Answers

Selenium webdriver - Getting Xpath for element in IE  February 26, 2015 at 5:25 AM
How to get Xpath for element in IE? ... View Questions/Answers

Selenium webdriver - Getting Xpath for element in IE  February 26, 2015 at 5:25 AM
How to get Xpath for element in IE? ... View Questions/Answers

Delete multiple records with pagination by selecting checkboxes  February 24, 2015 at 10:32 PM
Hi there,I'm working with PHP.I want to delete my database records which is displayed using pagination by selecting check boxes.But I'm able to delete only records each page wise.I want to check all the desired records from all the pages and then delete it.Can any one please help me.Also i want t... View Questions/Answers

C++  February 24, 2015 at 6:20 AM
Hi I do not understand the question stated below. Does anyone know what does it mean so I can kick start with it? The program has two array of character. One of them has size 26 and is initialized with the alphabet a to z. A random number generator generates two numbers and these two numb... View Questions/Answers

J2me image use ase smiley  February 24, 2015 at 1:49 AM
Hi , i am developing chat application in j2me i am success full in my work but one thing that i have not find smiley option i do search but cant find please help me to give me code that will add smileys in my chat , means enter a code in textbox and that will replace by image please help me thank... View Questions/Answers

approve or reject multiple selected rows using check box  February 17, 2015 at 11:44 PM
Select Article Document Type Document Sub Type Submitted Date Submitted By ... View Questions/Answers

DMCA.com