Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

checkbox selection in jsp  January 21, 2011 at 5:21 PM
hey guys i am working on a web based project using jsp. In my project i am having 9 check boxes in 3 rows in the same form. I want to select i check box from each row and also i want to avoid many check box in the same row. How can i get this one working? Can anyone help me ... View Questions/Answers

Apache Tomcat6.0  January 21, 2011 at 5:13 PM
Starting Tomcat process... Waiting for Tomcat... Starting of Tomcat failed. E:\Project\Medisoft\nbproject\build-impl.xml:590: Deployment error: Starting of Tomcat failed. See the server log for details. BUILD FAILED (total time: 3 minutes 5 seconds) i dont know why it occur when run tomca... View Questions/Answers

jsp  January 21, 2011 at 4:39 PM
<p>hai sir, i have to send the data which i have in hrid table to data base and at the same time to the next form . i will give u the code.</p> <p>first form(project Manager.jsp) &lt;%@ page language = "java" import = "java.sql.<em&... View Questions/Answers

Ads

jsp  January 21, 2011 at 4:39 PM
<p>hai sir, i have to send the data which i have in hrid table to data base and at the same time to the next form . i will give u the code.</p> <p>first form(project Manager.jsp) &lt;%@ page language = "java" import = "java.sql.<em&... View Questions/Answers

solve this pbm  January 21, 2011 at 4:21 PM
sir rows are also inserting i have checked in the database also the rows are not affected in the table . The first pbm wich i have sent to you is not yet solved.......... pls give me detail explaination how we can execute the program ... View Questions/Answers

uibarbuttonitem initwithcustomview action  January 21, 2011 at 3:36 PM
HI, Can anyone provide me the code for uibarbuttonitem initwithcustomview action? In my application I am adding custom BarButtonItem, how I can attach an action to it? Thanks ... View Questions/Answers

Struts-jdbc  January 21, 2011 at 3:26 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> &lt;%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> &lt;%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <html:html locale="true"> <HEAD> &l... View Questions/Answers

solve this pbm  January 21, 2011 at 2:45 PM
its not working the code for databae access using servlets ... View Questions/Answers

How to run our application after deploying .war file in tomcat6.0  January 21, 2011 at 2:25 PM
I did all the things already, but I don't want this way. What I did, 1) first I created one html file,one servlet file and one web.xml file 2) Then I put all these files in appropriate directories. 3) I created .war file of my web application. 4) I started tomcat 5) Then in tomcat I mention .war... View Questions/Answers

java script to replace words starting and ending with tild(~) symbol in a text area with the word highlighted yellow.  January 21, 2011 at 1:15 PM
Hi, I have an issue with highlighting text in a text area. I am designing a page to send email. currently the email subject and body is having a predefined format where the user needs to enter appropriate text for the portion preceded and succeded with tild(~) symbol. This is applicable in the su... View Questions/Answers

JSP  January 21, 2011 at 1:10 PM
How to run jsp program in eclipse? ... View Questions/Answers

what is the resolution for the bellow error?  January 21, 2011 at 1:05 PM
pe Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.Messag... View Questions/Answers

Permgen error  January 21, 2011 at 12:25 PM
hi how can i solve permgen error ... View Questions/Answers

How to run our application after deploying .war file in tomcat6.0  January 21, 2011 at 12:24 PM
How to run our application after deploying .war file in tomcat6.0? ... View Questions/Answers

HTTPClient Delete Method program ( for REST API to delete a user )  January 21, 2011 at 12:18 PM
HI Friends, I am trying a HTTP delete method for creating REST API in java. can any one provide me a HTTPClient Delete method program for reference. Please help me out, Thanks in advance. Waiting for ur reply......... Thank u. regards, Milind ... View Questions/Answers

solve this problem  January 21, 2011 at 12:05 PM
I typed this program and compiled.The program is compiled but when i eneterd url in tomcat server. Its not giving error but only blank page is coming the text is not displaying and row is also inserted in table please tell me the solution for thid problem ... View Questions/Answers

event handling in jsp  January 21, 2011 at 11:56 AM
i am developing a web application. i am getting a problem in event handing in jsp. in this web application there is a file generic.jsp for this jsp page i am using a database name as "priyadarshaniDB" and in this database i am using a table "tblgeneric". The details of generic.jsp file ... View Questions/Answers

