Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

load next page after submitting  April 12, 2012 at 8:23 PM
how to submit the details and how to go the next page after submitting.please clarify my doubt I don't know how to submit details. ... View Questions/Answers

Doubt  April 12, 2012 at 8:23 PM
how to submit the details and how to go the next page after submitting.please clarify my doubt I don't know how to submit details. ... View Questions/Answers

Submit and process form  April 12, 2012 at 8:23 PM
how to submit the details and how to go the next page after submitting.please clarify my doubt I don't know how to submit details. ... View Questions/Answers

Advertisement

How to load page  April 12, 2012 at 8:23 PM
how to submit the details and how to go the next page after submitting.please clarify my doubt I don't know how to submit details. ... View Questions/Answers

User request form  April 12, 2012 at 8:23 PM
how to submit the details and how to go the next page after submitting.please clarify my doubt I don't know how to submit details. ... View Questions/Answers

data (image ,audio) inserting to data base (oracle 10g) and retriving the same data from jsp  April 12, 2012 at 8:04 PM
data (image ,audio) inserting to data base (oracle 10g) and retriving the same data from jsp with script of data base plz help me ... View Questions/Answers

explain the difference between string builder and string buffer classes  April 12, 2012 at 6:03 PM
Hi, Here is my code public static void main(String[] args) { String s1 = "abc"; StringBuffer s2 = new StringBuffer(s1); StringBuffer s3 = s2; StringBuffer s4 = new StringBuffer(s1); } in this example how many objects are created ? ... View Questions/Answers

Comparison between the types of sorting in java  April 12, 2012 at 5:26 PM
welcome all i wanna program in java compare between selection,insertion,bubble,merge,quick sort In terms of timer and put all types in frame and find the timer for example array 0-10000 the program select random value and it found timer for all types of sorting. please help me thanks all ... View Questions/Answers

JTable  April 12, 2012 at 5:15 PM
Values to be displayed in JTextfield when Clicked on JTable Cells ... View Questions/Answers

date  April 12, 2012 at 4:09 PM
actually i need to print morning , evening from config file .tell me the idea .how do i get coding ... View Questions/Answers

to bring checked data from one page to another  April 12, 2012 at 2:12 PM
thanks for your help but my problem is different, i am stating my problem below. in my project there is one jsp page , on it there is a link, on click of which it is opening second jsp page which is connected with servlet at the back and through which i am fetching data from the database on secon... View Questions/Answers

storing data in xml file using jsp  April 12, 2012 at 1:20 PM
hi i am storing data in xml file using jsp.in this when i enter data into xml file i am getting xml declaration for each specified data?can any one help me to prevent this? ... View Questions/Answers

project description  April 12, 2012 at 12:42 PM
Hi Sir, i want to ask question how to describe web project in interview. i did work on some project and role was the application development such as (login,register validation etc)and time of project was 3 month. when i faced interview then he asked that you did work on some page in 3 month durat... View Questions/Answers

Is there any website available to open .mdb file online?  April 12, 2012 at 12:28 PM
I am having an .mdb file. And I don't have MS Office in my computer. So for, I need to view the .mdb file in online. Could you tell me any website for that? ... View Questions/Answers

problem in getting mail exchange records(MX) using DNS in java  April 12, 2012 at 11:10 AM
Hi, jsp file: <%@page import="javax.naming.NamingEnumeration"%> <%@page import="javax.naming.Context"%> <%@page import="java.util.Hashtable"%> <%@page import="javax.naming.directory.Attribute"%> <%@page import="java... View Questions/Answers

Path was not found  April 12, 2012 at 11:08 AM
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ... View Questions/Answers

Uppercase Characters in Java  April 12, 2012 at 9:58 AM
I want to know how to UpperCase Characters in Title useing a java code...? ... View Questions/Answers

Save profile and image to mysql database, and view the image in another jsp page  April 12, 2012 at 5:49 AM
Pls. need help in saving the profile info with the image in mysql database.. some basic code pls in jsp... thanks in advance... ... View Questions/Answers

part of AES code in JSP  April 12, 2012 at 1:17 AM
org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 19 in the jsp file: /index.jsp Generated servlet error: C:\Users\Welcome\.netbeans\5.5\apache-tomcat-5.5.17_base\work\Catalina\localhost\yep.jsp\org\apache\jsp\index_j... View Questions/Answers

