Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

How to disable cut, copy, paste, rename, etc from the Windows Registry ?  January 21, 2012 at 10:23 PM
Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc. Cut, copy, paste, rename, delete, open, print, share, create shortcut, open with, send to, properties. I want to give users the option of disabling them selectively... View Questions/Answers

java  January 21, 2012 at 9:23 PM
explain technologies are used in java now days and structure java. ... View Questions/Answers

java array sorting manual way  January 21, 2012 at 8:32 PM
Hi, Anyone has any sample code on how to sort a array manually without using the inbuild sorting algorithm? Thanks ... View Questions/Answers

Advertisement

Validation doubt  January 21, 2012 at 7:45 PM
hi..... thanks for the other validation code. I have got that and implemented in my code but i have a doubt in that. As we try to put string values its not allowing to do tht it gives us message its right but by mistake i have entered a wrong numerical value in the textbox then i... View Questions/Answers

import package.subpackage.* does not work  January 21, 2012 at 7:28 PM
I have 3 class files. A.java B.java C.java Below is the code block A.java:- package com.test; public class A { public void funA() { System.out.println("funA"); } } B.java:- package com.test; public class ... View Questions/Answers

retrieve kv pairs using hashmap  January 21, 2012 at 7:20 PM
i want to retrieve k,v-pairs from a hashmap. the entrys are like this: a = 3,4 b = 5,6 and so on. i need combinations of these values. a=3, b=5. a=3, b=6. a=4, b=5. a=4, b=6. I don't know how many keys and how many entrys the values have. with entryset i can get ... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

Advance Search in Servlet  January 21, 2012 at 7:14 PM
Sir, I have built an application where a user types a long string as input. Then after he/she types a single word of that string. I'm supposed to show all strings which have that word in them. Ex. the string typed in is "With regards to the correction in pay" later on in the search module the use... View Questions/Answers

ERIYANA ARIS  January 21, 2012 at 5:00 PM
write a java complete program to calculate to number of each vowel characters in a string given by user.Each vowel character should be representing using lower case latter. example ; ERIYANA ARIS ... View Questions/Answers

Session  January 21, 2012 at 3:22 PM
why do we need session? actually what stored in a session? also with a small example? ... View Questions/Answers

Multiplication of two polynomials using linked list in java  January 21, 2012 at 2:18 PM
I am doing a program "Multiplication of two polynomials using linked list in java" for our curriculum, can you please help me in this. Rajesh ... View Questions/Answers

java  January 21, 2012 at 12:54 PM
java script using add values in spring with hipernet progrme? ... View Questions/Answers

Passing a 2 Dimentional Array From one Jsp to Another Jsp file and Retreving it  January 21, 2012 at 11:44 AM
Hi I have a 2 dimensional integer array declared and values are dynamically stored into it in one jsp file .I passed this array into another Jsp File and when i tried to retrieve the data in the 2 Dimensional array it is raising a Null Pointer Exception.I am attaching the sample code . Please he... View Questions/Answers

interface  January 21, 2012 at 11:04 AM
What is the exact use of interface in real time scenario? some people says that interface provides multiple inheritance. Is it true? In such a case how can we say that java doesn't supports multiple inheritance ... View Questions/Answers

while Append need a new line for column and row  January 21, 2012 at 10:32 AM
HI While using append in javascript for retreiving the rows and its column header, its retreiving but after column header i need new line but it is not coming. Thanks in advance Prasath. B ... View Questions/Answers

Dependant & dynamic drop down list  January 21, 2012 at 1:45 AM
I don't know this should be in this or AJAX forum. I have one dynamic drop down list from data base (working fine) Use can select random entries from this table & hit "RETRIEVE" On the bottom of the page I should get result set from other table depending on the values select... View Questions/Answers

cpu usage spike for javaw.exe  January 21, 2012 at 12:34 AM
I have made a software/project as major project for college which involves 7 class files(.class) 122 Images and 1 Database(Microsoft Access 2007).It is a bulky project which do lot of things and continually access database.I have wrapped all .class files into a jar file to make it runnable by dou... View Questions/Answers

