Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

Java Compolation  February 15, 2010 at 7:15 AM
How do I correctly write a program that calculates a customer's monthly bill?This is what I have:import java.util.Scanner;import java.text.DecimalFormat;public class Bill{ public static void main(String[] args) { final double BASE_... View Questions/Answers

array  February 15, 2010 at 7:01 AM
WAP to perform a merge sort operation. ... View Questions/Answers

ThreeArrayList  February 15, 2010 at 2:32 AM
I can't get the message to output in my software Eclispe. I need this by 5pm CST...Thank You'package tal;import java.util.ArrayList;public class ThreeArrayLists { public static void main(String[] args) { ArrayList priceList = new ArrayList();... View Questions/Answers

Advertisement

Javamail  February 15, 2010 at 12:15 AM
Sir as i send mail it shows me message sent but it get enters to my spam mail and sometimes it dont show me the spam mail as my account get any spam mail it deletes it what to do sir please reply me thank you sir.. ... View Questions/Answers

Programming Error  February 15, 2010 at 12:13 AM
<html><head><title>MainPage</title><style type="text/css"> body { font-family:arial,helvitica,serif; color:purple; background-color:#717D7D; }ul{list-style-type:none;margin:0;<... View Questions/Answers

Proogramming Error  February 14, 2010 at 10:55 PM
<%@ page language="java" import="java.io.*,java.sql.*,java.util.*,java.text.*,java.text.SimpleDateFormat" %><% String strDateNew=null; java.util.Date now = new java.util.Date();String DATE_FORMAT = "dd-... View Questions/Answers

Hi  February 14, 2010 at 9:52 PM
Hi sir,i am using netbeans ide,if i am create a file in netbeans ide,to run that file,we r completely run the project or only run the particular file,is there any option to run only the particular file...... Thank u, sir,i want some information about mainframes,if u ... View Questions/Answers

XMPP  February 14, 2010 at 8:57 PM
Hi,Can you please provide a sample code in Java to recieve and retrieve "To" adress or data embbedded in XMPP. ... View Questions/Answers

dojo  February 14, 2010 at 8:35 PM
can u plz send a small web app demo illustrating dojo usage in java??i mean i want to know how can we read values from dojo controls in servlets/ jsp's..? how can we use dojo controls in jsp as view in web mvc?RegardsMahesh ... View Questions/Answers

java source code  February 14, 2010 at 3:08 PM
write a program to read the value of n as total number of friend relatives to whom the person wants to call ... View Questions/Answers

C Program to Print Following Output  February 14, 2010 at 11:04 AM
Hello Sir I wnat to print Followning output in C Language with for loop How I Can Print it?55 45 4 35 4 3 25 4 3 2 1 ... View Questions/Answers

Jdbc and Socket Program  February 14, 2010 at 7:31 AM
Sir, I would like to get a program i which first a Frame is created and then Username and pssword textfields are added to it.Then as we enetr the user name and password it should be updated in a database.Now we create another program 4 client-server such that the sever's database is updated... View Questions/Answers

q  February 13, 2010 at 3:50 PM
when a program run then the data is first retrieve from database and at runtime it save in .js file from that we show data in html control like dropdown control but the problem is as much time we run our project a same number of data is save in .js file though repititive value is shown in dropdown c... View Questions/Answers

hi  February 13, 2010 at 2:54 PM
hi sir,i want to create a database in oracle,not in my sql sir,plz tell me how to create a database. ... View Questions/Answers

j2me sms coding  February 13, 2010 at 12:19 PM
please send me the source code to send smsand making a call from mobile ... View Questions/Answers

j2me ebook download for free  February 13, 2010 at 12:15 PM
could you please send me a link get the j2me ebook for free of cost ... View Questions/Answers

Programming Error  February 12, 2010 at 11:51 PM
Hello Sir,import java.util.*;import javax.mail.*;import javax.mail.internet.*;import javax.activation.*;// Send a simple, single part, text/plain e-mailpublic class TestEmail { public static void main(String[] args) { ... View Questions/Answers

hi  February 12, 2010 at 10:43 PM
hi sir,how to create a database in sql sir thanks in advance ... View Questions/Answers

core java  February 12, 2010 at 6:37 PM
Diff b/w Throws and Throw ... View Questions/Answers

java programming  February 12, 2010 at 5:12 PM
I need a java program that will add,edit,delete,view,save and print any information..it could be a JOption application..tnx ... View Questions/Answers

java programming  February 12, 2010 at 5:02 PM
Can you make me a run java program for sorted distinct numbers largest to smallest..thanks ahead...I really need also the algorithm...plz ... View Questions/Answers

how to read the .proprties file from struts  February 12, 2010 at 1:53 PM
errpr is :file not found exception:applicationresource.proprties file {system canot find file path";How to set the file path. ... View Questions/Answers

how to call an exe file from java  February 12, 2010 at 11:48 AM
hi,how to call exe file with some parameters from java and save the output of the exe file in a specified path.Please let me know immediately..its urgent!!!Thanks in advance. ... View Questions/Answers

CronExpression  February 12, 2010 at 10:50 AM
hi,I have a question regarding the crontrigger.the requirement is the it should trigger everyday starting from a day of the month and the month when it should start which will be specified in the propertyfile exactly at 7:00 AM.so the cronexpression will look like this as bel... View Questions/Answers

JEE  February 11, 2010 at 5:59 PM
CMP & BMP sample ... View Questions/Answers

java  February 11, 2010 at 3:11 PM
hi sir,thank u so much for giving the netbeans details sir,is there any chance to move the text(from left 2 right or right 2 left like html (marquee tag)) in swings ... View Questions/Answers

how to access the messagresource.proprties filevalues in normal class file using struts  February 11, 2010 at 3:01 PM
i want to access the below username and password in class file.Plz help to me.messageresource.properties filesusername=systempassword=systemMy class file isimport java.io.PrintStream;import java.sql.*;import ja... View Questions/Answers

hi sir  February 11, 2010 at 12:38 PM
Hi,sir,i am try in netbeans for to develop the swings,plz provide details about the how to run a program in netbeans and details about netbeans,and how to connect with database by using the netbeans ,plz provide the details sir, Thanks for ur coporation sir ... View Questions/Answers

Java Struts  February 11, 2010 at 12:25 PM
How we can create mvc architecture and its advantages? ... View Questions/Answers

Java Servlet  February 11, 2010 at 12:20 PM
3-tier structures of servlets ... View Questions/Answers

string  February 11, 2010 at 7:28 AM
WAP to produce the following patterns for any given input-FATTY F YFATT FA TYFAT FAT TTYFA FATT ATTYF FATTY FATTY ... View Questions/Answers

string  February 11, 2010 at 7:19 AM
WAP to enter a string & print it back after changing all it's "A" or"a" with "e" or"E"; "E"or"e" with"I"or"i"; "I"or"i" with"O"or"o"; "O" or"o" with"U&... View Questions/Answers

string  February 11, 2010 at 7:15 AM
WAP to enter a sentence & print the no. of palindrome words it contains. ... View Questions/Answers

string  February 11, 2010 at 7:14 AM
WAP to input a name & print it's initials.eg- input-Lal Bahadur Shastri output-L.B.Shastri ... View Questions/Answers

function 1  February 11, 2010 at 7:09 AM
WAP to calculate the value of x,wherex=tan(A)+tan(B)/1+tan(A)*tab(B) ... View Questions/Answers

functions  February 11, 2010 at 7:00 AM
WAP a program to print the value of 'z'-z=(sin(2x)+cos(2y)+sin(2y)-cos(2x)) ... View Questions/Answers

java  February 11, 2010 at 12:56 AM
1-what the difference between short logical operator and logical operator?2-what's mean by JIT what the function of it? ... View Questions/Answers

JSP with java/servlet  February 10, 2010 at 7:45 PM
Thanks Deepak for your answere to my previous question.With reference to my previous question about JSP populate, actually I wanted to use jsp to only present the data and wanted to have another object (java bean or servlet) to fecth the database. Jsp would get the data from that object and pr... View Questions/Answers

p2p file sharing tech  February 10, 2010 at 6:58 PM
which technology we can use to build a p2p mobile file sharing application.Is there any application through we can do file sharing on mobile ... View Questions/Answers

C Program  February 10, 2010 at 5:21 PM
C program to find division of two fraction number without direct division operator ... View Questions/Answers

simple  February 10, 2010 at 4:33 PM
can we have update,delete,save button in one html or jsp form performing respective operation if yes, give me code respectively. ... View Questions/Answers

DAO  February 10, 2010 at 4:24 PM
what is dao ? and how to use it? ... View Questions/Answers

seats  February 10, 2010 at 3:45 PM
i want a image and code of seat like, user should able to book a ticket online and he should able to see which seats has been booked and which seats is available and accordingly calculation should be done ? ... View Questions/Answers

jarfile  February 10, 2010 at 3:41 PM
i m making my project in netbean so i dont have mail.jar or activation.jar file so what should i do? ... View Questions/Answers

how to add the calendar to the dynamic rows in html or jsp page  February 10, 2010 at 3:40 PM
Hi Sir, i have 3 columns in my jsp page date of payment,amount recieved,no and i have 2 button in my jsp page ADD and delete button. when i click on add button,adding the new empty row here so I need to enter the values . finaly we can save the 2 or more row values at a ... View Questions/Answers

J2EE  February 10, 2010 at 3:27 PM
Please give me name of "AT command" for sending wave file via mobile. ... View Questions/Answers

JAVA  February 10, 2010 at 3:15 PM
How to send wave file via mobile using AT command? ... View Questions/Answers

Sun Certification  February 10, 2010 at 11:58 AM
How can crack sun certification in SCJP? ... View Questions/Answers

Java compilation error  February 10, 2010 at 11:50 AM
Method overridden problems in compile time error? ... View Questions/Answers

Java JSP  February 10, 2010 at 11:45 AM
JDBC connectivity in JSP? ... View Questions/Answers

Java Threads  February 10, 2010 at 11:42 AM
Why we use synchronized() method? ... View Questions/Answers

Java  February 10, 2010 at 11:14 AM
Iam developing some JSP pages, I have to display these pages in HTML format with dynamic data, some of the information is coming from the database. One more thing while we are entering the data into the JSP page by using form, the view should be generated as a html file by taking these v... View Questions/Answers

Switch Case  February 9, 2010 at 6:23 PM
int x=100000;switch(x){case 100000: printf("Lacks");}output= LacksI want reason why x matches switch case although range for int is in betweensomething -32678 to +32676.Plz give me ans quickly.thanks.minal. ... View Questions/Answers

send the mail with attachment problem  February 9, 2010 at 3:31 PM
Hi friends, i am using the below code now .Here filename has given directly so i don't want that way. i need to select the attached document from the jsp page(browser:<input type="file" name="upload"/>");How to get the file name froString host = "... View Questions/Answers

servelets  February 9, 2010 at 2:57 PM
I want to develop a small web application using netbeans.It contains a user login page,after sign into the page it will shows a new windowplease send me links(only links) contains theory information........ ... View Questions/Answers

java  February 9, 2010 at 2:24 PM
sir,is there any chance to place the components in swing without using any layout sir,plz tell me sir Thank u sir Thanks for ur previous reply ... View Questions/Answers

Java String  February 9, 2010 at 2:16 PM
How to seperate the string into characters. ... View Questions/Answers

send the mail with attachment  February 9, 2010 at 1:52 PM
Hi Freinds, i am sending the mail without attachment file now. But i need to send the mail with attachment in struts. when i added the attachemt logic in struts,i am not able to send the mail .Mail Problem is file path: how to get the file path from the browse("we n... View Questions/Answers

XML DOM error  February 9, 2010 at 1:09 PM
import org.w3c.dom.*;import javax.xml.parsers.*;import java.io.*;public class DOMCountElement{ public static void main(String[] args) { try { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); System.out.print(&qu... View Questions/Answers

Generate pdf file  February 9, 2010 at 12:56 PM
Hi Friends,How to generate the pdf file for the jsp page or in servets ... View Questions/Answers

servelets  February 9, 2010 at 12:25 PM
I want to develop a small web application using netbeans.It contains a user login page,after sign into the page it will shows a new panel. Plese send me links which contains theory and practical information. ... View Questions/Answers

swings  February 9, 2010 at 12:19 PM
I am creating an application using netbeans. In that application i created a menu bar,it contains menu items like file,Edit, view, map,analysis etc. In this i only developed the code for file, edit,viem menu items.Only these r properly working.Tillnow the remaining items are not developed. I want to... View Questions/Answers

abt java project  February 9, 2010 at 11:44 AM
How to make the home page that contain four tabbedPane like additem, deleteitem ,update etc,so plz help methanx ... View Questions/Answers

java swings  February 9, 2010 at 11:26 AM
Hi sir,i am doing a project on swings,i don't have any knowledge about the layoutmanagers,so my project is very very burden to me,so plz provide a material to me for understand the layout manager easily,plz help me plzzzzzzzzzzzz,the submission time is very very less,so plzzzzz ... View Questions/Answers

getchar()  February 9, 2010 at 11:05 AM
When i write he following program in C using turboC compiler, program repeatedly asks me to input, i want the program to take input once, show the result and stop, pleae help.#include<stdio.h>main() {int c;while( (c=getchar())!=EOF) { putchar(c); }} ... View Questions/Answers

abt proj  February 9, 2010 at 10:21 AM
if we have already make login page and resister page, if i click on the login button we go to the home page ,home page contain some data plz help ... View Questions/Answers

jms to mdb  February 9, 2010 at 10:18 AM
how to invoke MDB from JMS? is there any server configuration file? ... View Questions/Answers

question  February 9, 2010 at 7:35 AM
Define a class to accept a sentence & print the no. of words beginning wid the the given character.eg:If the sentence is:"This is The Text"output:no. of words beginning with "T"-3.Here the given character is-T ... View Questions/Answers

Moving ball  February 9, 2010 at 7:32 AM
import java.awt.*;import java.applet.*;import java.lang.Thread;import java.lang.*;public class Moving_ball extends Applet { Thread t; int i; int x=34,y=14; public void init() { t=new Thread(); } public void pa... View Questions/Answers

string  February 9, 2010 at 7:20 AM
WAP to input a string and print it in the circular format.eg.the string is "WORD"The output will be:ORDW,RDWO,DWOR,WORD. ... View Questions/Answers

coding  February 9, 2010 at 7:13 AM
A message is to be conveyed by adding 10 to the toatal of the ASCII code of characters in the statement given below.WAP to print the following statement into a code message:YOKO HAS SMILED. ... View Questions/Answers

OOP with Java 3  February 9, 2010 at 5:00 AM
Write a Temperature class that has two instances variables: temperature value (a floating-point number) and a character for the scale, wither C for Celsius or F for Fahrenheit. the class should have four constructor methods: one for each instances variable (assume zero degrees if no value is specifi... View Questions/Answers

OOP with Java 2  February 9, 2010 at 4:50 AM
Define a class called BogEntry that could be used to store an entry for a Web log. The class should have member variables to store the poster's username, text of entry, and the date of the entry using the Date class. add a constructor that allows the user of the class to set all member variables. Al... View Questions/Answers

Programming Error  February 8, 2010 at 11:37 PM
Domain Table:--Rfcdkey DomainName DomainValue DepDomainValue Statcd1 StateCd Maharashtra Mumbai A2 StateCd Maharashtra Pune A3 StateCd Maharashtra Nashik A4 StateCd Karnataka Bangalore A5 StateCd Delhi ... View Questions/Answers

JSP & Servlet  February 8, 2010 at 11:10 PM
Its an IBM QuestionIn the process of login validation. i'm entering the username correct and pass wrong. when using response.sendRedirect() a new req and resp wil be processed, so the user has to enter the username again and try entering again. To over come re-entering the username again... View Questions/Answers

printing example  February 8, 2010 at 10:23 PM
Is it possible to print java controls using print method?My problem is to print a student mark list using java?The mark list should like that of university mark list... ... View Questions/Answers

java  February 8, 2010 at 5:20 PM
hi!! i want 2 download jdk latest version so can u pls send me the link..? ... View Questions/Answers

abstract class  February 8, 2010 at 5:03 PM
Hello sir,I have problem with seeing entity class within abstract class. this is the entity class that i want to get:public class Product extends AbsEntity implements Serializable { public class Product (){ } ... View Questions/Answers

abstract class  February 8, 2010 at 4:58 PM
Hello sir,I have problem with seeing entity class within abstract class. this is the entity class that i want to get:public class Product extends AbsEntity implements Serializable { public class Product (){ } ... View Questions/Answers

Doubt in servlets  February 8, 2010 at 4:28 PM
Good Evening sir/madam, I want to add data dynamically for that which methods i have to use to retrieve the dynamic data . ... View Questions/Answers

Migration of Struts and Hibernate  February 8, 2010 at 4:06 PM
How to struts can call the hibernate objects without spring or EJB or any other Controller package? ... View Questions/Answers

XML-JAVA  February 8, 2010 at 11:30 AM
How to create XML file and write to this file in JAVA? ... View Questions/Answers

java  February 7, 2010 at 11:14 PM
i am doing junit testing for a website,i required to check the value of text(ex:refund=0)inside a //<div> refund </div> <div> 0 </div>// tag from a web page if refund > 0 then it will call a function otherwise call another function. Please help me. ... View Questions/Answers

Design patterns  February 7, 2010 at 6:21 PM
I am new to design patterns and desigining .Please refer me some tutorial or pdfs of design patterns and desigining in easy language and understandable..so that i can apply it in my current projectThanks in advance..... ... View Questions/Answers

About basics  February 7, 2010 at 6:03 PM
Why we are typing java program in text editor?Why we are running the java program in command prompt? ... View Questions/Answers

Programming Error  February 7, 2010 at 12:19 PM
<script language="JavaScript">function Draft(){if(document.form.Count.value==""||document.form.Count.value==null)document.form.Count.value=0;elsedocument.form.Count.value = document.form.DraftAd.value.split(' ').length;}... View Questions/Answers

Programming error  February 7, 2010 at 12:06 AM
Hello Sir,Can u please reply me the code for javamail please actually i watch the javamail.net but i dint understood it.Actually i want to send a mail to my clients with a small text message.Please Reply me ??the code.Thank You Sir. ... View Questions/Answers

Programming Error  February 6, 2010 at 11:56 PM
Place.jsp<%@page import="java.sql.*"%><%@page import="java.io.*"%><%@page import="java.lang.String.*" %><% Connection con=null; Statement stmt=null; String st;try{Class.forName("... View Questions/Answers

j2me tutorials  February 6, 2010 at 7:43 PM
j2me paint() definitions ... View Questions/Answers

Programming error  February 6, 2010 at 6:15 PM
Place.jsp code<%@page import="java.sql.*"%><%@page import="java.io.*"%><%@page import="java.lang.String.*" %><% Connection con=null; Statement stmt=null; String st;try{Class.forName(&... View Questions/Answers

java  February 6, 2010 at 5:52 PM
give the java programming syntex when the text like i love india is reverse and then give the output like i evol aidni. ... View Questions/Answers

J2EE  February 6, 2010 at 3:14 PM
i want to make use of check box and radio button and i want the details to be submitted into the database server. moreso, i want you to teach me how to use request dispatcher and session object.thanks ... View Questions/Answers

J2ME -- Stream video from a udp server  February 6, 2010 at 2:54 PM
HI,I wanted to develope a mobile application in j2ME to stream video from a udp server by providing the Ip address of the server and the port no. to connect to and using the UDP protocol..For example from the following url : udp://222.222.222.121:2211 Then this video shoul... View Questions/Answers

about value taken in java database  February 6, 2010 at 1:35 PM
how to take value from Serial port communication Hyperterminal to the java database. ... View Questions/Answers

java server pages  February 6, 2010 at 11:37 AM
code for jsp login page if user forgot password reminding password with hint question.the table login is created in database ... View Questions/Answers

Jsp  February 6, 2010 at 9:27 AM
Hi Friend ! i installed the sun application server8.2. i want to run jsp programs in my server. which directory i put my jsp Programs how i can execute the jsp programs in my system. Thank you! ... View Questions/Answers

swapping  February 6, 2010 at 7:16 AM
WAP to swap 2 digits without using the 3rd variable!!!....m new to java so plz guys if u kno the answer then plz help me!!!plzzz ... View Questions/Answers

Physics  February 6, 2010 at 2:52 AM
If a sample of gold with a mass of 26.63g is pressed into a leaf of 1.000umthickness,what is the area of the leaf? ... View Questions/Answers

JSP Populate  February 5, 2010 at 8:27 PM
Hi,I want to call a XYZ jsp via URL with some parameters and at the same time want to use that parameter to populate the same XYZ jsp from database. How do I populate this XYZ jsp after hitting that URL (it needs to call java/servelt to populate that jsp.. my question is how?) ... View Questions/Answers

password  February 5, 2010 at 6:55 PM
as memeber of our site, recently he forget his password now he want a new password from us. so overcome with this problem i have to send his password to his any emailid to once again login with this new pasword so how i can do this ? ... View Questions/Answers

DMCA.com