Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

uiwebview stringbyevaluatingjavascriptfromstring example  June 1, 2011 at 7:53 PM
Hi, Can anyone share example code for using uiwebview stringbyevaluatingjavascriptfromstring function? thanks ... View Questions/Answers

websphere  June 1, 2011 at 7:52 PM
hi i am working in developing the websphere portlets. but i dont have sufficient knowledge on portlets. please suggest me how to learn websphere portlets. Thanks Sathish ... View Questions/Answers

compiling programme IJVM  June 1, 2011 at 7:51 PM
I TRY AND COMPILE THE PROGRAMME BELOW BUT HAS ERROR APPEAR ALL THE TIME,,CAN ANYONE CORRECT THE CODE AND WRITE UP THE NEXT METHOD FOR POWER IN THE PROGRAME AS WELL...URGENT // Program to read two single digit numbers and display // a.sum // b.difference (a-b or b-a, whichever gives a pos... View Questions/Answers

Advertisement

write a program which asks the user for two int values and calculates their sum.  June 1, 2011 at 7:46 PM
The title says it all, an example is (1,2) > 3 ... View Questions/Answers

java script text box  June 1, 2011 at 7:12 PM
hi, I created a button when i click on button(next/prev) new two textbox is created. i want to do the two textbox will show by next and prev button. when i click the next button only two textbox show same way prev button. dont add two textbox two by two,and i want to do that when i wi... View Questions/Answers

struts2 how can we add an radio button to form using a class(doa)  June 1, 2011 at 6:42 PM
Hi I had created an class of subscription,and iam trying to add an radio button on the registration form how to do plz help me out here is my code model class: import java.util.*; /** * State generated by hbm2java */ public class Subscr... View Questions/Answers

struts2 how can we add an radio button to form using a class(doa)  June 1, 2011 at 6:42 PM
Hi I had created an class of subscription,and iam trying to add an radio button on the registration form how to do plz help me out here is my code model class: import java.util.*; /** * State generated by hbm2java */ public class Subscr... View Questions/Answers

WebServer  June 1, 2011 at 4:29 PM
what is BEA weblogic server?and how to use this into realtime? how to help for us this server? ... View Questions/Answers

question  June 1, 2011 at 4:26 PM
Hi good morning sir, how to send an error message to an html page after checking the database for different users.for eg:your user name or password is incorrect.reply me with code, without using bean.using servlet,html,jsp and simple java script.i don't know ajax ... View Questions/Answers

Running a stand alone application using batch file in windows  June 1, 2011 at 3:35 PM
I have created a stand alone application and i have generated jar file for my application. All the .class files are available inside a package called as com.tbss. I have included all the jar files inside the present working directory.I have used following command to run my application ... View Questions/Answers

display  June 1, 2011 at 3:26 PM
please tell me how to display the content from database.. if we click on any image using servlets/jsp...please ... View Questions/Answers

java  June 1, 2011 at 2:06 PM
how to write a java program code to build a textbox that contains only numbers? cold you pleease post me the answer ... View Questions/Answers

how to get description for each file  June 1, 2011 at 1:28 PM
hi, how to get description for each file using php or java script..... condtion:two text boxes for each file if the user select 10 file to upload........get the description for each file w... View Questions/Answers

why the program is showing error?  June 1, 2011 at 1:10 PM
<%@page import="java.sql.*"%> <% try{ Connection conn = null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); conn = DriverManager.getConnection("jdbc:odbc:sample"); Statement st=null; st=conn.createStatement(); String query = "select... View Questions/Answers

question  June 1, 2011 at 12:50 PM
Hi good morning Sir, Use grid -That displays employee name,employee_id,status(P/A),check box or Approve button. (Button in each row of the grid and below a button for approving all attendances marked )-using java/jsp + mysql. ... View Questions/Answers

question  June 1, 2011 at 12:48 PM
Hi good morning Sir, Use grid -That displays employee name,employee_id,status(P/A),check box or Approve button. (Button in each row of the grid and below a button for approving all attendances marked )-using java/jsp + mysql. ... View Questions/Answers

array list  June 1, 2011 at 12:38 PM
How to get repeate occurence values from database table in java by using arraylist ... View Questions/Answers

question  June 1, 2011 at 12:33 PM
Hi how to send an error message to an html page after checking the database for different users.for eg:your user name or password is incorrect.reply me with code, without using bean. ... View Questions/Answers