billing frame  January 20, 2012 at 6:05 PM
how to generate billing frame using swing which contain sr. no, name of product, quantity, price & total ... View Questions/Answers

StringTokenizer not returning proper result  January 20, 2012 at 5:22 PM
I have this code... System.out.print("Enter the stack integers side by side with a space in between: "); StringTokenizer st=new StringTokenizer(br.readLine()); int a[]=new int[9000]; int i=0; do { a[i]=Integer.parseInt(st.nextToken()); i++; }while(st.hasMo... View Questions/Answers

Sending images through java mail  January 20, 2012 at 4:26 PM
Am trying to develop greeting application that having images..... in one jsp page i displayed all images and by clicking one image the control go to mail sending page in that the image should add to body part and the mail will sent to recipients..... please give me any idea.......... ... View Questions/Answers

Hiding form values using ajax  January 20, 2012 at 3:59 PM
i am trying to show and hide form values with ajax but it's not working,but in javascript it is working.Can anyone will help me to the work in ajax please. Thanks in advance. ... View Questions/Answers

Please Provide the direct Downloadable source code for better understanding  January 20, 2012 at 3:27 PM
Hello Roseindia Team, This is Mohammed Vaseem. Am very much impressed after having rich content in your website. *Your way of explanation is very clear.* As am a fresher, it is difficult for me to implement the code practically. <... View Questions/Answers

java  January 20, 2012 at 2:23 PM
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } ... View Questions/Answers

java Toolkit  January 20, 2012 at 1:58 PM
how to set jframe form screen size any resolutions fit to full screen? ... View Questions/Answers

java  January 20, 2012 at 1:53 PM
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } ... View Questions/Answers

Retrieval column details into respective JComboboxs  January 20, 2012 at 1:26 PM
Hello sir, As of now i created program in the Eclipse the GUI window .I had creaated the GUI window & also i had created the table in MSSQL the differet columns like PNAME,PID,DEPNAME,DOCNAME.SEX,BDATE.i had created the comboboxes to all of the in GUI window,& a... View Questions/Answers

java  January 20, 2012 at 1:14 PM
javascript browse image in spring progrme ... View Questions/Answers

spring  January 20, 2012 at 1:10 PM
javascript browse image in spring progrme ... View Questions/Answers

navigation item back button  January 20, 2012 at 1:09 PM
I wants to add a navigationBar on the top of my UIWebView also a navigation item "back button". can anyone please explain how the back and refresh button works? ... View Questions/Answers

java  January 20, 2012 at 12:55 PM
javascript browse image in spring progrme ... View Questions/Answers

java  January 20, 2012 at 12:34 PM
Saving image and text in mysql db using spring? ... View Questions/Answers

Database  January 20, 2012 at 9:22 AM
Hi i need Grover's algorithm coding!!! or any other searchin ALGORITH coding? its really urgent! pl do the needful!! ... View Questions/Answers

delete a node from singly linked list in java  January 19, 2012 at 8:33 PM
Write a program(in java), if given a pointer to a node (not the tail node) in a singly linked list, delete that node from the linked list. ... View Questions/Answers

validation.....  January 19, 2012 at 7:32 PM
hi.......... thanks for ur reply for validation code. but i want a very simple code in java swings where user is allowed to enter only numerical values in textbox , if he enters string values then it should give a message box that only numerical values should be entered. How can... View Questions/Answers

a Java program  January 19, 2012 at 6:03 PM
Write a Java program to print even numbers from 2 to 1024? Write a Java program to print ? My Name is Mirza? 100 times? Write a Java program to print Fibonacci Series? Write a Java program to reverse a number? plz explain me :- Explain about... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:45 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

image on div or cell of table  January 19, 2012 at 5:44 PM
I am using ms access database and I have stored the image in access database and I have a code to display image but it display on browser but I want to display on inside the div tag or table tag pls send me the code for displaying image from access database condition is to display on div or table... View Questions/Answers

i-election voting system project in java  January 19, 2012 at 4:53 PM
I want source code and documentation project in java. send it to ... View Questions/Answers

Reading and writting multiple files  January 19, 2012 at 4:17 PM
how can i read and write say two different files at the same time using threads. ... View Questions/Answers

