Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

ms access  November 9, 2012 at 7:23 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ms access  November 9, 2012 at 7:22 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ms access  November 9, 2012 at 7:22 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

Advertisement

ms access  November 9, 2012 at 7:20 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ma access reading values  November 9, 2012 at 7:19 PM
hey ,thanks for my question i have one question: now from login page user needs to login , when he types his "username and password " he has to login . i already created ms access page and inserted values throught servlet and register.jsp now i need code for reading values from "username and ... View Questions/Answers

ma access reading values  November 9, 2012 at 7:19 PM
hey ,thanks for my question i have one question: dis is my login.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" ... View Questions/Answers

trigger  November 9, 2012 at 6:09 PM
write a trigger program before insert into salary that it must not below Rs 1000? ... View Questions/Answers

trigger  November 9, 2012 at 6:07 PM
write a trigger to see every manager must be highest salary? ... View Questions/Answers

procedure  November 9, 2012 at 6:05 PM
write a procedure to update salary to 20% based on employee number? ... View Questions/Answers

trigger  November 9, 2012 at 3:25 PM
whenever an employee is given a raise,the managers salary must be increased to be atleast as much? ... View Questions/Answers

jsp online exam  November 9, 2012 at 2:59 PM
i have designed a html page with 20 multiple choice questions ...options are in radio button for each question .... now i have to retrieve all the selected answers and save it to database match it with correct answers and output the result,,,,how can i do this please help me soon.... ... View Questions/Answers

Delete a row from database by id  November 9, 2012 at 9:06 AM
I m creating a small application using servlet. There is a form (index.jsp)having 10 fields on submitting the form all the values are added in to database and page is redirected to a new page that contains entries of submittes form. Now there are 2 extra columns(10+2) for "DELETE" AND "UPDATE". O... View Questions/Answers

radio nuttpn  November 9, 2012 at 8:38 AM
i have created a html page containing 20 multiple choice questions when i clicl the options which are radio buttons. I have tp retroebe it in a jsp pahe ansabe it in mysql database...further i have to match it with correct aswers and display correct answets wwith marks scored ...please prpvide c... View Questions/Answers

jsp online exam...  November 8, 2012 at 10:11 PM
Plz provide me front end design...... ... View Questions/Answers

my table should be reseted to new value upon the selection of the combo box..  November 8, 2012 at 6:37 PM
import java.awt.Container; import java.awt.FlowLayout; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.JOptionPane; import javax.swing.JSc... View Questions/Answers

data validation by maker and checker  November 8, 2012 at 5:10 PM
My requirment is like ,an user will view some records in a jsp page,and two buttons will be there in that page-"validate and cancel".If the user clicks on validate button,records of the next row of the table has to be displayed and at the same time some status of the previous records has to be up... View Questions/Answers

jsp online ex  November 8, 2012 at 4:31 PM
wat is the parametr u passed ...ques??? ... View Questions/Answers

jsp online ex  November 8, 2012 at 3:53 PM
plz help me providing source code for mini project online exam using jsp and mysql..... plzplz plzhelp me pur.... ... View Questions/Answers

print hello n hi  November 8, 2012 at 3:38 PM
how to write a java program that prints "hello" 5 times, "hi" 1 time n again "hello" 4 times..?? do reply.. ... View Questions/Answers

database connectivity  November 8, 2012 at 2:41 PM
i have written class.forName and getconnection in one method which returns connection string object under particular class and in someother class i want to call that for statement object ... View Questions/Answers

How to send URL in Post request from local server to remote server?  November 8, 2012 at 5:42 AM
I am having currently a Portal client(created using JSP and Servlet) and Portal server(using Tomcat). Now i want: 1> How to establish a Connection to another server remotely?What to do in code??? 2> How to send a Post Request containing- "https://IPAddress:Port/contextpath... View Questions/Answers

Merge XYLine and XYArea Charts  November 8, 2012 at 3:18 AM
I wonder how to merge two charts and display on one frame. I have managed to create 'bell-curve'(Normal distribution) through JFreeChart with XYLine. However, I would like some part to be 'shaded', therefore would be good to use XYArea Chart. I have found an example (this website) how to use two... View Questions/Answers

Struts session question  November 7, 2012 at 5:53 PM
how will i set and get session in struts 1.3 plz help.thanking you..:) ... View Questions/Answers