Java  January 21, 2011 at 11:38 AM
How to read file using java ... View Questions/Answers

HTML5  January 21, 2011 at 10:54 AM
Hi, What is HTML5? Thanks ... View Questions/Answers

jdbc connections  January 21, 2011 at 10:41 AM
How can I coonect with oracle9i with java program using both thin driver and sun driver. plz send sample code for both the drivers ... View Questions/Answers

Can someone review my script for an apparent parsing error? -it isn't quite finished yet, but I want to fix error first  January 21, 2011 at 7:25 AM
import java.util.Scanner; class historyquiz{ public static void main(String args[]){ Scanner ans = new Scanner(System.in); System.out.println("1 = Dwight L. Moody; 2 = Ira Sankey; 3 = T. De Witt Talmage; 4 = B. H. Caroll");... View Questions/Answers

convert it to BufferedReader class  January 21, 2011 at 7:14 AM
import java.util.*; public class method { static Scanner console = new Scanner (System.in); public static void main (String[] args) { int num1,num2,maximum,minimum; double average; System.out.print ("Enter two numbers : "); num1=console.nextInt(... View Questions/Answers

How to get of lastmodified file list between two times in java?  January 21, 2011 at 4:03 AM
Hi, here is a code that list the last modified files in a directory between two dates. This is working well but is it possible to do the same thing between two times like get the last modified file bet 02:00:00am and 01:00:00am (so the interval time is 23h) ... View Questions/Answers

SELECT query using executeUpdate() instread of executeQuery()  January 21, 2011 at 12:34 AM
for Ex: class sample{ public static void main(String a[]){ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:orcl", "", ""); String str="Slect * from EMP"; Statement ... View Questions/Answers

SELECT query using executeUpdate() instread of executeQuery()  January 21, 2011 at 12:22 AM
can we execute SQL SELECT query using executeUpdate() instread of executeQuery() method ... View Questions/Answers

hi.......  January 20, 2011 at 11:30 PM
i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i enter in my frame should reach mysql and should get saved in a database which we'v... View Questions/Answers

railway reservation  January 20, 2011 at 11:29 PM
i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i enter in my frame should reach mysql and should get saved in a database which we'v... View Questions/Answers

online examination system project in jsp  January 20, 2011 at 10:24 PM
How many tables are required in SQL for online examination system project in jsp in java my email id is ... View Questions/Answers

online examination system project in jsp  January 20, 2011 at 10:23 PM
How many tables are required in SQL for online examination system project in jsp in java ... View Questions/Answers

Extracting equation from any document  January 20, 2011 at 9:38 PM
how can i extract equation from any word document? ... View Questions/Answers

passing data from one jframe to another  January 20, 2011 at 8:56 PM
I have two JFrame,built by using the GUI Editor netbeans 6.9.i have to pass a data from a Jtextfield in the first Jframe to another JLabel in the other JFrame.Can you please help me,how can i do so?PLease,i made lots of search but yet i can't do it... ... View Questions/Answers

deploy java application  January 20, 2011 at 8:51 PM
how i will deploy an java applet in Apache Http Server in unix ... View Questions/Answers

need code  January 20, 2011 at 8:04 PM
Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons?).Add a behavior to change the color and loading capacity. Display the updated truck details. ... View Questions/Answers

need code  January 20, 2011 at 8:04 PM
Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons?).Add a behavior to change the color and loading capacity. Display the updated truck details. ... View Questions/Answers

need code  January 20, 2011 at 8:04 PM
Create Vehicle having following attributes: Vehicle No., Model, Manufacturer and Color. Create truck which has the following additional attributes:loading capacity( 100 tons?).Add a behavior to change the color and loading capacity. Display the updated truck details. ... View Questions/Answers

nofollow example  January 20, 2011 at 7:49 PM
Hi, Provide me nofollow example code. Thanks ... View Questions/Answers

How to add nofollow in website link?  January 20, 2011 at 7:48 PM
Hi, I want to add nofollow in my outgoing links. What is the code? Thanks ... View Questions/Answers

PHP Date  January 20, 2011 at 7:35 PM
Hi, How to use PHP Date functions in my PHP program? Thanks ... View Questions/Answers

HI!!!!!!!!!!!!!!!!!!!!!  January 20, 2011 at 7:17 PM
import java.awt.*; import java.sql.*; import javax.swing.*; import java.awt.event.*; public class NewJFrame extends javax.swing.JFrame { JTextField text1,text2,text3,text4,text5,text6,text7,text8,text10; JLabel label1,label2,label3,label4,label5,lab... View Questions/Answers

HIIIIIIIIIII  January 20, 2011 at 7:16 PM
import java.awt.*; import java.sql.*; import javax.swing.*; import java.awt.event.*; public class NewJFrame extends javax.swing.JFrame { JTextField text1,text2,text3,text4,text5,text6,text7,text8,text10; JLabel label1,label2,label3,label4,label5,lab... View Questions/Answers

what is the size of java class  January 20, 2011 at 6:10 PM
Could anyone tell me how to find the size of the class given below. public class Sample { private int x; private int y; private char ch; public static void main(String[] args) { Sample sample = new Sample(); sample.x = 1; sample.y = 2; sample... View Questions/Answers

java loops  January 20, 2011 at 5:19 PM
to find the sum of alternate digits in a given no. ... View Questions/Answers

Vehicle tracking  January 20, 2011 at 4:59 PM
please help me with the complete vehicle tracking code using j2me.urgently please.Carol. ... View Questions/Answers

Sava data from Form to XML file using strutrs  January 20, 2011 at 4:16 PM
I'am a biginner with struts want so save data from my form in an Xml file using struts but i'm searching witout finding a solution thanks fo your help ... View Questions/Answers

Servlets  January 20, 2011 at 3:14 PM
how to connect tomcat with me eclipse ... View Questions/Answers

Login authentication  January 20, 2011 at 3:10 PM
i want d code for login authentication from mysql database on the same pc using swings ... View Questions/Answers

Login authentication  January 20, 2011 at 3:10 PM
i want d code for login authentication from mysql database on the same pc using swings ... View Questions/Answers

C# code  January 20, 2011 at 2:55 PM
hi pls clear my doubts this is my code but out is not well through this code i need display a particular row to a particular columns pls help me thank you, protected void Button3_Click(object sender, EventArgs e) { SqlConnection co=new SqlConnection (ConfigurationManager .Con... View Questions/Answers

Bio informatics  January 20, 2011 at 2:44 PM
Java source code for motif finding problem usin branch and bound technique ... View Questions/Answers

hi.......  January 20, 2011 at 2:16 PM
import java.awt.; import java.sql.*; import javax.swing.*; import java.awt.event.* public class NewJFrame extends javax.swing.JFrame { JTextField1 text1,text2,text3,text4,text5,text6,text7,text8,text10; JLabel label1,label2,label3,label4,label5,label6,label7... View Questions/Answers

help!!!!!!!!!!!!!!!!!!  January 20, 2011 at 2:14 PM
import java.awt.; import java.sql.*; import javax.swing.*; import java.awt.event.* public class NewJFrame extends javax.swing.JFrame { JTextField1 text1,text2,text3,text4,text5,text6,text7,text8,text10; JLabel label1,label2,label3,label4,label5,label6,label7... View Questions/Answers

COMMAND LINE ARGUMENTS  January 20, 2011 at 1:25 PM
JAVA PROGRAM TO ACCEPT 5 COMMAND LINE ARGUMENTS AND FIND THE SUM OF THAT FIVE.ALSO FIND OUT LARGEST AMONG THAT 5 ... View Questions/Answers

jav-util.zip  January 20, 2011 at 1:02 PM
i need to load a zipfile in to my class while executing and i have extract each file in that zip and a particular file content i need to desplay how can i do this please help me ... View Questions/Answers

servlet execution  January 20, 2011 at 1:00 PM
there is servlet-api.jst in tomcat lib. How to set the servlet-api.jar in jcreator ide? ... View Questions/Answers

servlet execution  January 20, 2011 at 12:52 PM
there is servlet-api.jst in tomcat lib. How to set the servlet-api.jar in jcreator ide? please explain in detail. ... View Questions/Answers

matrix polynamial addtion  January 20, 2011 at 11:24 AM
hai ... View Questions/Answers

matrix determination in java  January 20, 2011 at 11:22 AM
hai ... View Questions/Answers

matrix substraction  January 20, 2011 at 11:19 AM
hai ... View Questions/Answers

Creating files of PDF's thumnails  January 20, 2011 at 11:18 AM
Hi, How to create PDF's thumbnail in PHP? Thanks ... View Questions/Answers

matrix substraction  January 20, 2011 at 11:17 AM
hai ... View Questions/Answers

matrix addition  January 20, 2011 at 11:08 AM
hai ... View Questions/Answers

matrix addition  January 20, 2011 at 11:07 AM
hai ... View Questions/Answers

matrix adddition  January 20, 2011 at 11:01 AM
how to write a program matrix addition in java ... View Questions/Answers

Hibernate named queries  January 20, 2011 at 10:53 AM
Hi, What is named queries in Hibernate? Thanks ... View Questions/Answers

javax.persistence.entitymanager  January 20, 2011 at 10:50 AM
Hi, Please let's know if javax.persistence.entitymanager a JPA interface? Thanks ... View Questions/Answers

text processing program  January 20, 2011 at 10:42 AM
how can i compare letter by letter? what i was trying to do is a program that can define what is root word,prefix and suffix. plz help ... View Questions/Answers

Review  January 20, 2011 at 10:17 AM
Friends please help e on this How to write java code to display the next question onclicking review button ... View Questions/Answers

Process in Java  January 20, 2011 at 9:43 AM
how can I execute a java program as a process which i can monitor it in the task manager to see the cpu usage? ... View Questions/Answers

UIButton sender tag  January 20, 2011 at 8:33 AM
Hi, How to get the tag of button? I have several buttons and one event is mapped to all the buttons, I want to get the UIButton sender tag. Thanks ... View Questions/Answers

UIButton sender tag  January 20, 2011 at 8:33 AM
Hi, How to get the tag of button? I have several buttons and one event is mapped to all the buttons, I want to get the UIButton sender tag. Thanks ... View Questions/Answers

{create stack with queue}  January 20, 2011 at 4:14 AM
how can create queue that accept all data type ?? meanse that this array is used accept all type for example(int ,char,String,float).?? please help me ....which output is : 1- to create queue 2-Equeue 3-Dqueue 4-search 5-to exit ... View Questions/Answers

How to call servlet in JSP?  January 20, 2011 at 1:32 AM
How to call servlet in JSP? ... View Questions/Answers

uialertview example iphone  January 20, 2011 at 12:36 AM
Hi, How to write uialertview example iphone code? Thanks ... View Questions/Answers

sql command question  January 19, 2011 at 11:41 PM
I have three tables as below: Table 1: options fields: optionsID, optionsCatID, name Table 2: optionCat fields: optionsCatID, name Table 3: prodcutOptions fields: pID, optionsID, prodcutID I designed this tables for multiple prodcut options for ecommerce site. I don't know... View Questions/Answers

Project  January 19, 2011 at 9:58 PM
How to show Questions randomly so that no two student get the same questions in online examination system project in Java Server Pages ... View Questions/Answers

making help window  January 19, 2011 at 9:53 PM
how to make help window in gui with java ... View Questions/Answers

j2ee  January 19, 2011 at 7:55 PM
what is j2ee ... View Questions/Answers

DOJO full form  January 19, 2011 at 7:03 PM
what is the full form of dojo ... View Questions/Answers

catching tomcat object to swing application  January 19, 2011 at 6:14 PM
Hi, I have 2 java projects, one is running on tomcat server and another is at client pc ie swing application. So I need to catch a server side object from swing application. How can I do it? Thank You in advance... Uday ... View Questions/Answers

java  January 19, 2011 at 5:36 PM
i want the codings of transport services using the concept of abstract classes and methods,static members,inheritance,overriding concepts,constructor overloading ... View Questions/Answers

spring mvc3 and hibernate with annotation example  January 19, 2011 at 4:58 PM
please send an example which is used to store the form data into database using spring with hibernate using annotations. ... View Questions/Answers

jdbc  January 19, 2011 at 4:28 PM
how to write program to save data and retrieve data from the form in Java ... View Questions/Answers

request object value  January 19, 2011 at 4:26 PM
Hi Friends I am developing a web application. In this application we have a login page. Thr are different text field. when we login in this page, we have to fill all information. I want to maintain all request object value for whole application. Problem is..envirement session,application object a... View Questions/Answers

trigor656  January 19, 2011 at 4:23 PM
HI, my teacher has given me a project in JAVA and i don't know what the code was can you help me. HERE'S THE PROBLEM... write a method that tales an integer value and returns the number with its digit reverse.For Example given the number 7631 the method should return 1367 ... View Questions/Answers

Marker interfaces in java  January 19, 2011 at 4:19 PM
how marker interfaces work? ... View Questions/Answers

angel656  January 19, 2011 at 4:18 PM
write a method that tales an integer value and returns the number with its digit reverse.For Example given the number 7631 the method should return 1367 ... View Questions/Answers

Java  January 19, 2011 at 4:01 PM
I recently create a program in jsp (netbeans 6.8, tomcat, mysql) where user can login and click on the link that open an excel sheet, but I want they can open or save or cancel the file( preferly open/close/cancel window) please forward me the complete jsp ... View Questions/Answers

Hostel management information system  January 19, 2011 at 3:09 PM
Can u send me mvc based project of hostel management systenm source code? ... View Questions/Answers

Java interview qeastion  January 19, 2011 at 1:47 PM
how i can run java class file into jsp program ... View Questions/Answers

servlet execution  January 19, 2011 at 1:28 PM
i saved tomcat in path C:\Program Files\Java\Tomcat 6.0 there is file in tomcat lib folder as servlet-api(Executable jar file 84kb) how to set the servlet-api.jar in jcreator ide? please explain in detail ... View Questions/Answers

servlet execution  January 19, 2011 at 1:01 PM
when i complied servlet in Jcreator i am getting this errors. i also set CLASSPATH in environment variable as *C:\Program Files\Java\Tomcat 6.0\lib\servlet-api.jar* till i am getting following errors i follow all the instructions steps. C:\Program Files\J... View Questions/Answers

servlet execution  January 19, 2011 at 1:00 PM
when i complied servlet in Jcreator i am getting this errors. i also set CLASSPATH in environment variable as C:\Program Files\Java\Tomcat 6.0\lib\servlet-api.jar till i am getting following errors i follow all the instructions steps . C:\Program Files\Java... View Questions/Answers

project  January 19, 2011 at 12:51 PM
Write a code to print the data being transferred on the open port of a network? ... View Questions/Answers

Project  January 19, 2011 at 11:39 AM
&lt;% String project<em>no=request.getParameter("project</em>no"); String qry="select stud<em>name,project</em>name,project<em>type,project</em>no,receipt<em>no,receipt</em>fees,"; qry+=" receipt<... View Questions/Answers

Project  January 19, 2011 at 11:39 AM
&lt;% String project no=request.getParameter("project no"); String qry="select stud name,project name,project type,project no,receipt no,receipt fees,"; qry+=" receipt amt,receipt tax,tot weeks,to char(receipt dt,'dd/mm/yyyy') from proj master "; ... View Questions/Answers

basic program  January 19, 2011 at 11:28 AM
hii actully i am goin for technical interview on java as fresher so please tell me what these two basic lines means : public static void main(String arg) and System.out.print(); please give me meaning of each word ... View Questions/Answers

Rocket ship  January 19, 2011 at 11:19 AM
I have to write a program which the output is like a rocket ship similar to this /**\ //**\\ ///**\\ ////**\\ /////**\\\ +======+ |../..../..| |./\/../\/.| ... View Questions/Answers

mysql query  January 19, 2011 at 11:18 AM
how do transfer into the excel data to my sql ... View Questions/Answers

How to send and recieve email by using java mailserver  January 19, 2011 at 10:44 AM
How to send and receive email by using java mail server? ... View Questions/Answers

XML clonning with java and passing arguments  January 19, 2011 at 4:21 AM
Hi, I have a XML file as follows. My requirements are as below. 1. Clone the whole xml file. 2. Iterate depending on the number provided. Say 1 means only one set with arugments1 if 2 then with arguments1 and then arguments2. ... View Questions/Answers

DMCA.com