Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

java  March 24, 2011 at 7:35 PM
How to create progress bar in neatbean software(using java)? Can i have shooting code in neatbean software(using java)? ... View Questions/Answers

doubt on DAO's  March 24, 2011 at 5:57 PM
hai frnds.... can anyoneexplain about how to integrate struts with hibernate,any predifined plugin is available or we need to create our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ?????... View Questions/Answers

doubt on DAO's  March 24, 2011 at 5:57 PM
hai frnds.... can anyoneexplain about how to integrate struts with hibernate,any predifined plugin is available or we need to create our own plugin????? and please help me. how to use dao s while integrating struts with hibernate..??? actually what is the purpose of dao's ?????... View Questions/Answers

Ads

multiple select values  March 24, 2011 at 4:46 PM
can you provide an example for multiple select values for html:select tag ... View Questions/Answers

How to add or create instant messaging in website?  March 24, 2011 at 4:44 PM
How to add or create instant messaging in website? ... View Questions/Answers

How to add or create instant messaging in website?  March 24, 2011 at 4:44 PM
How to add or create instant messaging in website? ... View Questions/Answers

HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE?  March 24, 2011 at 4:41 PM
HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE? ... View Questions/Answers

HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE?  March 24, 2011 at 4:41 PM
HOW TO CREATE COMMENT IN WEBSITE AND CONNECT TO DATABASE? ... View Questions/Answers

java  March 24, 2011 at 3:04 PM
code of image movement left and right ... View Questions/Answers

JAVA  March 24, 2011 at 2:37 PM
Hi, here is my code: package project1; public class dddddddddd { public static void main(String[] args) { System.out.println("dddddddddddddddd"); } } but output is as follows: run: java.lang.NoSuchMethodError: main Exception in thread "ma... View Questions/Answers

Replace TEXT  March 24, 2011 at 2:10 PM
I have two text files in two diff locatons.The text file like below using java program 1)a.txt 1 abc bangalore 2 def adfsdf 3 ghij asdfdsad 2)b.txt A B C Now i want output is like below format a.txt A abc bangalore B... View Questions/Answers

Replace  March 24, 2011 at 2:01 PM
Hi, I have two text files in two diff locatons.The text file like below using java program 1)a.txt 1 abc bangalore 2 def adfsdf 3 ghij asdfdsad 2)b.txt A B C Now i want output is like below format a.txt A abc ... View Questions/Answers

j2me  March 24, 2011 at 12:42 PM
i need more points about j2me ... View Questions/Answers

Please explain me the flow of this program..  March 24, 2011 at 12:02 PM
// Substring replacement. class StringReplace { public static void main(String args[]) { String org = "This is a test. This is, too."; String search = "is"; String sub = "was"; String result = ""; int i; do { // replace all matching subs... View Questions/Answers

calculate volume of cube, cylinder and rectangular box using method overloading in java  March 24, 2011 at 11:40 AM
calculate volume of cube, cylinder and rectangular box using method overloading in java ... View Questions/Answers

sturt2-jdbc  March 24, 2011 at 11:35 AM
Hello sir, GoodMorning I want struts2.0 with jdbc of insert ,search, delete, update example. ... View Questions/Answers

demonstrate a) static data members b) static methods  March 24, 2011 at 11:17 AM
demonstrate a) static data members b) static methods ... View Questions/Answers

how to calculate addition of two distances in feets and inches using objects as functions arguments  March 24, 2011 at 11:16 AM
how to calculate addition of two distances in feets and inches using objects as functions arguments in java ... View Questions/Answers

jsp and bean problem  March 24, 2011 at 11:09 AM
Hi i have the following jsp code... Can you plz help me in separating the code to bean? I'm new to bean and need it for my project...Plz help...Its quite urgent... Regards Priya <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <head&g... View Questions/Answers

List  March 24, 2011 at 10:54 AM
i do have one list object, i want to compare this list from database table and if match found i want to update the list ... View Questions/Answers

servlet  March 24, 2011 at 10:52 AM
is there any way to include pdf's in servlet ... View Questions/Answers