interest and amount for three yeaers  November 7, 2012 at 5:19 PM
Mr.Shyam lal Agarwal invests certain sum at 5% per annum compound interest for 3 years .write a program in java to calculate : a) the interest for the 1st year b) the interest for the 2nd year C) the amount after 3 years taking sum as an input from the user. ... View Questions/Answers

programming  November 7, 2012 at 5:13 PM
make a program that enter 5 numbers then identify the largest and the smallest number sample program 2 4 3 5 6 the smallest number: 2 the largest number: is 6 66 ... View Questions/Answers

ask a user to enter 5 integer  November 7, 2012 at 5:11 PM
make a program that enter 5 numbers then identify the largest and the smallest number sample program 2 4 3 5 6 the smallest number: 2 the largest number: is 6 66 ... View Questions/Answers

Question in eclipes ??!!  November 7, 2012 at 1:19 PM
Hooole EveryOne I have Question in eclipes !!? Question is : The objectives of this lab are 1.Using the â?? thisâ?? reference. 2.Initializing class objects. 3.Using overloaded constructors. Problem Description of this lab: A.( The Complex Class) Design a class ... View Questions/Answers

Opening IE from Java Swing Application in Kiosk mode  November 7, 2012 at 12:15 PM
Hi All, I want to open a URL in IE from my Java Swing application running in Wiindows. I am using the below code. public static boolean openInBrowserKioskMode(String url){ String os = System.getProperty("os.name").toLowerCase(); Runtime rt = Runtime.getRuntime(); ... View Questions/Answers

trigger after insert for deletion  November 7, 2012 at 11:43 AM
String query2 = "create TRIGGER trig after insert on "cart" + " FOR EACH ROW " + " BEGIN " + " declare expiry1 date ;" + " select expiry into expiry1 from cart; " + " if expiry1 > (1 month of purchase) ... View Questions/Answers

Getting IP Address  November 7, 2012 at 10:01 AM
Hi... i want to get the ip address of the current machine running my jsp program.... example: my ip is 172.16.11.247... from other system if i run my jsp program using my ip like 172.16.11.247/myfile.jsp i get the ip address 247 in database but i need to get the ip address of th... View Questions/Answers

Getting IP Address  November 7, 2012 at 10:01 AM
Hi... i want to get the ip address of the current machine running my jsp program.... example: my ip is 172.16.11.247... from other system if i run my jsp program using my ip like 172.16.11.247/myfile.jsp i get the ip address 247 in database but i need to get the ip address of th... View Questions/Answers

java  November 6, 2012 at 3:39 PM
what is meant by constructor? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

passing .properties file as a parameter to another function  November 6, 2012 at 2:39 PM
passing .properties file as a parameter to another function in an jsp file? ... View Questions/Answers

Opening files with .jnlp extension on browser!?!?!  November 6, 2012 at 12:31 PM
I working on UEngine, where to switch into the design phase it creates a PorcessDesigner.jnlp file which gets downloaded on client's side on runtime. I searched into the code for Runtime.getRuntime().exec("..........."); I came across the java code... View Questions/Answers

query related to uploading file  November 5, 2012 at 7:37 PM
hello friends i am doing my project in servlet and i want to upload a file and store file in local hard drive and file name and path in oracle database.with name file name and path i also want to save the uploading time and date in database. please help me it is urgent. thanks i... View Questions/Answers

How to create bar chart using database values i.e excellent,good,average fields using jsp?It is like opinion poll.I want to show how many votes are came for excellent,good,average in a graph format.  November 5, 2012 at 5:11 PM
How to create bar chart using database values i.e excellent,good,average fields using jsp?It is like opinion poll.I want to show how many votes are came for excellent,good,average in a graph format. ... View Questions/Answers

Java  November 5, 2012 at 4:09 PM
i want a program to take input as j@1v and print ony alphabets i want a progam to take list of arrays i.e 121 121 121 and eliminate duplicate and print ony 121 as output i want a program to give 5 numbers , omit last number ,then first four numbers multiply by 2 and then add them ... View Questions/Answers

java  November 5, 2012 at 3:11 PM
write a java program for seven segment display, it shud take input & print output for seven segment display for ex. if v enter 0 it print 6, for 4 it print 4, for 6 it print 5 like 0to9 it prints.............plz tel me ans ... View Questions/Answers

How to get sub category based on category from database using jsp and javascript.  November 5, 2012 at 2:20 PM
How to get sub category based on category from database using jsp and javascript? ... View Questions/Answers

How to create bar chart using database values  November 5, 2012 at 1:27 PM
How to create bar chart using database values i.e excellent,good,average fields using jsp?It is like opinion poll.I want to show how many votes are came for excellent,good,average in a graph format. ... View Questions/Answers

How to store user name,city,state,image path into database and image into folder using jsp  November 5, 2012 at 1:07 PM
How to store user name,city,state,image path into database and image into folder using jsp? ... View Questions/Answers

jsp page submitting  November 5, 2012 at 12:48 PM
whenever i am submitting the jsp page it downloads some unknown file on tomcat server ... View Questions/Answers

construction in java programm  November 5, 2012 at 11:50 AM
p*(1+r/100) at the end of year 200 p is population r is growth rate class name: population Data members : float p,r Member methods: population (int a, int b):Constructor to initialize p and r with a and b respectively. void print(): to calculate and print the population of each year from 2001 to ... View Questions/Answers

java implementation problem  November 5, 2012 at 10:15 AM
I want to implement following in java code : Main thread Create three threads wait for completion of stage 2 of all three threads Access all three local variable (LC0, LC1, LC2) of threads bulid a new main data (MD) <... View Questions/Answers

Java implementation problem  November 5, 2012 at 12:28 AM
I want to implement following in java code : Main thread 1. create three threads 2. wait for completion of stage 2 of all three threads access all three local variable (LC0, LC1, LC2) of threads bulid a new main data (MD) resume all three threads executi... View Questions/Answers

java program  November 4, 2012 at 9:41 PM
i want a applet program that accepts two input strings using tag and concatenate the strings and display it in status window. please give mi he code for this in core java. ... View Questions/Answers

java program  November 4, 2012 at 9:41 PM
i want a applet program that accepts two input strings using tag and concatenate the strings and display it in status window. please give mi he code for this in core java. ... View Questions/Answers

java program  November 4, 2012 at 9:41 PM
i want a applet program that accepts two input strings using tag and concatenate the strings and display it in status window. please give mi he code for this in core java. ... View Questions/Answers

How to show database values into graph using jsp?  November 4, 2012 at 4:25 PM
How to show database values into graph using jsp? ... View Questions/Answers

How to show database values into graph using jsp?  November 4, 2012 at 4:25 PM
How to show database values into graph using jsp? ... View Questions/Answers

Image name,image path into database and image into folder using jsp  November 4, 2012 at 4:23 PM
How to insert image path and image name into oracle database and image into folder using jsp? ... View Questions/Answers

Session maintain  November 4, 2012 at 3:07 AM
hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return to previous page the checked box is again unchecked. Means the status of the checkbox is not maintained.If it ... View Questions/Answers

Session maintain  November 4, 2012 at 3:06 AM
hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return to previous page the checked box is again unchecked. Means the status of the checkbox is not maintained.If it ... View Questions/Answers

Session maintain  November 4, 2012 at 3:06 AM
hi, all I want to maintain the state of checkboxes across pages. What happens is when i check one checkbox and then go to say 2nd page then check one checkbox there and when i return to previous page the checked box is again unchecked. Means the status of the checkbox is not maintained.If it ... View Questions/Answers

should print in console  November 4, 2012 at 12:36 AM
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ... View Questions/Answers

Hi friends  November 3, 2012 at 4:21 PM
How to create a guy based application for cryptography(encryption and decryption) with multiple algorithms like caesar, hash ..etc ... View Questions/Answers

Question in Eclipse ??  November 3, 2012 at 3:13 PM
** Hello EveryOne , L Have Question in Eclipse ?!! Question is : A.( The square class) Design a class named Square that contains : 1.A private instance variable side of type double 2.A no-argument constructor that sets the side to 1.0 by calling a method named setSide t... View Questions/Answers

Question in Eclipse  November 3, 2012 at 3:11 PM
** Hello EveryOne , L Have Question in Eclipse ?!! Question is : A.( The square class) Design a class named Square that contains : 1.A private instance variable side of type double 2.A no-argument constructor that sets the side to 1.0 by calling a method named setSide t... View Questions/Answers

construction  November 3, 2012 at 12:22 PM
population of country calculate: p*(1+r/100) at the end of year 2007 write a class program find the population of the country at the end of each year 2001 to 2007. p is population and r is the growth rate. class name :population date Members : float p,r Member methods:- population (in a, int b)... View Questions/Answers

barcode scanner device usage in database application  November 3, 2012 at 4:44 AM
Am trying to design a supermarket inventory desktop database application however I can't seem to know how to use a barcode scanner device on my application can anyone put me through please. David ... View Questions/Answers

Prolog Parser Implementation  November 2, 2012 at 8:56 PM
Hi I am trying to implement a parser for a simple language with grammar like this. program ::= "program" declarations "begin" statements "end" declaration ::= "var" ident "as" type type ::= "string" | "int" I have the first two done, how would I write the type gram... View Questions/Answers

java source code to create mail server using struts2  November 2, 2012 at 6:37 PM
java source code to create mail server using struts2 ... View Questions/Answers

java source code  November 2, 2012 at 6:36 PM
java source code to create mail server using struts2 ... View Questions/Answers

java source code to send group mails using struts2  November 2, 2012 at 6:34 PM
code to send group mails using struts2 ... View Questions/Answers

Create text file at client's directory from server.  November 2, 2012 at 6:23 PM
Need java code to create text file at client's directory from server..... Please Help... ... View Questions/Answers

connection proxy error in hibernate  November 2, 2012 at 5:48 PM
while we get connection through hibernate we arise an error connection proxy error while we are using multiple error message is like below statements SEVERE: Servlet.service() for servlet action threw exception org.hibernate.HibernateException: connnection proxy n... View Questions/Answers

question for c++  November 2, 2012 at 5:42 PM
write Program to swap between two numbers if first number is greater than second number and total of two numbers greater than 10 ... View Questions/Answers

question for c++  November 2, 2012 at 5:31 PM
write Program to swap between two numbers if first number is greater than second number and total of two numbers greater than 10 ... View Questions/Answers

unable to validate username and password from ms acess database  November 2, 2012 at 5:26 PM
//this code is not working! please help me to find error. thanks. <%@ page import="java.sql.*" %> <% Connection con=null; String user=request.getParameter("userid"); session.putValue("userid",user); String pwd=request.getParameter("pwd"); try{ Class.for... View Questions/Answers

unable to validate username and password from ms acess database  November 2, 2012 at 5:26 PM
//this code is not working! please help me to find error. thanks. <%@ page import="java.sql.*" %> <% Connection con=null; String user=request.getParameter("userid"); session.putValue("userid",user); String pwd=request.getParameter("pwd"); try{ Class.for... View Questions/Answers

unable to validate username and password from ms acess database  November 2, 2012 at 5:24 PM
this code is not working! please help me to find error. thanks. <%@ page import="java.sql.*" %> <% Connection con=null; String user=request.getParameter("userid"); session.putValue("userid",user); String pwd=request.getParameter("pwd");... View Questions/Answers

unable to validate username and password from ms acess database  November 2, 2012 at 5:24 PM
this code is not working! please help me to find error. thanks. <%@ page import="java.sql.*" %> <% Connection con=null; String user=request.getParameter("userid"); session.putValue("userid",user); String pwd=request.getParameter("pwd");... View Questions/Answers

MS ACCESS  November 2, 2012 at 5:21 PM
i have done : Insert form data into MS database Follow these steps: 1)Go to the start->Control Panel->Administrative Tools-> data sources. 2)Click Add button and select the driver Microsoft Access Driver(*.mdb). 3)After selecting the driver, click finish b... View Questions/Answers