How to insert clob data??  April 11, 2012 at 8:25 PM
Can any one tell me in details how to populate clob column in a table using sql??I tried simple sql statements but found out that simple sql statements won't allow more than 4000 characters but I need to insert more than 4000 characters.I have heard that clob fields can hold 4 gb of data and need... View Questions/Answers

coding for converting the database data  April 11, 2012 at 8:04 PM
how to write the coding for converting the database data for example population into any type of graph using jsp and servlets pls help me out how to write the coding for converting the database data for example population into any type of graph using jsp and servlet?... View Questions/Answers

Applet run with appletviewer but not in browser, any code problem.  April 11, 2012 at 7:46 PM
Hi,My problem is when I am running my applet in appletviewer index.html, Its work fine but not run from the browser as http://localhost:8080/ProgressoApplication/index.html I am using "dynamic web application" in eclipse. I want all the 52 cards will be show in browser as by "appletviewer" and... View Questions/Answers

permutstion of numbers in java  April 11, 2012 at 7:28 PM
Is it possible to enter the number in a char so that permutation of a number can be acheived which will be in the form of string????? here is the coding i did...it worked really well when i initialized the char as(1,2,3).but its not working when i want the input from user.. .like if user enters 3... View Questions/Answers

is there is pointer in java or not??  April 11, 2012 at 6:57 PM
is there is pointer in java or not plz tell me this with brief?? thank you ... View Questions/Answers

data fields  April 11, 2012 at 6:42 PM
hi. write an application that instantiates five librarybooks objects and prompts the user for values for the data fields.then prompt the user to enter which foels the librarybooks should sort bt title,author or page count. perform the requestd sort procedure and display the librarybook objects... View Questions/Answers

problem in getting mail exchange records(MX) using DNS (glassfish(struts2))  April 11, 2012 at 6:42 PM
Hi, dummy.jsp <%@page import="javax.naming.Context"%> <%@page import="java.util.Hashtable"%> <%@page import="javax.naming.directory.Attribute"%> <%@page import="javax.naming.directory.Attributes"%> &l... View Questions/Answers

how to focus on the new window opened from JSF ?  April 11, 2012 at 6:39 PM
Hi guys, I have commandLink with action which using javascript to open a new window(window.open()). Problem is, the new window opens at background behind the current window that user has to look for it. Is there any way to open it at front and focus? Thx in advance! Here is my cod... View Questions/Answers

fields  April 11, 2012 at 6:34 PM
hi.create a class named librarybook that contains fields to hold methods for setting and getting a librarybooks title,author, and page count ... View Questions/Answers

connectivity with php  April 11, 2012 at 5:06 PM
i have make one html form and doing connectivity with php database but when i click on submit button on html form display all coding in php form about connectivity instead of adding data, i used in html coding action ="file name of php file". please reply me soon. ... View Questions/Answers

How to create Velocity Engine .vm file for Andorid Appication  April 11, 2012 at 1:53 PM
Hi, I want to create a .vm file of Velocity File for Android Application.please help me to do this? ... View Questions/Answers

Use if, if else,for,while,do wile ad switch in same Java Class  April 11, 2012 at 12:43 PM
hi how to use if, if else,for,while,do wile ad switch in same class? very urgent.. ... View Questions/Answers

Reset( )and Mark( )  April 11, 2012 at 9:41 AM
i am using buffer reader to read each line using loop. My problem is when the pointer reach EOF then it has to be reset. So when using mark() i have to specify the size. For a huge file, length has to be stored in long but mark only takes int type value.. any other function that i can use to rese... View Questions/Answers

jdbc theory qn  April 11, 2012 at 3:41 AM
how to compile jdbc and what software is required? ... View Questions/Answers

JSP  April 11, 2012 at 2:24 AM
Develop a JSP to keep track number of users and display a message ‚??You are nth visitor‚?? where n is number of user. ... View Questions/Answers

java  April 11, 2012 at 1:25 AM
how to create session for login???? how to display uploaded resume and images in the profile??? ... View Questions/Answers

how to create session for login  April 11, 2012 at 1:25 AM
how to create session for login? how to display uploaded resume and images in the profile? ... View Questions/Answers

java  April 11, 2012 at 1:25 AM
how to create session for login???? how to display uploaded resume and images in the profile??? ... View Questions/Answers