date time picker  June 1, 2011 at 10:20 AM
I have enetered a date time picker in my jsp file. there is text field before the date time picker. What should i do so that whenever i click on that text field I am not able to eneter anythng and automatically the date time picker gets opened?? ... View Questions/Answers

how do i begin a two dimensional array?  June 1, 2011 at 7:17 AM
I'm new to java programming and need to create a two dimensional array that enters exactly what is entered in the first dimension and then the first non-white space character of what is entered? ... View Questions/Answers

Same day travel deals  May 31, 2011 at 10:30 PM
Hi, Can anyone compare same day travel deals with different travel packages? Thanks ... View Questions/Answers

Taj mahal tour packages information needed  May 31, 2011 at 10:13 PM
Hi, I am planning to visit Taj Mahal with my friends next week. Can anyone suggest me the Taj Mahal tour package along with tour around Taj Mahal? Thanks ... View Questions/Answers

beginner  May 31, 2011 at 9:29 PM
provide a simple html program to develop a webpage... ... View Questions/Answers

intervw questions for an Android  May 31, 2011 at 8:23 PM
Hi Friends, plz send me some important Q&A for an android interview ... View Questions/Answers

Collections  May 31, 2011 at 5:51 PM
i overide the hashcode() method with equals method as follows : public int hashCode() { int result = HashCodeUtil.SEED; } it shows me error on HashCodeUtil.SEED. Please provide me solution. ... View Questions/Answers

coding for online reservation  May 31, 2011 at 3:31 PM
coding for online reservation ... View Questions/Answers

complete coding for shopping card  May 31, 2011 at 3:14 PM
complete coding for shopping card ... View Questions/Answers

mysql- microsoft access  May 31, 2011 at 1:53 PM
hello, In all your tutorials, you have used Mysql. If instead of mysql i use microsoft access so how will it differ and wat will be the connection steps? ... View Questions/Answers

capture  May 31, 2011 at 11:57 AM
How can i capture values or text selected in drop down menu or in combo box or in any input forms and print it on the same page ?? also the selected value i want to store it in data base. how can i do that?? plzzzz reply soon...! ... View Questions/Answers

Delhi, Agra and Rajasthan Tour  May 31, 2011 at 11:52 AM
Hi, It would be great ..if you can tell us the number of days required to visit Delhi, Agra Rajasthan in India?? ... View Questions/Answers

Delhi, Agra and Rajasthan Tour  May 31, 2011 at 11:52 AM
Hi, It would be great ..if you can tell us the number of days required to visit Delhi, Agra Rajasthan in India?? ... View Questions/Answers

DATABASE  May 31, 2011 at 11:48 AM
How can i get combo box values from database?? or how can i get values in the drop down menu of the html which is similar to dat of combo box in java - from database? ... View Questions/Answers

please solve this error Warning: mail() [function.mail]:  May 31, 2011 at 11:19 AM
please solve this error Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing ... View Questions/Answers

how to display data in excel sheet?  May 31, 2011 at 10:55 AM
According to the user Id,some links will be generated from the database,and if we click a link,data would be retrieved from the database and data will be displayed in a new page.in this page there will be a button called excel download,and if we click the button data will be displayed in excel sh... View Questions/Answers

Regular expression  May 31, 2011 at 10:36 AM
how i extract string Coalition of civil society organizations and CSOs from string:- CSOs : What happening in Yemen is political crisis SANA'A, May 16 (Saba)- Coalition of civil society organizations (CSOs) and trade unions confirmed on Monday that what is happening in Yemen is a politica... View Questions/Answers

Regular expression  May 31, 2011 at 10:34 AM
how i write a regular expression for a pattern which present in between ()? ... View Questions/Answers

xml  May 31, 2011 at 10:31 AM
how can i remove white space and next line when i copy stream to xml file? ... View Questions/Answers

XML  May 31, 2011 at 10:25 AM
please tell me how i remove one tag out of all similar type of tags in xml ... View Questions/Answers

coding for anchor tags  May 31, 2011 at 10:05 AM
coding for anchor tags ... View Questions/Answers

disable function  May 31, 2011 at 9:41 AM
Sir, I have called a java script function when one radio button is checked i want to disable this function when another radio button is checked ,both radio buttons are of same group Please help Thanks in advance ... View Questions/Answers

jsp login page  May 31, 2011 at 7:37 AM
hi tell me how to create a login page using jsp and servlet and not using bean... please tell how to create a database in sql server... please tell with code.. ... View Questions/Answers