MS ACCESS  November 2, 2012 at 5:21 PM
i have done : Insert form data into MS database Follow these steps: 1)Go to the start->Control Panel->Administrative Tools-> data sources. 2)Click Add button and select the driver Microsoft Access Driver(*.mdb). 3)After selecting the driver, click... View Questions/Answers

سؤاÙ? Ù?Ù? برÙ?اÙ?ج c++  November 2, 2012 at 5:21 PM
بر?ا?ج ??باد?ة ب?? ر???? إذا ?ا? ا?ر?? ا?أ?? ?? عدد أ?بر ?? ا?ثا?? ??ج??ع ر???? أ?بر ?? 10 ... View Questions/Answers

MS ACCESS  November 2, 2012 at 5:20 PM
i have done : Insert form data into MS database Follow these steps: 1)Go to the start->Control Panel->Administrative Tools-> data sources. 2)Click Add button and select the driver Microsoft Access Driver(*.mdb). 3)After selecting the driver, click... View Questions/Answers

Java code for enabling filter to a checkbox and disabling filter to that checkbox after uncheked  November 2, 2012 at 3:13 PM
Can anybody say the Java code for enabling filter to a checkbox and disabling filter to that checkbox after uncheked ... View Questions/Answers

can i use trigger to insert data within a time period ?  November 2, 2012 at 2:03 PM
Hello sir, i want to calculate company's closing account each Saturday 12.00. In this case i need the calculation will be done automatically in database and using this trigger concept the data will be insert to each Employee's ID. Plz sir help me regarding this problem.how to solve this issue and... View Questions/Answers