c++ array find the average mark, highest mark, lowest mark, number of students passing,  April 10, 2012 at 11:05 PM
i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array. 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 ... View Questions/Answers

c++ array find the average mark, highest mark, lowest mark, number of students passing,  April 10, 2012 at 11:05 PM
i need help in adding the c++ code for the average mark, highest mark, lowest mark, number of students passing, using array. 01 #include<iostream> 02 using namespace std; 03 int main() 04 { 05 int gradeRange [4]= {0,0,0,0}; 06 int mark = 0; 07 ... View Questions/Answers

SQL  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL fetch value  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

output using SQL  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL get start date and end date result  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL display date in between query  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL date query  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

SQL  April 10, 2012 at 10:26 PM
how to get ( 15 march 2011) and (15/03/2011) output using SQL ... View Questions/Answers

java date selector ..  April 10, 2012 at 10:16 PM
hey,,,, i am creating my java project...for that i implementing a car renting system and i had used combo boxes to get Ranting start day inputs..3 combo(sy,sm,sd) yyyy ,mm,dd and for returning day i need to get 3 combo inputs(ry,rm,rd)... so when i update starting day... others should be updated... View Questions/Answers

I/O Program output error  April 10, 2012 at 8:08 PM
Hello All, I am working on a program that requries me to read and analyze a .txt file and output the results to a .txt file, but I am getting incorrect output. I have been successfull with part of the program in that it reads the text file and analyzes it, however I need it to take the ke... View Questions/Answers

Problem in enctype="multipart/form-data" in JSP  April 10, 2012 at 7:45 PM
im using a page which is in JSP. i have some text boxes and one upload button. i want to load the file itself when i click the submit button. im using enctype="multipart/form-data" in this form. i also using the commons-fileupload-1.2.2.jar file for getting the uploaded value. but the problem is ... View Questions/Answers

Problem in enctype=  April 10, 2012 at 7:34 PM
im using a page which is in JSP. i have some text boxes and one upload button. i want to load the file itself when i click the submit button. im using enctype="multipart/form-data" in this form. i also using the commons-fileupload-1.2.2.jar file for getting the uploaded value. but the problem is... View Questions/Answers

important topics to prepare for java interview  April 10, 2012 at 6:34 PM
hi friends can anyone tell what are the important topics to prepare for java interview???? ... View Questions/Answers

difference  April 10, 2012 at 6:19 PM
what is the difference between the JDBC-ODBC bridge, the Native-API-Partly-Java driver, and the JDBC-Net-All-Java Driver is the placement of the database access libraries ... View Questions/Answers

sql component  April 10, 2012 at 6:16 PM
is sql package is the component of jdbc ... View Questions/Answers

Retrieving images from the oracle database using jsp and create that rretrieved image as hyperlink  April 10, 2012 at 5:31 PM
I want to insert images into oracle database.I want to retrieve images using jsp and I want to display on the browser.The retrieved images should be hyperlink.When clicking these images it must forward to another page.Can you send code for this ... View Questions/Answers

fetch values in dropdown  April 10, 2012 at 4:51 PM
in my application i want fetch dropdown values in jsp page through servlet. means i have to fetch the database fields values in array variable of servlet and then i have to print those values in dropdown. ... View Questions/Answers

query string  April 10, 2012 at 4:46 PM
on my servlet page i take the values of the field in a variable and that variable is a primary key so on the basis of that i am sorting database and printing on another page. i have to take that variable from servlet page to different servlet jsp page and that i want to do with query string so ca... View Questions/Answers

Run time Exception after Clean and Build JavaNetBeans Project  April 10, 2012 at 4:33 PM
I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5 The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a dist fol... View Questions/Answers

online multiple choice examination  April 10, 2012 at 3:56 PM
hi i am developing online multiple choice examination for that i want to store questions,four options,correct answer in a xml file using jsp or java?can any one help me? ... View Questions/Answers

accessing ms access through jsp  April 10, 2012 at 2:06 PM
i have 3 tables in my database employee,project,task if i put employee id the search field .i should get details from other table what all queries should i use in servlet file and i am using netbeans pls help i have to submit this week ... View Questions/Answers

for statement  April 10, 2012 at 1:17 PM
for(int i=0;i<5;i++); { system.out.println("The value of i is :"+i); } if i end for statement what will be the output ... View Questions/Answers