struts  March 24, 2011 at 10:20 AM
I have no.of checkboxes in jsp.those checkboxes values came from the databases.we don't know howmany checkbox values are came from database.dynamically based on the database values checkboxes were created.we create setter and getter methods for those checkboxes in ActionForm.finally we get those ... View Questions/Answers

code related problem  March 24, 2011 at 10:17 AM
this code is compiling but not running please help import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Mybutton11 extends JFrame { JTextField text1 = new JTextField(20); JButton button1; JButton button2 ; JFrame frm; public Mybutton11() { new... View Questions/Answers

form validation  March 24, 2011 at 10:09 AM
how the form validation is done in jsf form using javaScript ... View Questions/Answers

expression language array  March 24, 2011 at 9:42 AM
var test='${abc.myarray}'; //myarray is string array in bean //abc How to get the length of myarray? I tried test.length which does not work. ... View Questions/Answers

HOW TO RUN JDBC PRORAM ON JDK1.5.0  March 24, 2011 at 7:00 AM
import java.sql.*; import java.util.*; class MyDbCode3* { public static void main(String [] args) { try `print("code sample");` { `print("code sample");` Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch(ClassNotFoundException cnf) { System.out.println("Cannot ... View Questions/Answers

Stream Cipher  March 24, 2011 at 6:28 AM
I want to encrypt data use two layer cipher as follow,but it seems not work, why and how, thanks´╝? encrypt part´╝? Cipher cf1 = Cipher.getInstance(ciphAlg1); cf1.init(Cipher.ENCRYPT_MODE, key1, paramSpec); Cipher cf2 = Cipher.getInstance(ciphAlg2); cf2.init(Cipher.ENCRYPT_MODE, key2, par... View Questions/Answers

indexof case insensitive java  March 24, 2011 at 1:13 AM
Hi, I have to use the indexOf function on String class in Java. I am looking for indexof case insensitive java example. Share the code with me. Thanks ... View Questions/Answers

JDBCAppender  March 23, 2011 at 7:46 PM
I have already included (log4j.xml) in my project, in which JDBCAppender is defined but still there is a problem. ... View Questions/Answers

uploading and copying files  March 23, 2011 at 7:28 PM
how can i upload and copy one file based on the given inputs and copy it from one directory to another ... View Questions/Answers

how to convert jsp to exe  March 23, 2011 at 4:41 PM
hello sir, i am doing webapplication. the configuration is windows xp operating system,IE6.0,apache tomcat5.0,j2se5.0 and jsp,servlets i am using.this is doing in localhost only. now i want this application in another system. i donot like to install tomcat and j2se to another system. so... View Questions/Answers

Merge databases in SQL SErver 2005  March 23, 2011 at 4:25 PM
Please help me to merge databases in SQL server 2005. ... View Questions/Answers

java jvm  March 23, 2011 at 4:22 PM
In java in what memory area instance,static and local variables will be stored. ... View Questions/Answers

Hexadecimal numbers multiplication  March 23, 2011 at 4:14 PM
Sir, I have to multiply 128 bit hexadecimal numbers. Do u have any logic for this?? The numbers are like ab7564fa342b5412c34d9e67ab341b58 ... View Questions/Answers

struts2 filters  March 23, 2011 at 3:40 PM
hi i created a filter,if the session is null then it should to go error page that ur not authorized to access, nw my question is how to use means how to call filter to do the task pls help me........... ... View Questions/Answers

how to connect program to database  March 23, 2011 at 3:40 PM
Sir i want ur help in my program. I want to save the data in the database. When i'll click on save button the entered data must be save in the database. I want an action performed method for this. import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public ... View Questions/Answers

insert code jsp to access  March 23, 2011 at 3:40 PM
insert code jsp to access ... View Questions/Answers

Why binding attribute is required in jsf frame work  March 23, 2011 at 3:37 PM
Why binding attribute is required in jsf frame work. And what use of binding attribute. ... View Questions/Answers

code for insert the value from jsp to access database  March 23, 2011 at 3:33 PM
code for insert the value from jsp to access database ... View Questions/Answers

how to create web page on jsp?  March 23, 2011 at 3:00 PM
how to create web page on jsp? ... View Questions/Answers

File Transfer  March 23, 2011 at 2:25 PM
How to create a file in server side using java swing? ... View Questions/Answers

how to get the checkbox value in jsp  March 23, 2011 at 1:18 PM
how to get the checkbox value in jsp? ... View Questions/Answers

checkbox value in php  March 23, 2011 at 1:17 PM
In my HTML,PHP form ..we have a check box that is working fine. But anyhow i am not able to get the value of it. Can anyone suggest how to get the value of checkbox in PHP? ... View Questions/Answers

Records are not inserting in to main table while running the mysql stored procedure.  March 23, 2011 at 1:12 PM
Hi, Im migrating procedures from oracle to MySql.In that procedure records are not inserted into main table from temp table.But im getting msg as "inserted successfully".What could be the reason for that.Can you plz help me with this issue. My Code: BEGIN select concat('Inserting in... View Questions/Answers

Daemon thread  March 23, 2011 at 12:48 PM
what is need of daemon thread? ... View Questions/Answers

Daemon thread  March 23, 2011 at 12:48 PM
what is need of daemon thread? ... View Questions/Answers

cpu utilization for every 10 nano sec  March 23, 2011 at 12:47 PM
how do i get cpu utilization for my code for every 10 nano seconds ... View Questions/Answers

Marker Interface  March 23, 2011 at 12:46 PM
What is the need of Marker Interface?When should we use it? ... View Questions/Answers

Why the wait(),notify() should not avaialable in Thread class.  March 23, 2011 at 12:44 PM
wait(),notify(),notifyall() is available in Object class.We are using those method in Threading then why don't they put the 3 methods in thread class. ... View Questions/Answers

NSUserDefaults Example  March 23, 2011 at 12:25 PM
Hi, How to use NSUserDefaults? Can anyone share me the NSUserDefaults example code? Thanks ... View Questions/Answers

uiscrollview background color  March 23, 2011 at 12:21 PM
Is it possible to set the uiscrollview background color in iPhone application? ... View Questions/Answers

what is php used for in web design  March 23, 2011 at 12:18 PM
what is php used for in web design? ... View Questions/Answers

jsp  March 23, 2011 at 11:59 AM
how to pass jsp variable to an html page ... View Questions/Answers

JDBCAppender  March 23, 2011 at 11:03 AM
Dear Friends, I am a newer person on java technology. I define a JDBCAppender in XML file which is not working properly.Anyone can tell me the steps to overcome this problem. THESE ARE THE ERRORS: java.io.FileNotFoundException: E:\Reader\log4j.xml (The system cannot... View Questions/Answers

PHP Prevent blank upload  March 23, 2011 at 10:51 AM
In my small PHP application, i am posting a data to server using POST method in PHP, which is working fine. But the problem is that it also accepts blank data as well as duplicate value. Is there any way to check and prevent it from posting the blank value? Thanks! ... View Questions/Answers

converting field to text sql  March 23, 2011 at 10:43 AM
I wanted to convert the field to TEXT in SQL.. is it possible? ... View Questions/Answers

reading data using struts and jsp java  March 23, 2011 at 10:37 AM
how can i read data entered by user into a textbox (jsp page) into struts action class ex emp id,so that after reading emp_id it can be read into struts action class for retrieving other employee related data? ... View Questions/Answers

value and binding attribute  March 23, 2011 at 10:34 AM
What is the difference between value and binding attribute in jsf. ... View Questions/Answers

value and binding attribute  March 23, 2011 at 10:32 AM
What is the difference between value and binding attribute of jsf tag ... View Questions/Answers

jsf attribute  March 23, 2011 at 10:27 AM
What is the different between value and binding attribute of jsf in ... View Questions/Answers

include a jsp file  March 23, 2011 at 10:26 AM
Sir, I have 2 jsp pages. I want to include second jsp in the first jsp page when a button in the first jsp is clicked. how can I do this. I tried in sevaral ways . I am using jsp and javascript... anyone please help me.. thanks in advance ... View Questions/Answers

sql tips for optimizing queries  March 23, 2011 at 10:23 AM
Can anyone share tips on how to optimize sql queries ? ... View Questions/Answers

unicodetxtx file  March 23, 2011 at 10:17 AM
i am trying to read a txt file using java that has punjabi words but it is reading only english words? i am using the code below: package unicode; import java.io.*; public class ReadUTF8{ public static void main(String[] args)throws IOException{ int j=0; try{... View Questions/Answers

in java, how to store the oputput in tha hard disk in a particular location  March 23, 2011 at 8:43 AM
how to store the output in the hard disk? ... View Questions/Answers

WANT TO RESTRICT EDITING AFTER A SET OF DATE  March 23, 2011 at 7:51 AM
localhost : Server version: 5.0.51b-community-nt phpMyAdmin - 2.11.7 hello guys, i have to continue my work more complex.. but i dont have any idea to do that... i want to restrict user from "edit" existing data, after a set of date... an example, a user... View Questions/Answers

Java question  March 23, 2011 at 2:16 AM
Write a program that converts a (C to F Converter from 0 - 20) and writes the output to a file instead of the screen. Open the file in Notepad to confirm the output. ... View Questions/Answers

write a java program for pagination which will be configured by end user  March 23, 2011 at 12:20 AM
write a java program for pagination which will be configured by end user ... View Questions/Answers

write a java program for pagination which will be configured by end user  March 23, 2011 at 12:17 AM
write a java program for pagination which will be configured by end user ... View Questions/Answers

leap  March 23, 2011 at 12:01 AM
Check the given year for leap year (Test Case: 2010, 2012 , 1900) ... View Questions/Answers

java  March 22, 2011 at 11:41 PM
give a simple example for inheritance in java ... View Questions/Answers

java  March 22, 2011 at 11:41 PM
give a simple example for inheritance in java ... View Questions/Answers

project  March 22, 2011 at 10:28 PM
write the source code for e-music(online shopping website). ... View Questions/Answers

project  March 22, 2011 at 10:28 PM
write the source code for e-music(online shopping website). ... View Questions/Answers

library management system  March 22, 2011 at 9:29 PM
coding for library management system ... View Questions/Answers

Menu  March 22, 2011 at 8:05 PM
Pl make a program which generates the following output. "Select from this menu" 1. Array 2. Stack 3. Queue. 4. Exit. If users press 1, then it will go in 1. Array. Welcome in Array. press 1. for Insertion press 2. for deletion press 3. for traversing press 4. for s... View Questions/Answers

delete row using id  March 22, 2011 at 7:03 PM
package pkg2; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.cfg.Configuration; public class NewClass3 { public static void main(String[] args) { // TODO Auto-generated method stub... View Questions/Answers

HTML Table in javascript  March 22, 2011 at 6:44 PM
hi all, how to add last row with sum in table using javascript ... View Questions/Answers

Crystal Reports with Spring: problem  March 22, 2011 at 6:17 PM
Hi all, having successfully used the Crystal Reports' API - JRC version 11.8.4.1094 - in a Java environment with: 1)JBoss 4.2.3, 2)Oracle 11, 3)EJB 2, 4)Crystal Reports 2008 as reporting tool, I would like to integrate Crystal Reports into my existing spring MVC and hibernate... View Questions/Answers

what is the meaning this coad?  March 22, 2011 at 3:41 PM
what is the meaning this coad? Example Form example form = (Example Form) form; ... View Questions/Answers

i have problem with this query... please tell me the resolution if this .........  March 22, 2011 at 1:24 PM
select initcap(ename),job from emp where substr(job,4,length(job,4,3)))='age' / ... View Questions/Answers

i have problem with this query... please tell me the resolution if this .........  March 22, 2011 at 1:20 PM
select length(ename)||' charecters exist in '||initcap(ename)||'s name' as "names and length" from emp; ... View Questions/Answers

Sorting along life span  March 22, 2011 at 1:12 PM
how to find total age in date of birth and date of death.and also sort along life span.using object class and collection API. ... View Questions/Answers

servlet  March 22, 2011 at 12:49 PM
i want a program for counting the no of times the servlet has been invoked ... View Questions/Answers

error : not an sql expression statement  March 22, 2011 at 12:32 PM
hii I am gettin followin error in connecting to database SQLserver 2005 in Jdeveloper,i m usin struts and jsp my pogram: import java.sql.*; public class TaskBO { public TaskBO() { } public boolean createtask(Taskdata taskdata) { try { Conne... View Questions/Answers

please tell me  March 22, 2011 at 12:27 PM
which cmd we use to clear the screen in sql prompt ... View Questions/Answers

Pls send code  March 22, 2011 at 12:19 PM
I am Mohini Charankar suppose Name="Mohini" Edit Button Click on that I change my Name with "Mohini/" Save it and page refresh After that again I want change my name click on edit button then it will generate an error pls send code ... View Questions/Answers

please tell me  March 22, 2011 at 11:50 AM
select * from emp order by 5 desc; in the above what is the meaning of 5, and what its functionality......... ... View Questions/Answers

How many types of web hosting are available?  March 22, 2011 at 11:31 AM
How many types of web hosting are available? And which one is best for Small Business?? Thanks!! ... View Questions/Answers

Universal Login Authorization  March 22, 2011 at 11:22 AM
Hello, I am Pradeep i need a help on login authorization. Imean, when i use a direct link of one of my web page without providing credentials (without logging in) then i need to be redirected to the login page for proper login with login credentials. please can any one help me ab... View Questions/Answers

HIBERNARTE  March 22, 2011 at 11:14 AM
IN HYBERNATE FRAME WORK WHY POJO CLASS IMPELEMENTS SERILAIZABLE INTERFACE AND WHY WE WILL WRITE DEFAULT CONSTRUCTOR IN POJO CLASS ... View Questions/Answers

Error : javax.servlet.jsp.JspException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope  March 22, 2011 at 10:54 AM
I am getting following error in my struts-jsp proram for adding data to the database. 500 Internal Server Error javax.servlet.jsp.JspException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope at org.apache.struts.util.RequestUtils.l... View Questions/Answers

Struts  March 22, 2011 at 10:44 AM
I want to get the data from database into text box in a jsp page by using struts and javascript If I click on go button it will display all the values and from that i need to select the required value and i should store the selected value into a variable. Plz help me out Thanks in advance... View Questions/Answers

diplay response  March 22, 2011 at 10:42 AM
Sir, How show sum of two tex boxes data to third box ... View Questions/Answers

how to display response in request page  March 22, 2011 at 10:33 AM
Sir/Mom, My request page have three text boxes. Enter register number in the first box then click the submit button.This time shows the name and mark to display the second and third boxes by under the register number. ... View Questions/Answers

ashok  March 22, 2011 at 10:21 AM
what is the clone in atg? ... View Questions/Answers

What is JavaScript Variables ?  March 22, 2011 at 10:15 AM
Hi, My question is that What is Variable in JavaScript Programming Language. How to declare variables in JavaScript Program. Thanks, ... View Questions/Answers

uiviewcontroller viewwillappear  March 22, 2011 at 10:13 AM
When i reload uiviewcontroller, viewwillappear method not getting called. Can anyone please explain what is the proble? ... View Questions/Answers

viewwillappear example  March 22, 2011 at 10:11 AM
i need an example of viewwillappear. ... View Questions/Answers

viewwillappear not called  March 22, 2011 at 10:09 AM
When i browse between different views in my application, viewwillappear not called. What is the problem? ... View Questions/Answers

viewwillappear not called  March 22, 2011 at 10:09 AM
When i browse between different views in my application, viewwillappear not called. What is the problem? ... View Questions/Answers

DMCA.com