connection proxy error in hibernate  November 2, 2012 at 12:37 PM
while we get connection through hibernate we arise an error connection proxy error while we are using multiple connection's ... View Questions/Answers

this is my javascriptcode for dispalaying all errors in a single alert box,but unable to resolve it,please help me to sort out this.  November 2, 2012 at 10:37 AM
<html> <script> function isFormValid() { var userF = document.getElementById('FName').value; var userL = document.getElementById('LName').value; var userPW = document.getElementById('pw').value; ... View Questions/Answers

how to connect jsp with sql database by netbeans in a login page?  November 1, 2012 at 8:04 PM
how to connect jsp with sql database by netbeans in a login page? ... View Questions/Answers

how to connect jsp with sql database by netbeans in a login page?  November 1, 2012 at 8:04 PM
how to connect jsp with sql database by netbeans in a login page? ... View Questions/Answers

how to connect jsp with sql database by netbeans in a login page?  November 1, 2012 at 8:04 PM
how to connect jsp with sql database by netbeans in a login page? ... View Questions/Answers

How to create Runtime time jLabel in java swing ?  November 1, 2012 at 5:15 PM
hi sir. my problem is that i want to display database row on a jLabel. Suppose i retrived a table from database & i want to display its row value on jLabel. i m facing difficulties in creating jLabel at runtime according to user input. user will itself enter the number of J... View Questions/Answers

how to write code for this output?  November 1, 2012 at 5:04 PM
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 ... View Questions/Answers

REGISTARTION FORM VALIDADTION  November 1, 2012 at 3:50 PM
Hiee.. actually i have developed a sign up page where the details get stored in to database after registration. So i want to validate the user details during the signing up process whether the user name is already registered or not... if the user name exist in the ... View Questions/Answers

not able to deploy application war on JBOSS 6.0 running on linux 5.5  November 1, 2012 at 3:20 PM
While deploying a war file on Linux5.5 through jboss 6.0 admin console, its giving me following error javax.servlet.ServletException: Java heap space at javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) at org.apache.catalina.core.ApplicationFilterChain.int... View Questions/Answers

