Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

static keyword in interface  January 16, 2012 at 6:21 PM
Could any one explain,why static keyword implict (or explict ) come in interface? I asked lot of persons about this question, but nobody did not answered clearly. please explain clearly and say what is the reason? ... View Questions/Answers

Inheritance  January 16, 2012 at 5:09 PM
static methods are inherited or not? ... View Questions/Answers

sql  January 16, 2012 at 3:02 PM
i want that whenever i click add button in my form value of an column employee-id will automatically increase by one..and show the new employee-id value in text box. please send me the source code for this . ... View Questions/Answers

Database Status  January 16, 2012 at 2:55 PM
Hello Everyone, I am working on a project,its almost done with only module remaining in it i.e; it has to show the status of database in the graph chart or pie diagram in terms of percentage and time period. please help me out. Thanks in advance, Shakeel. ... View Questions/Answers

How to show database values in Graph.(Like Cricket score board Graph)  January 16, 2012 at 2:18 PM
Hi, Can Any one help out! How to show database values in Graph. i mean while changing values in database,the corresponding curve should change accordingly.(Like Cricket score board Graph) ... View Questions/Answers

File I/O  January 16, 2012 at 1:07 PM
greetings i was running into a problem. is their a way to read multiple files from one and write the in a different directory one by one ... View Questions/Answers

image display  January 16, 2012 at 12:29 PM
sir the answer which you have sent to me is already I have I want to know that the syntax which you have writen for display "response.getOutputStream().write(bytearray,0,size); is absolutely right but i want to display in "div image from databse /div" plz help me i will wait for ur reply ... View Questions/Answers

image display  January 16, 2012 at 12:27 PM
sir the answer which you have sent to me is already I have I want to know that the syntax which you have writen for display "response.getOutputStream().write(bytearray,0,size); is absolutely right but i want to display in image from databse plz help me i will wait for ur reply ... View Questions/Answers

how can i display the dates of one week by selecting the date randomly from the calendar?  January 16, 2012 at 12:08 PM
I am facing a problem in my application,Here i should display the calendar, simultaneously i want to display the list of seven dates from the date selected from the calendar. how can we display the dates by picking the date randomly? ... View Questions/Answers

Hospital project  January 16, 2012 at 10:31 AM
hello sir i want hospital management system Source code in C # swing Back-end sql sever 2005. i want these type of model 1. Username and password 2. staff details i. Doctor details ii. nurse details iii. Compounder details iv. Lab technician details v. Wardboy details vi. Sweeper details ... View Questions/Answers

asp.net mobile website  January 16, 2012 at 8:09 AM
hello all.Which framework should I use to develop an asp.net mobile website?I'm currently using visual studio 2010 but it does not have the mobile webform as template. So, should I use the latter or normal web form to develop my website. Thanks :) ... View Questions/Answers

Code for opening a new mail from the default mail box and copy the database contents  January 15, 2012 at 11:16 PM
Guys, here is how it goes when i click on a button say "mail", the code fetches the receipients, subject and the body of the mail from database, now i want a code wherein when i click on "mail" the above said data should respectively be fetched ,and my default mail should be opened and a new mail... View Questions/Answers

national polling system in secure and manager  January 15, 2012 at 10:56 PM
plz help me..i want source code of my project..plz plz send to me ... View Questions/Answers

sorting  January 15, 2012 at 5:10 PM
I have got 3 questions in interview . please help me how to do ? 1) public int rotatedSearch(int[] values, int start , int end , int x) { //implement a search function for a sorted rotated array. //duplicates are allowed. Returning any one of the duplicates is acceptable. } 2) pu... View Questions/Answers

please help me here  January 15, 2012 at 2:09 PM
please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an o... View Questions/Answers

please help me here  January 15, 2012 at 2:09 PM
please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an o... View Questions/Answers

java programming code  January 15, 2012 at 2:00 AM
strong textHi I need the java code for the folllowing java output can you help me?The user inputs for the program are in inverted commas thank you. Blockquote HARDWARE ITEMS CODE DESCRIPTION UNIT PRICE K16 Wood screws, brass, 20mm, pack of 50 $ 7.75 D... View Questions/Answers

ask user how many numbers to be inputted and determine the sum and highest number using an array in java  January 14, 2012 at 6:28 PM
ask user how many numbers to be inputted and determine the sum and highest number using an array in java ... View Questions/Answers

DMCA.com