Need to remove duplicate rows from the Excel Sheet using the Apache POI API  January 19, 2012 at 3:53 PM
Hi There, Is any one aware of java code on how to find the duplicate rows in excel.I am using the Apache POI API to achieve the same have googled but no help :( Thanks ... View Questions/Answers

JTextField  January 19, 2012 at 3:32 PM
simple program for text field cannot not be edited in java swing ... View Questions/Answers

Maintaining States of Selected CheckBoxes in Different Pages using dispaly table in struts2  January 19, 2012 at 3:29 PM
Hi, I am working in a Struts 2 project where in the jsp i am showing the list using a displaytag.Each row in the list has a checkbox. Actually my requirement is to select particular checkboxes across different pages and maintain the states of the selected checkboxes.When I submit the form... View Questions/Answers

Ajax  January 19, 2012 at 2:50 PM
I want message print on jsp page that come from servlet through ajax.please help me out. ... View Questions/Answers

Ajax  January 19, 2012 at 2:50 PM
I want message print on jsp page that come from servlet through ajax.please help me out. ... View Questions/Answers

java  January 19, 2012 at 2:28 PM
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World"); } } ... View Questions/Answers

show the database values graphical represantation  January 19, 2012 at 11:21 AM
show the database values graphical represantation and auto refresh for every 30 secand displaying in webpage ... View Questions/Answers

automate mails in lotus notes  January 19, 2012 at 11:06 AM
need some help with this question...we need to open up the Lotus Notes client from a JSP page.. Currently in the JSP we are opening up the Microsoft Outlook Client using ActiveXObject(Outlook.Application) Could someone please help us with this as soon as possible. The from... View Questions/Answers

tom cat server  January 19, 2012 at 2:22 AM
my tom cat server is not working it show access denied error please help me to wrk on it plzz ... View Questions/Answers

Courirer managemnt  January 19, 2012 at 12:05 AM
what is courier management? and what is new in this management ... View Questions/Answers

image  January 18, 2012 at 11:54 PM
how to add the image in servlet code? ... View Questions/Answers

html  January 18, 2012 at 11:46 PM
How to add the calendar in html code? ... View Questions/Answers

File I/O  January 18, 2012 at 11:29 PM
i am trying to read and write a 54mb text file from one directory to another. I managed to do it perfectly using the examples i was given on this forum. my problem is it takes long to do it(4 to 5 minuets) so my question is, is their away i can read and write in the shortes time possible(in secon... View Questions/Answers

STUDENT MANAGEMENT SYSTEM  January 18, 2012 at 10:23 PM
can any one help me with the coding if this using awt please!!!!!!! STUDENT MANAGEMENT SYSTEM Table details Student (STUDENTID, NAME, ADDRESS, PHONE, MAILID, COURSEID (Foreign Key)) Course (COURSEID, COURSENAME, FEE, DETAILS) Result (STUDENTID, MONTH, YEAR, TOTAL, GRADE) Fee (BILLNO, STU... View Questions/Answers

Pattern matching  January 18, 2012 at 6:17 PM
String tagvalue = I've above string and I need to extract the value of 1- fname 2- lname 3- email. Please help me the best way to extract these value using regx or any string handling c... View Questions/Answers

How I get a variable from java script to use it in the scriptlet of jsp.  January 18, 2012 at 5:48 PM
Hi i want to get the tinyUrl value in the scriptlet of jsp. // Bit.ly API var url="http://cplive.com/dealDetail.do?method=displayDealDetail&class=moreRewards&dealID=27"; var tinyUrl; BitlyCB.shortenResponse = function(data) { v... View Questions/Answers

example of 1700 bir form using html  January 18, 2012 at 5:38 PM
example of 1700 bir form using html i don't know how to start it... i'm confused on what would i do first and what would i use... :( please help me on this.... thank you in advance... ... View Questions/Answers

Dynamin Jfree chart in jsp---error  January 18, 2012 at 5:26 PM
While compiling this CODE: <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <%@ page import="org.jfree.chart.ChartFactory" %> <%@ page import="org.jfree.chart.ChartUtilities"%> <%@ page import="org... View Questions/Answers

tree in java  January 18, 2012 at 4:36 PM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

tree in java  January 18, 2012 at 4:30 PM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

tree in java  January 18, 2012 at 4:30 PM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

RadioButton  January 18, 2012 at 4:25 PM
Hi,am new to Jsp.I have an issue.From the first am following the tutorials of RoseIndia. I have two jsp classes.In one jsp class,i wrote employee details like employee id,employee name,employee phno,employee address.All the information is stored into the database table. In the second class what i... View Questions/Answers

java mail sending with images  January 18, 2012 at 4:00 PM
I need to send images through java mail without giving content path(i.e. we don't want hard code the image path)can you tell me the idea? ... View Questions/Answers

liferay related query  January 18, 2012 at 3:02 PM
can you suggest me how to get all the session ids of different users logged in to liferay? ... View Questions/Answers

generater  January 18, 2012 at 3:01 PM
how to use hilo generator in hibernate. I want to connect hibernet application Oracle DataBase .in oracle database own user available but data not inserted.Same Appliction is execute if user is System/manger. ... View Questions/Answers

get data in pop up window droplists and on selecting data in the same show a grid table with related datas  January 18, 2012 at 2:45 PM
Hi, Please help me urgently.... I need to have a text field and a button on my parent jsp page.When i click the button a pop up window appears with two drop down lists and a button. One of the drop down have country names which need to be fetched from data base(let it be country table), and on cl... View Questions/Answers

java  January 18, 2012 at 2:43 PM
why methods in java raise exceptions ... View Questions/Answers

File I/O  January 18, 2012 at 1:43 PM
i am trying to read and write a file. my program works perfectly i am using PrintWriter and BufferedReader. but my problem is that when reading line by line if i reach a certain conditions like "if(line.startsWith("blahblah"))" jump that line and print the rest of the line. i want to do some thin... View Questions/Answers

Struts 2 Radio Button  January 18, 2012 at 1:42 PM
I have a search functionlaity where i have two radio buttons and I am using Struts2 tag.I want first rado button to be selected by default.But when i select the second radio button and hit on search button i want to retain the selection of that second radio button on search list result... View Questions/Answers

proxy server in java  January 18, 2012 at 12:43 PM
how to developed proxy server in java .. detail of what is proxy server.. ... View Questions/Answers

exception reason  January 18, 2012 at 12:37 PM
i had an exception equal sign is missing at line pst.executeUpdate() method line ... View Questions/Answers

File I/O  January 18, 2012 at 12:33 PM
i have a problem i am trying to print on a new line every time i reach a certain condition "if(line.startsWith("Creating"))" i want to skip that line and print out the rest of the lines. my line input text looks like this Creating Finally, its time to write some code. Boo... View Questions/Answers

Which request executed first Out of multiple requests in servlet  January 18, 2012 at 12:20 PM
Servlet handles multiple request simultaneously.Every new request will be assigned to thread, then the thread calls service method.Init method will be called only once and same instance shared for all the requests. Am sending two requests to servlet ,which request will be executed first , please ... View Questions/Answers

populating text box using jsp code  January 18, 2012 at 11:59 AM
Sir, How to populate related values in a text box after selecting value from drop down list using JSP and mysql. I tried using Ajax from your example. But for some browser it does not support. Please give an example using jsp code only. ... View Questions/Answers

Getting Parameter from a css styled jsp file to a java servlet file...  January 18, 2012 at 10:34 AM
This is my code.... login page-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]> <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page i... View Questions/Answers

tree in java  January 18, 2012 at 10:31 AM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

java coding help plz ?  January 18, 2012 at 8:34 AM
Given two integers N and M (N ΓΆβ?°Β¤ M), output all the prime numbers between N and M inclusive, one per line. N and M will be positive integers less than or equal to 1,000,000,000. The difference between N and M will be less than or equal to 5,000,000. Sample Input 5 20 Sample O... View Questions/Answers

Sql Server 2008 with textbox  January 18, 2012 at 3:27 AM
**Hi, I tried to insert into DB using textbox in a form using vb by visual studio 2010 but its always catch an error [Cannot open database "4" requested by the login. The login failed. Login failed for user 'sa'] i tried to get a solution for this error this the code i used** Imports Sy... View Questions/Answers

core java  January 18, 2012 at 12:00 AM
public class Sample{ public static void main(String args[]){ int a; } } Q.why the above code is not compiled ? Q.why the below code is compiled successfully ? public class Sample{ public static void main(String args[]){ in... View Questions/Answers

login example  January 17, 2012 at 7:34 PM
1.Loginpage.jsp <%@ page language="java" contentType="text/html; charset=windows-1256" pageEncoding="windows-1256"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta h... View Questions/Answers

login example  January 17, 2012 at 7:34 PM
1.Loginpage.jsp <%@ page language="java" contentType="text/html; charset=windows-1256" pageEncoding="windows-1256"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta h... View Questions/Answers

pushing UITableViewController  January 17, 2012 at 7:10 PM
How is it possible to navigate from UITableView. I wanted to open another view on clicking Table cell view? ... View Questions/Answers

How to send UIWebView Title to UINavigationBar  January 17, 2012 at 7:09 PM
How can i replace the title of the UINavigationBar to UIWebView Page Title(i.e. javascript title)? ... View Questions/Answers

student registration example  January 17, 2012 at 7:08 PM
1.reg.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> ... View Questions/Answers

UIWebView in UINavigationController  January 17, 2012 at 7:08 PM
I am wondering why application gets slow while push and pop. I have used the UINavigationController in my application. [self.navigationController popViewControllerAnimated:YES]; ... View Questions/Answers

UIImageView UIScrollView Zoom  January 17, 2012 at 7:07 PM
I am trying to implement a Zoomin / Zoomout feature in UIImageView and wanted to have the scroll capability init. ... View Questions/Answers

How does this example work even if no oracle to be used and only access is available?  January 17, 2012 at 7:06 PM
CONNECTION CLASS package ExamplePackage; import java.sql.*; import java.util.*; public class ConnectionManager { static Connection con; static String url; public static Connection getConnection() { try { Clas... View Questions/Answers

CHN15M116  January 17, 2012 at 6:53 PM
package ExamplePackage; import java.sql.*; import java.util.*; public class ConnectionManager { static Connection con; static String url; public static Connection getConnection() { try { Class.forName("oracle.jdbc.dr... View Questions/Answers

Writing a web page to test drive each method in the web app  January 17, 2012 at 3:04 PM
I got an assignment in my university. I need to write a single web page, that lists all the classes in the particular web app. Selecting a class, the page should list all the functions in it. Selecting a function, the user should be able to feed the parameters and displayed the returned value as ... View Questions/Answers

File I/O  January 17, 2012 at 2:42 PM
i am trying to write a program that reads a text file and writes it to another directory. the main purpose of this program is to take the text file then read it and write it into as a comma delimitade file. i have to problem: everything is perfect but when it comes to writing ... View Questions/Answers

bank application  January 17, 2012 at 11:55 AM
hello sir I got the simple bank application project which is very useful but I want the database for this project kindly send me database for this simple online bank application ... View Questions/Answers

How can I paginate a table which has shown in a div through Ajax in client side without using database  January 17, 2012 at 11:54 AM
The table is shown by calculation in a PHP script file so The data not store any where so please give me the way to paginate the table ... View Questions/Answers

Jfree exception  January 17, 2012 at 11:41 AM
import java.sql.*; import org.jfree.chart.*; import org.jfree.chart.plot.PlotOrientation; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.data.general.DefaultPieDataset; import org.jfree.data.xy.*; import org.jfree.data.*; public cla... View Questions/Answers

Jfree exception  January 17, 2012 at 11:41 AM
import java.sql.*; import org.jfree.chart.*; import org.jfree.chart.plot.PlotOrientation; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.data.general.DefaultPieDataset; import org.jfree.data.xy.*; import org.jfree.data.*; public cla... View Questions/Answers

Example for a method in java which returns a class  January 16, 2012 at 9:44 PM
Hi, I want to create a 1 class,and declare some methods there.I need to method must returns a classname.when i call that particular method(which returns a class),how can i access that member variables of that class using that method.......plz do the needful. ... View Questions/Answers

DMCA.com