Java array in currency converter  November 1, 2012 at 1:38 PM
Hi all, My sister is trying to teach me java. She's in school for programming and I'm not but I am just trying to learn alongside her. I am quite lost with this multidimensional array. I do not have any programming experience. Right now I am working on this currency converter. Maybe it is... View Questions/Answers

Top Programming Languages of 2013  November 1, 2012 at 12:27 PM
Hi, What will be the Top Programming Languages of 2013? Thanks ... View Questions/Answers

IT Training  November 1, 2012 at 8:52 AM
Hi, Why IT Training is important in gaining latest technology knowledge? Thanks ... View Questions/Answers

Java  November 1, 2012 at 8:45 AM
Hi, What is the latest version of Java? Thanks ... View Questions/Answers

javascript call action class method instruts  October 31, 2012 at 7:25 PM
in struts2 onchange event call a method in Actionclass with selected value as parameter how can i do? ... View Questions/Answers

What are the elements in the deployment descriptor(web.xml)?  October 31, 2012 at 7:12 PM
What do the following elements in the deployment descriptor(web.xml)are: ??.. ?.. ??? ?? <... View Questions/Answers

Help in completing Servlet code!  October 31, 2012 at 7:11 PM
Complete the following Servlet codes to store the information read from the input form to session object. public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { String topic = req.getParameter(?topicNam... View Questions/Answers

Servlet Scope object  October 31, 2012 at 7:08 PM
Which scope object(Request, Session, Application, Page) to use if (a) I want to maintain the user profile that the customer needs to enter in multiple pages. (b) I wish to validate the user id and password entered by the user using another servlet but in the same web application.... View Questions/Answers

Use javax.servlet.http.HttpServletResponse object  October 31, 2012 at 7:06 PM
How do use javax.servlet.http.HttpServletResponse object to return Text data and Binary data? ... View Questions/Answers

RequestDispatcher object, difference between include( ) and forward( ) method.  October 31, 2012 at 7:04 PM
The RequestDispatcher object has two methods, include( ) and forward( ). What is the difference? ... View Questions/Answers

DMCA.com