How to put points on a JButton  May 31, 2011 at 3:25 AM
I wanted to ask....what am i supposed to do if i wanna set points on my JButton so as to be able to draw arcs or curves.... supposedly my button represents a tile with 2 openings and the opening on each side are connected to openings on other sides....how can i get these opening so as to draw the... View Questions/Answers

problem in sending more than 500 values to a jsp page  May 31, 2011 at 3:21 AM
when i am trying to send more than 500 values from a html form to a jsp page browser is showing that server is not sending any data...I have configured tomcat5.5 with eclipse.Please help me. ... View Questions/Answers

Data needs to be gathered in XML file from the database (MySql) using JSP  May 31, 2011 at 2:33 AM
on index.jsp page, where the user will be able to search, with search buttons and search text box or drop down box with search button,,, to display all data regarding particular id from the database table. Data needs to be gathered in XML file from the database (MySql) using appropriate... View Questions/Answers

the last data entered into database is getting stored again after refreshing  May 31, 2011 at 12:06 AM
hey all i made a shout box using php and mysql but the last data entered into the DB is getting retrieved again as i refresh the page.. even if the data is deleted from the database the last data entered is getting posted plz help me out!!! rgds ... View Questions/Answers

Case study of xyz.com  May 30, 2011 at 11:41 PM
Scenario: Online Shopping Portal XYZ.com wants to create an online shopping portal for managing its registered customers and their shopping. The customers need to register themselves first before they do shopping using the shopping portal. However, everyone, whether registered... View Questions/Answers