Core java  April 10, 2012 at 1:12 PM
How to use hyperlink that is href tag in core java without swing, frames etc. My code is StringBuffer oBodyStringBuffer = new StringBuffer("Message Classification: Restricted.\n\n"); oBodyStringBuffer.append("Dear Sir / Mdm,\n\n")... View Questions/Answers

code required in servlet  April 10, 2012 at 1:09 PM
hello... you provided me the answer with javascript.. i want to check which button is clicked in the servlet.. i have only 1 servlet an in that separate codes for different button clicks.. can u plzzz help ... View Questions/Answers

jdbc  April 10, 2012 at 1:00 PM
Write a program to update the salaryRs.6000/- for an employee name like ‚??P. Ramu‚?? using prepared statement. ... View Questions/Answers

jdbc program  April 10, 2012 at 12:57 PM
Write a program to update the salaryRs.6000/- for an employee name like ‚??P. Ramu‚?? using prepared statement. ... View Questions/Answers

how to access database in applet  April 10, 2012 at 12:45 PM
HI... I'm having an applet where we should display the database values in the applet... It works fine in the local system(same network)... but when its in the server, we r getting null values in the local system.. I created a policy file and also added that url in java.security but came error bel... View Questions/Answers

JDBC  April 10, 2012 at 12:06 PM
write a JDBC program to display the result of any query on a student table in a JTable component. ... View Questions/Answers

how to get only checked data  April 10, 2012 at 11:10 AM
my problem is that i have a jsp page on which i retrieve data from the database through servlet , on the jsp page there are checked box corresponding each row. i want that when i click on save button it should redirect only checked data to other jsp page which is connected to other servlet page ... View Questions/Answers

window in center  April 10, 2012 at 11:05 AM
if i run the programme thw window is in lie in top left corner i want a window open in center.......... ... View Questions/Answers

Jdbc connectivity in java to oracle for retrieving data between two dates  April 10, 2012 at 3:26 AM
Dear Sir, I Need a program in which i want to retrieve the data b/w two dates from the database table. I am using combo box to get the date. Problem is arise when i get date from data base in the format such as 10/04/2012 00:00:00, while the date that is inserted to the database is in the format ... View Questions/Answers

registration form using oop concept  April 10, 2012 at 1:17 AM
I would like to write a program student registration form at kindergartens and display the information of students that register to the kindergarten. How to make the form and display the output? ... View Questions/Answers

dialog box  April 9, 2012 at 11:30 PM
hi.write an application containing three parallel arrays that hold 10 elements each.the first array holds four digits student ID numbers,the second holds first names and the third holds the students grade point averages. use dialog boxes to accept a student ID number and display the student's fir... View Questions/Answers

Probblems with printing if my innput of text file is correct..  April 9, 2012 at 10:14 PM
I am trying to make sure this block of code does what I think it will do. Can someone show me with some code how I can print out what is is labled with <----print this? There are 3 of them. I am looking for something rather simple and for some reason I cannot get the code to work with System.o... View Questions/Answers

how to handle MySQLIntegrityConstraintViolationException?  April 9, 2012 at 7:37 PM
Cannot add or update a child row: a foreign key constraint fails (outerdb.outerpatient, CONSTRAINT outerpatient_ibfk_1 FOREIGN KEY (xrayno) REFERENCES xray (xrayno)) ... View Questions/Answers

find out in servlet which button was clicked on an html page  April 9, 2012 at 4:24 PM
i have two buttons on my jsp page... and i want two call two seperate codes in a servlet on pressing of those 2 buttons.. how do i find out which button was clicked so as to call that respective method. ... View Questions/Answers

nested for-loop  April 9, 2012 at 4:00 PM
hi.write a program that will prompt the user for a positive integer(num) and then display two triangles with num number of lines to represent the following patterns of asterisks. the input num must be validated, and if invalid, the user must be allowed a maximum of 3 tries to enter the correct va... View Questions/Answers

error message  April 9, 2012 at 3:47 PM
Sir i make one form facility with insert,update,delete.i want to error msg if any type of the data is missing and display in error msg which of the data is misssing. ... View Questions/Answers

spring  April 9, 2012 at 2:54 PM
sir how to access multiple jsp's in spring ... View Questions/Answers

spring  April 9, 2012 at 2:54 PM
Access JSP files in Spring ... View Questions/Answers

