Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

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

Advertisement

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

images  February 5, 2010 at 6:08 PM
i have image if someone click on image it will display big but the problem is i want a bye link button on that page .. ... View Questions/Answers

JAVA  February 5, 2010 at 3:39 PM
How to convert text file to wav file using java? ... View Questions/Answers

complex xml parsing and storing in database  February 5, 2010 at 2:04 PM
Hi Experts ,i want to parse my xml document and store it in mysql database. This is my code. How to parse this complex data.<?xml version="1.0"?><ZFLO_IDOC> <IDOC BEGIN="1"> <EDI_DC40 SEGMENT="1"> <TABNAM>ED... View Questions/Answers

source code  February 5, 2010 at 1:37 PM
i want source code for my project online examination it includes two modules user and administrator so if user want to write exam first he register his details and then select the topics on which he want to write exam if time is over a dialogue box come u r time is over and automatically terminate y... View Questions/Answers

java beginning  February 5, 2010 at 12:30 PM
sir, i am literaly a beginner and i just want to askthat what are the uses of learning java because i have listened about it and i have only know to program in c? ... View Questions/Answers

Programming Error  February 5, 2010 at 12:30 AM
import java.util.*;import javax.mail.*;import javax.mail.internet.*; public class SendMail { public static void main(String args[]) throws Exception { String host = "192.168.10.205"; String from = "test@localhost";<... View Questions/Answers

compiliation  February 4, 2010 at 11:23 PM
Hi SirHow to compile a Servlet program form edit plus ... View Questions/Answers

Programming Error  February 4, 2010 at 8:41 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><% Connection con=null; //ResultSet state=null; Statement stmt=null; String st;try{Class.forName("sun.jdbc.odb... View Questions/Answers

Programming  February 4, 2010 at 8:35 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><% Connection con=null; //ResultSet state=null; Statement stmt=null; String st;try{Class.forName("sun.jdbc.odb... View Questions/Answers

J2EE  February 4, 2010 at 5:09 PM
what is Struts Architecture? ... View Questions/Answers

Struts2 ComponentTagSupport  February 4, 2010 at 3:40 PM
I am working on struts2 custom tags using ComponentTagSupport.I am referring to this link http://joshuajava.wordpress.com/2008/12/27/creating-custom-components-with-struts-2/ I made example working. but my requirement is with the help of my custom tag i have to display ... View Questions/Answers

java applet  February 4, 2010 at 2:41 PM
I want to close applet window which is open by another button of applet program. plz tell me! ... View Questions/Answers

Hi  February 4, 2010 at 2:25 PM
please send me hibernate interview questions ... View Questions/Answers

source code  February 4, 2010 at 1:38 PM
please i want source code for online examination project (web technologies) ... View Questions/Answers

JSP  February 4, 2010 at 1:36 PM
Hi!...In my project i am connecting to the database, and i am displaying results from resultset in html text fields.for exstmt.executeQuery("select sno,sname from student where status='true'");if(rs.next()==true){String sno=rs.getString("sno");... View Questions/Answers

java  February 4, 2010 at 11:56 AM
what is the deffirence between java language and other language ? ... View Questions/Answers

java  February 4, 2010 at 11:50 AM
example of 3d ... View Questions/Answers

Programming Error  February 3, 2010 at 10:41 PM
<p>Image:<input type=text name="Image1" size=25><button type=button name=SubmitBrowse onclick=window.location='http://localhost:8080/ProjectAd/Images.html'">Browse</button></p>When user clicks on Browse Button then a folder of imag... View Questions/Answers

Programming Error  February 3, 2010 at 10:26 PM
<%@ page language="java" import="java.sql.*" %><%@ page import="java.lang.String.*" %><%@ page session = "true" %><% String c=(String)session.getAttribute("Count");int c1=Integer.parseInt(c);... View Questions/Answers

Programming Error  February 3, 2010 at 8:04 PM
<HTML><HEAD><TITLE> Place Ad </TITLE><script>function funct(){if(document.form.DraftAd.value=="" || document.form.DraftAd.value==null){document.form.cnt.value=0;}else{document.form.cnt.value = documen... View Questions/Answers

Java Basics  February 3, 2010 at 4:57 PM
Dear Sir/Madam, Is Array Static? If Yes How can we say Array is static?Thanks and Regards,M.KethraBalan@Arumugam. ... View Questions/Answers

mvc architecture  February 3, 2010 at 3:40 PM
i am asking you give me an example for the object oriented programming using MVC architecturethen my problem is railway tickect generation Systemin my system one of the task is creating the routesfor every route we have number railwaystations are there.so i am using arraylist... View Questions/Answers

Validation in swing  February 3, 2010 at 2:25 PM
I want to validate my swing program. If I didnt enter the field in text box a msgbox should have to appear that enter all the fields. ... View Questions/Answers

source code  February 3, 2010 at 2:16 PM
i need source code for client server application in jsp to access multiple clients ... View Questions/Answers

MyEclipse  February 3, 2010 at 2:12 PM
How to run servlet programs in MyEclipse .Please give me the path and how to add JAR files.I am using MyEclipse 6.0 Thanks and Regards,senthilkumar.p ... View Questions/Answers

mvc architecture  February 3, 2010 at 2:05 PM
can u please provide a example program with code using mvc architecturemine problem is adding routes for the railwaystationhere routes means paths to reach destination from source stationso i need to add the number of routes in to my arraylistevery route is one object... View Questions/Answers

Graphics2D in java  February 3, 2010 at 12:41 PM
I am working on GIS project. I want to represent a line in different formate(for railroad,airplane root etc).I know how to represent solid, dashed,dotted lines.But i am not getting any idea to represent rail road and airplane root. help me ... View Questions/Answers

JAVA  February 3, 2010 at 11:17 AM
How to implement IVRS system using JAVA for mobile? ... View Questions/Answers

java beginners  February 3, 2010 at 11:08 AM
the pattern was not in this format** * ** * * * ** * * * * * *it is like this * * * * * * * * ** * * * * * *thanks ... View Questions/Answers

java beginners  February 3, 2010 at 11:03 AM
is there any other way to do this ?i want to do by using charAt() function and by decreasing the ascii code by 2 .Write a program to encode a message. The idea is to shift each letter of a alphabet (a to z) or numeric digit (0-9) by previous two places. For examp... View Questions/Answers

abt proj  February 3, 2010 at 11:00 AM
I made login page, when i click on login button , thaen how to go on home page on home page containe some tab like add, delete, update,etc.plz helpthanx ... View Questions/Answers

java beginners  February 3, 2010 at 10:57 AM
what is StringTokenizer?what is the funciton of it ?how does it works ?thanks ... View Questions/Answers

Permutation and combination  February 3, 2010 at 9:22 AM
4 steps are there u walk 1 by 1 or 2 output comes like 1,1,1,1 2,1,1 1,2,1 1,1,2 2,2 ... View Questions/Answers

Programming Error  February 2, 2010 at 10:40 PM
Image:<input type=text name="image" ><input type=button name="Browse" value="Browse"><input type=button name="Save" value="Save">I want that when user clicks on browse button then a folder of images should ge... View Questions/Answers

Programming Error  February 2, 2010 at 10:33 PM
<HTML><HEAD><TITLE> Place Ad </TITLE><script>function funct(){if(document.form.DraftAd.value=="" || document.form.DraftAd.value==null){document.form.cnt.value=0;}else{document.form.cnt.value = docume... View Questions/Answers

Overriding  February 2, 2010 at 10:11 PM
Why we cannot increase the scope of the overridden method ... View Questions/Answers

Swing  February 2, 2010 at 6:58 PM
Hi friends. I need a swing programming book for free download. That book should be easily understandable and have lot of examples. If any one have link send me please. ... View Questions/Answers

Java swing  February 2, 2010 at 6:30 PM
I created a text box and a button. When clicking a button a message have to come like "welcome then the thing i entered in the text box" ... View Questions/Answers

java with xml parsing  February 2, 2010 at 3:02 PM
Hi,I need the sample code for parsing complex data xml file with java code.Example product,category,subcategory these type of xml files and parse using java.Please send the code immediately its very urgent.this is my xml file....<?xml version=... View Questions/Answers

HTML EXE FILE Creater  February 2, 2010 at 12:50 PM
How to Create Exe File For HTML Project? ... View Questions/Answers

java  February 2, 2010 at 10:15 AM
how to manipulate thumb impression using java.for that what technology i should use? ... View Questions/Answers

SQL Error  February 2, 2010 at 12:09 AM
Invalid character value for cast specification on column number 5 (Designation) Whats this error about this if the field i specified in programming error.ie DB fields in above question? ... View Questions/Answers

Programming Error  February 1, 2010 at 11:52 PM
import javax.servlet.*;import java.io.*;import javax.servlet.http.*;import java.sql.*;public class UpdateOrd extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException ... View Questions/Answers

java with xml parsing  February 1, 2010 at 7:45 PM
Hi,I need the sample code for parsing complex data xml file with java code.Example product,category,subcategory these type of xml files and parse using java.Please send the code immediately its very urgent.Thanks,Valarmathi P ... View Questions/Answers

combo program  February 1, 2010 at 7:44 PM
I want to give DOB in combo box for that i have to give 1 to 30 for days and 1900 to 2010. Without giving all, using for loop i have to get the values. Please help me.. ... View Questions/Answers

Java runtime not working  February 1, 2010 at 6:23 PM
import javax.swing.*;import java.awt.*;import java.awt.event.*;public class SwingFrame{public static void main(String[] args) throws Exception{SwingFrame1 sf=new SwingFrame1();}public SwingFrame(){JFrame f = new JFrame("Frame in ... View Questions/Answers

javascript  February 1, 2010 at 5:57 PM
i have a problem like i have a 2 combobox when i m selecting any value from first combobox depending on selected value data should be come in second combobox from sql database ... View Questions/Answers

JAVA MAIl  February 1, 2010 at 5:08 PM
Hi,I am trying to send a mail using java mail api. But I am getting following error:javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: <host name>, port: 25; nested exc... View Questions/Answers

Combobox program  February 1, 2010 at 3:53 PM
import javax.swing.*;import java.awt.*;public class SwingFrame1{public static void main(String[] args) throws Exception{JFrame f = new JFrame("Frame in Java Swing");f.getContentPane().setLayout(null);JLabel lbl1 = new JLabel("Name")... View Questions/Answers

java  February 1, 2010 at 3:10 PM
HOW AND WHERE SHOULD I USE A CONSTRUCTOR IN JAVA PROGRAMMING??? ... View Questions/Answers

Swing programming  February 1, 2010 at 3:09 PM
import javax.swing.*;import java.awt.*;public class SwingFrame{ public static void main(String[] args) throws Exception { JFrame f = new JFrame("Frame in Java Swing"); f.getContentPane().setLayout(null); JLabel lbl1 = new JLabel("Name... View Questions/Answers

Questions in Swing  February 1, 2010 at 3:01 PM
I have created combobox in my program. I added MCA,MBA,others etc.. If i click others then a new textbox should open beside that combobox for that am in need of coding in java swing. ... View Questions/Answers

java  February 1, 2010 at 1:47 PM
write a program in a pramid like 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 4 5 4 3 2 1 ... View Questions/Answers

java  February 1, 2010 at 12:38 PM
hi,i have one xml file .i want to parse the xml file ,validate the xml file and stored it into the mysql databzse.Iwant the sample code immediately.Please send to me its very urgent.Thanks,valarmathi P ... View Questions/Answers

JavaMail flagging problems  February 1, 2010 at 11:51 AM
Hi everyone, I am working on receiving a mail currently. I use a substring "status" to search for the mail's subject line and read only those mails which have this as the subject line.My problem is, every time i run the program, the old mails are also displayed. how to flag the mails... View Questions/Answers

abt proj  February 1, 2010 at 11:22 AM
which topic i have to study carefully ,when I am going to start java project using swings ... View Questions/Answers

abt java project  February 1, 2010 at 11:20 AM
I don't know too much about java , and I am working on java project, where editor is eclipse and backend postgresqlHow can i take help about my project, which book I should refers plz help me ... View Questions/Answers

XML  February 1, 2010 at 11:09 AM
How to convert database to XML file? ... View Questions/Answers

Java Compilation error  February 1, 2010 at 10:29 AM
i wrote a simple hello world program i get this error every time please helpException in thread "main" java.lang.NullPointerException at org.apache.xml.security.keys.storage.implementations.CertsInFilesystemDirectoryResolver.readCertsFromHarddrive(Unknown Source)... View Questions/Answers

Java Compilation error.  February 1, 2010 at 10:12 AM
when ever i run my console application i get this error or message even if it is a helloworld program please help<terminated>AgentId [JavaApplication]c:\javase\bin\javaw.exe 172.25.12.37/1265000394924/7e8058c4570661aax3480d38fx12687e6305exX800077/1172.25.12.37/1265000394924/7... View Questions/Answers

Error output  February 1, 2010 at 10:00 AM
Can anyone please assist me; The printed output should be:The product is 10. But instead of it I got; The product is undefined. Can anyone trace what went wrong of my code pls?===========================================================================<htm... View Questions/Answers

Day.Gui  January 31, 2010 at 12:51 PM
I am new to GUI Java programming and I am attempting to find the best way of creating a frame to contain a series of menus. I am first adding logic to have the date and time appear in the frame, but the way I am doing it they are both showing up on the same line and I can't seem to find any sources ... View Questions/Answers

Eclipse  January 31, 2010 at 12:45 PM
I having problems getting my program to run in Eclipse 3.2. Could I get some assistance perferabley by tomorrow morning. Thank You!!!!package OFC;import java.awt.*;import javax.swing.*;import java.awt.event.*;class Form extends JFrame{ JLa... View Questions/Answers

java (jquery)  January 31, 2010 at 12:13 PM
i want to combine to things to create a photo gallery.http://spaceforaname.com/galleryview eg: http://spaceforaname.com/gallery-light.htmlandhttp://finnrudolph.de/ImageFlow/Download eg: http://imageflow.finnrudolph.de/the thing i want is....i... View Questions/Answers

source code in java for a program using class  January 31, 2010 at 10:17 AM
Dear sir/madam i want source code in java for following program:WAP which creates a class accountthat stores customer name,account number and type of account.From this derive the classes cur-acc and sav-acc to make them more specific to their requirements.include the necessary member methods i... View Questions/Answers

Unable looping using JOptionPane  January 31, 2010 at 10:17 AM
import javax.swing.*;public class Shop{public static void main(String [] args){ Shop shop = new Shop(); String mainMenu= "(MAIN SCREEN )"; mainMenu+= "\n1) Computer Menu"; mainMenu+= "\n2) Storage Menu";... View Questions/Answers

C Help  January 31, 2010 at 8:15 AM
Dear sir,I'm developing a program in c using TURBO-C, i want that when my program runs the console window(cmd) should be hidden. program should run in task manager.thnx ... View Questions/Answers

create named class  January 31, 2010 at 6:35 AM
Can you check my coding@program:How to create a class named Employee with name and salary. Make a class Manager inherit from Employee with an instance field named department. Supply a method toString() that prints the manager?s name, department and salary. Make another class named Direct... View Questions/Answers

JAVA  January 30, 2010 at 7:31 PM
How to read port number using property file in JAVA? ... View Questions/Answers

DMCA.com