javascript dropdownlist  May 30, 2011 at 6:16 PM
I want to replace window.prompt with a textbox but it doesnt work,please help. <script> function addOption(Area){ oc = Area.options.length; if(Area.selectedIndex==oc-1){ newOpt = window.prompt("Enter Area",""); if(newOpt+"">""){ Area.opt... View Questions/Answers

diff b/w struts 1.0 and 1.2  May 30, 2011 at 5:13 PM
diff b/w struts 1.0 and 1.2 ... View Questions/Answers

HQL Query  May 30, 2011 at 4:34 PM
Hibernate query language: How to use a left join in Hibernate query language. Can somebody help with an example. I am getting a unexpected token error in HQL Query tool If I use joins ... View Questions/Answers

XML remove tags  May 30, 2011 at 3:53 PM
when i remove a tag from xml, it create blank spaces or next line. how i protect it to updae in my xml ... View Questions/Answers

HELP: Xin's Popup Calendar with Struts  May 30, 2011 at 3:35 PM
HI, I am designing a website using "Struts" framework, but am not able to populate my html form date field using Xin's pop up calendar My Code: <html:form action= "/login"> <html:text name = "LoginForm" property="date" /><a href=... View Questions/Answers

some queries pertaining to use of log4j for logging in a java application-  May 30, 2011 at 3:26 PM
Please clarify the following for me- (1) I want to use a rollingfile appender, that too in such a way that the actual log file (to which log4j should send its messages) is passed as parameter by end user at run time. Can you give me some sample code to do the above? (2) Which all ... View Questions/Answers

C interview questions  May 30, 2011 at 2:10 PM
Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2; z = x++ - --y * b / a; What number will z in the sample code above contain? a. 5 b. 6 c. 10 d. 11 e. 12 /question number 2/ W... View Questions/Answers

C interview questions  May 30, 2011 at 2:10 PM
Plz answer the following questions..... TECHNICAL - C /question number 1/ Code: int z,x=5,y=-10,a=4,b=2; z = x++ - --y * b / a; What number will z in the sample code above contain? a. 5 b. 6 c. 10 d. 11 e. 12 /question number 2/ W... View Questions/Answers

Java interview questions  May 30, 2011 at 2:08 PM
Plz answer the following questions..... The type long can be used to store values in the following range: a. -263 to 263 - 1 b. -231 to 231 - 1 c. -264 to 264 d. -232 to 232 - 1 Which of the following is not a hexadecimal number? (A) 999 (B) (hex)23 (C) 0x556 (... View Questions/Answers

beginner  May 30, 2011 at 1:26 PM
provide a simple java exception program that uses try , catch, throw and finally blocks. ... View Questions/Answers

beginner  May 30, 2011 at 1:25 PM
provide me a simple html program for an usual registeration fom, without function. ... View Questions/Answers

junit  May 30, 2011 at 12:54 PM
i want to learn junit for user guidence for easy format to understnad to study. please provide that one ... View Questions/Answers

coding for anchor tags  May 30, 2011 at 12:42 PM
coding for anchor tags ... View Questions/Answers

beginner  May 30, 2011 at 12:37 PM
pls provide me a simple HTML program for a registeration form ,using radio button for gender, and display ALERT messsage when have not entered/filled anything in text box ... View Questions/Answers

64 bit dll  May 30, 2011 at 12:05 PM
how can we use 32 bit dll in 64 bit OS..i getting the error Exception in thread "main" java.lang.UnsatisfiedLinkError: no dsn in java.libra y.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadL... View Questions/Answers

i need latest oracle certified java dumps.. Pleas help me?  May 30, 2011 at 11:28 AM
i need latest oracle certified java dumps.. Pleas help me? ... View Questions/Answers

coding for anchor tags  May 30, 2011 at 11:09 AM
coding for anchor tags ... View Questions/Answers

coding for anchor tags  May 30, 2011 at 11:09 AM
coding for anchor tags ... View Questions/Answers

beginner  May 30, 2011 at 10:26 AM
provide me html program to form a registration form using controls like radio button for gender, displaying of alert message when have not entered a value ..... ... View Questions/Answers

java  May 30, 2011 at 10:23 AM
how to find particuar memory address data in java ... View Questions/Answers

Pyramid  May 30, 2011 at 12:48 AM
Help me to write the following: 1 121 12321 1234321 123454321 ... View Questions/Answers

calculation  May 29, 2011 at 11:13 PM
helo all, can any one tell me ...how to add values taken from text box and display it to user. the requirement is..from total amount to be paid and total paid we have to find the due amount to be paid..and each employee is issued with voucher number after paying,and if required we can add some ad... View Questions/Answers

how to create a login page and registration page?  May 29, 2011 at 10:51 PM
hellow, pls tell me the code for how we can create a login page and registration page and how we can store the info in database.only in advance java as jsp. ... View Questions/Answers

beginner  May 29, 2011 at 9:41 PM
difference between Application Server and Web Server? ... View Questions/Answers

beginner  May 29, 2011 at 9:39 PM
explain difference between get and post methods? ... View Questions/Answers

tokenizing a java file  May 29, 2011 at 9:31 PM
Hi i am new to java and i am trying to build lexecal analyser for java code , I am in the beginning want to read the file then tokanize it, so i wrote this code that read line from the buufer , put it in string then put the tokens into array of string ,but after run the code it gives" error:n... View Questions/Answers

Jsp  May 29, 2011 at 8:25 PM
Can I implement interface in jsp? ... View Questions/Answers

I want design samples for JSP project  May 29, 2011 at 7:28 PM
Sir, I world Like to do a project in jsp techonology. But i have no idea of selecting the project, especially if i selected any project i have no idea that is how to build ie how to design the project with specified thing ie design is somewhat critical to me..please suggest me a good project with... View Questions/Answers

Interview question  May 29, 2011 at 4:28 PM
what is mean by Dynamic class loading....? ... View Questions/Answers

static keyword  May 29, 2011 at 10:28 AM
Hii, In which portion of memory static variables stored in java. Is it take memory at compile time? thanks deepak mishra ... View Questions/Answers

IJVM  May 29, 2011 at 8:32 AM
need help The â??powerâ?? function currently does not exist in IJVM. For example, if two numbers 2 and 3 are on the stack, the power function would compute 2 power 3, i.e. 23 that should give 8 as the result. Assume two positive numbers (say, a and b) are provided on the stack (with a bei... View Questions/Answers

IJVM  May 29, 2011 at 8:32 AM
need help The â??powerâ?? function currently does not exist in IJVM. For example, if two numbers 2 and 3 are on the stack, the power function would compute 2 power 3, i.e. 23 that should give 8 as the result. Assume two positive numbers (say, a and b) are provided on the stack (with a bei... View Questions/Answers

IJVM  May 29, 2011 at 8:29 AM
using IJVM..can anybody help me in this question User should be prompted to enter two non-negative numbers (say, a and b where a >0 and b > 0) line by line and then press the enter key. Your program should calculate and display the following for these numbers (see sample output below): ... View Questions/Answers

problem with dynamic url  May 29, 2011 at 12:46 AM
Hello! I was asked to implement a dynamic url code below to a html template I designed. I am a web designer, and although I understand the code, there is something wrong with it, or maybe I didn't do it right. Can't figure out why there is a space in the path on the "$t_url". Thanks!... View Questions/Answers

send sms from pc to mobile  May 28, 2011 at 9:54 PM
java program to send sms from pc to mobile ... View Questions/Answers

display repeated lines in a file  May 28, 2011 at 9:51 PM
i want a java program that accepts file from user and displays the repeated lines in a file ... View Questions/Answers

program using StringTokenizer  May 28, 2011 at 9:37 PM
I want to know about StringTokenizer,so can you please explain it with an example? ... View Questions/Answers

How to reach agra from Delhi?  May 28, 2011 at 8:16 PM
Hi, I have to travel to Agra from Delhi next week. Please let's know how I can reach Agra from Delhi by road? Thanks ... View Questions/Answers

How to reach agra from Delhi?  May 28, 2011 at 8:16 PM
Hi, I have to travel to Agra from Delhi next week. Please let's know how I can reach Agra from Delhi by road? Thanks ... View Questions/Answers

how to send email in php and attech with any file  May 28, 2011 at 5:33 PM
how to send email and attech with any file like text, image, video. ... View Questions/Answers

form based file upload using servlets  May 28, 2011 at 5:27 PM
Hai all, I wrote a program to upload a file into specified directory and store the file path and username into database. for that i created a html page having browse option and text box i used commons-fileupload and commons-io APIs. while i enterd username and upload file path ... View Questions/Answers

How to Auto Delete Bids after certail time expire.?  May 28, 2011 at 4:27 PM
I am developing alibaba.com like website where after time expires ,buying request need to be deleted. So is there any idea experts have for this type of problem. ... View Questions/Answers

How to Auto Delete Bids after certail time expire.?  May 28, 2011 at 4:27 PM
I am developing alibaba.com like website where after time expires ,buying request need to be deleted. So is there any idea experts have for this type of problem. ... View Questions/Answers

Compose mail by clicking on send mail button  May 28, 2011 at 1:18 PM
How i get microsof out look page opend for composing mail by just clicking on send mail button and when outlook page open then in to:my email id is written on my jsp page ... View Questions/Answers

hacking  May 28, 2011 at 12:20 PM
how to hack the ip adress by java coading ... View Questions/Answers

java  May 28, 2011 at 10:47 AM
write a program to define a student class with attributes student no student no student age student gender declare a default constuctor one method to accept the details from the user ( set details()) and method to display the details 9 get details()). ... View Questions/Answers

Swing application  May 28, 2011 at 5:05 AM
Hello, I want to develop a Swing application similar to J2EE application.The only difference is that, the users will access the application not through web browsers, instead through a Swing desktop application GUIs. Please help me to develop such an application. ... View Questions/Answers

Loading a jsp page (with record from database) from another jsp page  May 27, 2011 at 10:04 PM
Suppose I have two jsp pages Search.jsp and Getdata.jsp. There are two fields in Search.jsp say Serial no,year and a button VIEW DATA. I want, when I click the button(VIEW DATA), Getdata.jsp will be loaded filling up all of its fields with records from database(against Serial no and year).That is... View Questions/Answers

j2me  May 27, 2011 at 9:50 PM
i want code in which when we input same data in midlet page ... than on ok button it will show in servlet page.. code that pass information to mobile application page to servlet page.. ... View Questions/Answers

sales detail  May 27, 2011 at 8:15 PM
creation of applet for sales deatils form the applet for Sales Details must include the following: ï?® The CartID, OrderNo, OrderDate should be displayed automatically. ï?® Create an Exit button and a Continue button. ï?® The Garment Name column should have drop down menu for customers to... View Questions/Answers

persoanl detail  May 27, 2011 at 8:13 PM
creation of applet for personal details form When a customer places his first order of garments, the Personal Details Form is displayed. On completing the form, the customer is assigned a cart id. A customer will be able to buy a product only if they have the cart id. It is essen... View Questions/Answers

java applet  May 27, 2011 at 8:07 PM
create applets to accept the personal details and sales details in the database. create jdbc application to connect the applets with the database. ... View Questions/Answers

how to make traffic light code in java  May 27, 2011 at 7:57 PM
what is code of traffic light in java ... View Questions/Answers

Creating Multiple ArrayList  May 27, 2011 at 7:26 PM
I want to create multiple ArrayList . import java.util.*; class ArrayListNames{ public static void main(String args[]){ //here i want to create 10 arraylists of type string. for(int i=0;i<10;i++){ List<String> ("L"+i)=new ArrayList<String>(... View Questions/Answers

DMCA.com