How to code a Product id search engine?  April 9, 2012 at 1:27 PM
I always wonder how people here are such greatly helpful. I have about a 30 rare products in my online store(just showcasing, we don't sell) each with a specific id. I am trying to code a search box that let users search products with id. Suppose, "If an user enters id:1234 (and h... View Questions/Answers

springs  April 9, 2012 at 12:08 PM
sir i am trying to insert data from form...using spring and hibernate i got the error like this; rg.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessResourceU... View Questions/Answers

hi  April 9, 2012 at 11:00 AM
i want to develop a online bit by bit examination process as part of my project in this i am stuck at how to store multiple choice questions options and correct option for the question.this is the first project i am doing can any one help me?????? ... View Questions/Answers

how to retrieve images from database to jsp?  April 9, 2012 at 10:59 AM
Hi sir,i want to stores images along with the name and price with database and retrieve it on jsp.and that image also should act as link.when i click on the image retrieved,it should display the elaborated image in th next page.plz help me in coding.its vey urgent. ... View Questions/Answers

what is meta data in java  April 8, 2012 at 11:34 PM
what is meta data in java ... View Questions/Answers

Exception in thread  April 8, 2012 at 10:39 PM
Hi, I have created a java file for sending a file to my mail. I am using mail.jar file. I am able to create .class file properly. But am unable to run this file using java command on command prompt. javac -cp D:\mail.jar SendMailTLSDFC.java above command is working properly. It creates 2 class a... View Questions/Answers

Applets  April 8, 2012 at 9:55 PM
Create an applet, on running which shows the following output. Source Java Output file Compiler .java javac .class JVM All the text within the circle and rectangles should be taken as parameters with names heading1, heading 2, ‚?¶ heading 5. All the text below the shape should be taken as paramet... View Questions/Answers

Multi-threaded Programming  April 8, 2012 at 9:53 PM
Write a class resourceThread which has a method run which calls display method of resource class. Resource class has synchronized display method which prints the array string. Take a string in a variable and convert that string into array of characters using toCharArray() method of string class .... View Questions/Answers

Implementing Interface  April 8, 2012 at 9:52 PM
interface Mat { void read( ); void display( ); } Create a class Matrix by implementing interface Mat. Derive class MatrixOp from Matrix and provide functions to add and multiply two matrices. Also derive class MatrixSearch from Matrix and add a function ‚??search ( )‚?? which searches given value... View Questions/Answers

Implementing Vectors.  April 8, 2012 at 9:51 PM
Create a class Student which stores Name ,Rollno and Grandtotal of a student. Use class Vector to maintain an array of students in the descending order of the Grand_total. Provide the following functions 1) create() : this function will accept the n student records in any order and will ... View Questions/Answers

program to implement array of objects  April 8, 2012 at 9:48 PM
import java.io.*; import java.util.*; public class dataa { DataInputStream in=new DataInputStream(System.in); int i; int a[i]=int acid[5]; String name1[i]=new String[5]; float c[i]=new float bal[5]; String name1; int a; pub... View Questions/Answers

Implement array of objects  April 8, 2012 at 9:48 PM
import java.io.*; import java.util.*; public class dataa { DataInputStream in=new DataInputStream(System.in); int i; int a[i]=int acid[5]; String name1[i]=new String[5]; float c[i]=new float bal[5]; String name1; int a; pub... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Fetch Matching jobs in JSP Servlet... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
how to display matching Results using jsp-servlet? ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Create Jobseeker's profile in JSP and Servlet ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
How to create a user profile in JSP ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Is it possible to create a user profile in Servlet and JSP ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
JSP Servlet Search Page ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
Search page to display matching results in JSP and Servlet ... View Questions/Answers

profile display  April 8, 2012 at 9:43 PM
how to display matching jobs in jobseeker's profile using jsp-servlets? ... View Questions/Answers

How to refresh Client only once by sending setHeader ("refresh" ,??? )  April 8, 2012 at 8:57 PM
How can i send response from JSP that will make my client page to be refreshed ?? I just want to refresh my client page only once....! Not periodically....! Actually i am calling a page that check for flag value in model through JSP page. And if it find flag value 1 in model it will tell ... View Questions/Answers

Changing 2D graph using slider.  April 8, 2012 at 7:58 PM
Code for changing a 2d graph with help of slider? ... View Questions/Answers

DMCA.com