Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

New to struts2  August 23, 2011 at 6:09 AM
Please let me know the link where to start for struts 2 beginners ... View Questions/Answers

Jtree Nodes auto Hiding Problem  August 23, 2011 at 1:05 AM
Have a nice day to everyone I am using Jtree and developed one hierarchic model as per requirement but i am having large no. of node so i have to hide of fold those node which i am not looking for... for example suppose i am having 5 main node and each node contains 5 sub node so when i... View Questions/Answers

courier management service (using servlets,jsp,jdbc)  August 22, 2011 at 11:53 PM
is anyone having information about courier management service ? plz share it .its urgent THANKING YOU IN ADVANCE ... View Questions/Answers

Advertisement

line number in a file of entered string  August 22, 2011 at 8:49 PM
when i entered string from console , it should show line number in a file of that string ... View Questions/Answers

using spring rmi+maven but i am getting this exception  August 22, 2011 at 4:15 PM
D:\Nexustool\integrationengine\trunk>mvn exec:java [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building engine 1.0-SNAPSHOT [INFO] ---------------------------------------------... View Questions/Answers

question  August 22, 2011 at 3:53 PM
Sir, If i have a frame with two button sign in and cancell using java swing .If i am clicking a sign in button using user name and password then i want to display the new client window and if i am clicking cancell button i want to close the window. please help me to create this and send ... View Questions/Answers

how to add icon in java ME eclipse [Symbian]S60 5th edition emulator?  August 22, 2011 at 3:07 PM
how to add icon in java ME eclipse [Symbian]S60 5th edition emulator? ... View Questions/Answers

Java Program  August 22, 2011 at 2:40 PM
I want the answer for this question. Question: Write a program to calculate and print the sum of odd numbers and the sum of even numbers for the first n natural numbers, where n is given as input from the user(using for loop). Instructions: *You should surely use Functions in this... View Questions/Answers

upload image in php  August 22, 2011 at 11:23 AM
after select image,how to save it in a folder?and how to connect with database.need a help pls ... View Questions/Answers

BulkSMS  August 22, 2011 at 10:43 AM
code for sending Bulk SMS using JSP ... View Questions/Answers

question  August 22, 2011 at 9:35 AM
Sir, If i have a frame with one text field and two button search and send using java swing .If i am clicking a search button then i want to display the file chooser and i want to display the selected file on the text field of frame and if i am clicking send button i want to send that sele... View Questions/Answers

Recommendation for application server and SOA process server  August 22, 2011 at 3:20 AM
Comparing between apache geranimo and jboss application server, which one is more recommended considering performance, stability, price and scalability? and is there any open source reliable process server alternative to websphere process server? ... View Questions/Answers

Calendar Issues  August 22, 2011 at 1:42 AM
I am trying to get this calendar to to display to date selected on a new page. Right now it opens a new page but does not diplay the date from the calendar on the previos page. Here is my code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Trans... View Questions/Answers

Project  August 21, 2011 at 11:58 PM
what is the code of the "sign up" form where user have to enter name,user id,password,confirm password,phone no?After entering data user go to another page. ... View Questions/Answers

pls answer these question  August 21, 2011 at 7:04 PM
Write a program that prompts the user to input the length and width of a rectangle. Then calculate and prints the rectangle‚??s area and perimeter. ... View Questions/Answers

Exception  August 21, 2011 at 6:46 PM
I was creating a table dynamically but it shows exception i.e shown down Suplier created0 Suplier created0 Suplier created0 Product created0 Product created0 Product created0 Product created0 could not fetch initial value SessionFactory creation failedorg.hibernate.exception.SQLGrammarException: ... View Questions/Answers

why java file save as its class name  August 21, 2011 at 6:28 PM
hi,this is subbareddy vajrala.my doubt is why java files save as its class names? ... View Questions/Answers

TextField validations  August 21, 2011 at 4:12 PM
I want to know How to check first letter capital or not in a text field and also check all are characters or not in same textfield? and also want to know how to check all digits or not in a textfield? ex:when we enter data in age field we want check they are digits or not? ... View Questions/Answers

TextField validations  August 21, 2011 at 4:12 PM
I want to know How to check first letter capital or not in a text field and also check all are characters or not in same textfield? and also want to know how to check all digits or not in a textfield? ex:when we enter data in age field we want check they are digits or not? ... View Questions/Answers

searching inside a file for details  August 21, 2011 at 3:43 PM
i created a file with name,country,state etc...when i'm searching for the name, i have to get other details like country,state etc...please do help ... View Questions/Answers

String question  August 21, 2011 at 11:16 AM
which method is used in java to eliminate the duplicate elements in String? ... View Questions/Answers

covert the following using java  August 20, 2011 at 9:45 PM
how to convert (for eg : 2.89) . this decimal to binary in java. ... View Questions/Answers

sir i want small project with of health care system with struts and hibernate plz help me  August 20, 2011 at 7:18 PM
sir i want small project on health care system with struts and hibernate plz help me ... View Questions/Answers

Random classes  August 20, 2011 at 7:01 PM
Hello... What is Random class? What's the purpose of it? ... View Questions/Answers

Random classes  August 20, 2011 at 7:01 PM
Hello... What is Random class? What's the purpose of it? ... View Questions/Answers

Random classes  August 20, 2011 at 7:01 PM
Hello... What is Random class? What's the purpose of it? ... View Questions/Answers

Drag and Drop file upload in DOJO  August 20, 2011 at 6:25 PM
Hi, We are working with DOJO for creating the UI for the web application.Our requirement is "Drag and Drop files from desktop to the browser for upload". Is this feature supported in DOJO? Any information in this regard will be very helpful. ... View Questions/Answers

String tokenizer class  August 20, 2011 at 6:24 PM
Hai... What is string tokenizer class? & what's its purpose? ... View Questions/Answers

String tokenizer class  August 20, 2011 at 6:24 PM
Hai... What is string tokenizer class? & what's its purpose? ... View Questions/Answers

String tokenizer class  August 20, 2011 at 6:24 PM
Hai... What is string tokenizer class? & what's its purpose? ... View Questions/Answers

what is mutable and immutable object in java ?difference ?  August 20, 2011 at 5:59 PM
what is mutable and immutable object in java ?difference ? ... View Questions/Answers

Gregorian calendar class  August 20, 2011 at 5:35 PM
Hai... What is the purpose of gregorian calendar class? ... View Questions/Answers

question  August 20, 2011 at 5:28 PM
Sir, If i have a frame with one text field and one button search using java swing .If i am clicking a search button then i want to display the file chooser and i want to display the selected file on the text field of frame . please help me to create this and send me the source code using... View Questions/Answers

Remote file storing in mobile  August 20, 2011 at 3:51 PM
Hai.. i want to do my semester project..i have selected a topic "Remote file storing in mobile"..it is in the form like any Java enabled GPRS based mobile phone users can store their images,video,audio,contacts etc in the mobile to a remote server..so how many users will be there for this project... View Questions/Answers

Remote file storing in mobile  August 20, 2011 at 3:51 PM
Hai.. i want to do my semester project..i have selected a topic "Remote file storing in mobile"..it is in the form like any Java enabled GPRS based mobile phone users can store their images,video,audio,contacts etc in the mobile to a remote server..so how many users will be there for this project... View Questions/Answers

searching for strings in a file  August 20, 2011 at 3:01 PM
how can i search of a person and display the other details associated with the name using java gui window? ... View Questions/Answers

Java with myBatis  August 20, 2011 at 2:35 PM
I have two java been. i have to pass these two class as the parameter in the sql query in the Mybatis. for ex: two classes are class A{}//some setters and getters class B{}//some setters and getters My DAO is interface ABC{ public void selectSomeData(A a,B b); } now my quer... View Questions/Answers

Problem in getting file path in js  August 20, 2011 at 2:00 PM
hi, I am using ofbiz framework , How i can get the file path in javascript for input type = "file" and i am using only firefox not other browser. so please help me it is very important for me. Thank in advance....... ... View Questions/Answers

How to merge two word document using java  August 20, 2011 at 10:15 AM
how to merge two word document using java? ... View Questions/Answers

How to merge two word document using java  August 20, 2011 at 10:15 AM
how to merge two word document using java? ... View Questions/Answers

which one is better, Flex or Java?  August 20, 2011 at 9:11 AM
Does flex has a scope to survive in IT? Which one of these two, Flex and Java, has a better scope of survival? ... View Questions/Answers

website  August 19, 2011 at 11:09 PM
How to paste data directly on any website' text box ... View Questions/Answers

help  August 19, 2011 at 9:35 PM
how can i query for a minimum value of of one of the column in my database through java ... View Questions/Answers

Cockroach Trap in java programming  August 19, 2011 at 8:15 PM
There are many cockroaches in a house and they are very annoying. So, the owner of the house decides to create a number of traps in his house to trap a cockroach in when it walks passing by the trap. If a cockroach is trapped, it will die. Your program will create a grid of 50x50 tiles wi... View Questions/Answers

Assigning URL  August 19, 2011 at 5:58 PM
Actually i have created an attendance template, i can use it perfectly, now the problem is how can my team members access the attendance template without having the source file, i need to know how to assign a web url to my attendancetemplate.jsp file, please help me if anyone knows, am not gettin... View Questions/Answers

dropdown  August 19, 2011 at 5:42 PM
I have a dropdown having 2 options-"Open"& "closed".When i select "open" option the related rows of data are retrieved from database and same with the other option.My database is Mysql and coding in PHP ... View Questions/Answers

AutoCompleteField using JTextArea  August 19, 2011 at 4:49 PM
How to create an AutoCompleteField in java such as username field using JTextArea ... View Questions/Answers

SCJP Eligibility  August 19, 2011 at 4:16 PM
Being a graduate student, I just want to ask.. Is obtained mark in Final Year Of Graduation matters? ... View Questions/Answers

selectoptions errors in java script  August 19, 2011 at 3:59 PM
hi, in my web page when I select the color of the image it displays that particular color but when i again opt the select option it displays errors message. How do I rectify this problem ... View Questions/Answers

Is there anyone out there?  August 19, 2011 at 2:51 PM
Hi please could somebody respond as I am seeking advice but not getting any and do not know whether or not to continue using this site?. ... View Questions/Answers

j2me  August 19, 2011 at 2:28 PM
Hi, how can add image in forms but using lick a button. does not using canvas in j2me for Symbian development ... View Questions/Answers

Please can I get the code for solution of producer consumer problem using semaphores?  August 19, 2011 at 2:24 PM
Please can I get the code for solution of producer consumer problem using semaphores? ... View Questions/Answers

can interface solve this problem in java  August 19, 2011 at 2:17 PM
I have a JDialog which displays the calendar [from 2010-2020], i created this in a different class. In this calendar each day from 1-31 is placed in corresponding cells of a 5X6 JTable. Now i need to get which day is clicked by the user from another class which calls this calander class. can inte... View Questions/Answers

four rectangle/image of the shape of the button.then Draw these on some x and y co-ordinated in j2me then how to draw ?  August 19, 2011 at 12:32 PM
hi, i have button use in j2me. then use a imaga for lick a button. then process is four rectangle/image of the shape of the button.then Draw these on some x and y co-ordinated in j2me. then how to draw in j2me eclipse? ... View Questions/Answers

image Processing  August 19, 2011 at 12:05 PM
Please give Me a JPEG or GIf "LOSS LESS" Image Compression and Decompression Source Code Please Help Me I don't want links Kindly help me Compression ratio not matter....... ... View Questions/Answers

j2me  August 19, 2011 at 12:01 PM
Hi, In my j2me application I have used canvas to display an image in fullscreen.In the image there are four points( rectangular areas ). Now I have to add events to these points. It looks like that those areas will be used as button. How can I select a area of an image and add an event to that a... View Questions/Answers

XSS attack  August 19, 2011 at 11:58 AM
I wish to know about XSS attack. At our server the some of the web pages such as index.php and login.php are getting infected with malicious script. Some script / JS is getting injected. I clean the file uploaded again. But this activity is not stopping. how to avoid this? Kindly advise. ... View Questions/Answers

GeneralBlock Memory Leak  August 19, 2011 at 11:30 AM
Hi all, I'm testing my iPhone application using instrument test in XCode 4... but on every test it throws a GeneralBlock error. Can anyone explain what type of the "GeneralBlock" error is and when it occurs?? **generalblock-16 generalblock -24 generalblock-56 generalbl... View Questions/Answers

java in using brausing  August 19, 2011 at 10:45 AM
sir, i am beginner java developer ,sir i am creat's the image viewer Jframe but not a created frame plz. halpe me give the image viewer Jframe code ... View Questions/Answers

image Processing  August 19, 2011 at 10:28 AM
BCIF Image Compresssion Algorithm s alossless image Compression algorithm ,Pleas Help Me weather it can support only 24 bit bmp images? ... View Questions/Answers

Image Processing Java  August 19, 2011 at 10:26 AM
Using This Code I Compressed A JPEG Image And the Original Size of the image is 257kb and The Compressed Image Size Is 27kb How Can I Decompress It Please Give Me The "SOURCE CODE" And Hee is my Source Code.... Please kindly Help Me? import java.awt.image.BufferedIma... View Questions/Answers

write a program in java.  August 18, 2011 at 11:13 PM
arrange the natural n umber in 5x5 matrix as 21 22 23 24 25 20 7 8 9 10 19 6 1 2 11 18 5 4 3 12 17 16 15 14 13 i at centerd position and remaining arrange in anticlockwise direction. ... View Questions/Answers

asynchronous and synchronous collection  August 18, 2011 at 5:04 PM
which are all interfaces or classes are synchronous and asynchronous in java? please send it in table or picture form. ... View Questions/Answers

java gui-with jscroll pane  August 18, 2011 at 4:48 PM
Dear friends.. I have a doubt in my gui application. I developed 1 application. In this application is 1 Jscrollpane of height 600 and width 400. Normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged row by row...each row has 1 text fi... View Questions/Answers

java gui-with jscroll pane  August 18, 2011 at 4:48 PM
Dear friends.. I have a doubt in my gui application. I developed 1 application. In this application is 1 Jscrollpane of height 600 and width 400. Normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged row by row...each row has 1 text fi... View Questions/Answers

returning doubles with 2 decimals JAVA  August 18, 2011 at 4:46 PM
Hi all. I'm writing a program where users input the cost of an item (in the constructor), so for example, Item (string name, double cost, int qty) { ... } I have a method public double getCost() { ... } <... View Questions/Answers

Help me  August 18, 2011 at 4:14 PM
Hi, LWUIT is working in eclipse j2me for Symbian OS? ... View Questions/Answers

message sending and receiving using UDP TCP in J2ME  August 18, 2011 at 3:22 PM
I need the simple program for message sending and receiving using UDP TCP in J2ME. Could u pls? ... View Questions/Answers

j2me  August 18, 2011 at 3:19 PM
hi, how to use LWUIT in emulator J2me for Symbian OS? and also how to install in emulator, did worked or not? ... View Questions/Answers

j2me  August 18, 2011 at 3:04 PM
hi, i'm working emulator in j2me language, for Symbian OS (Nokia) development. then, what are the click events in this for developing the application.? Thank you. ... View Questions/Answers

j2me  August 18, 2011 at 2:57 PM
hi, in j2me does any click events for developing Symbian.? and How to add click event for dynamically generated button in j2me on Symbian OS ... View Questions/Answers

J2ME  August 18, 2011 at 2:53 PM
i am working in j2ME language on Symbian OS S60 (Nokia)application in this application i am adding buttons for designing in MIDlet application. so how to add button in dynamically. and how can place lancher icon also. ... View Questions/Answers

how to implements jdbc connections using awt  August 18, 2011 at 2:17 PM
sir, My name is subbareddy vajrala.I want to implement small project on awt.so please give me your valuable information about how to implements jdbc connections in awt.please give me sample example awt with jdbc. Thanking you sir.... View Questions/Answers

how to generate pdf file in struts  August 18, 2011 at 1:20 PM
I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration database values should be shown as pdf or excel ... View Questions/Answers

how to generate pdf file in struts  August 18, 2011 at 1:20 PM
I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration database values should be shown as pdf or excel ... View Questions/Answers

to display NEXT and previous option after 10 entries in java  August 18, 2011 at 1:09 PM
As after jsp code we refer to java for connectivity and i want that directly only 10 entries will be open and next there will be pages. so what would i do for coding in java? ... View Questions/Answers

question  August 18, 2011 at 12:51 PM
Dear Sir, How do i solve the following problems , i am using jdk1.6.0_22 and eclipse Helios , please help me ................ Access restriction: The type Player is not accessible due to restriction on required library /home/dieutek/jdk1.6.0_22/jre/lib/ext/jmf.jar Access r... View Questions/Answers

inherittance  August 18, 2011 at 12:31 PM
Develop a class Borrower which has 5 important fileds, namely borrowerId, borrowerName, borrowerLastName, contactNumber and dateOfBirth. Your class must demonstrate good encapsulation where all fileds get manipulated through get and set methods. Save your file as Borrower.java Sample inpu... View Questions/Answers

check box condition  August 18, 2011 at 12:21 PM
Hai, my application has two check box one for chart and another one for table.when We click chart check box download only chart but table also download.same problem in table slection..xsl coding was used in my application..please help me... ... View Questions/Answers

java  August 18, 2011 at 12:00 PM
Write a program that print the following pattern: - 1 2 3 2 3 4 5 4 3 4 5 6 7 6 5 4 5 6 7 8 9 8 7 6 5 ... View Questions/Answers

merge the multilple jasperfiles in java  August 18, 2011 at 10:05 AM
how to merge the multiple jasperfiles in java ... View Questions/Answers

help me plz:-Merge multiple jasper files into Single one  August 18, 2011 at 9:40 AM
how to Merge multiple jasper files into Single one word doc ... View Questions/Answers

Merge multiple jasper file to one word Doc using java  August 18, 2011 at 9:33 AM
how to Merge multiple jasper file to one word Doc using java ... View Questions/Answers

Task manager enable and disable thru java  August 17, 2011 at 10:22 PM
I would like to know, how to enable and disable task manager using java. Kindly, please Let me know ... View Questions/Answers

Java Timer  August 17, 2011 at 7:38 PM
Hai Sir, I want to know How to schedule a task on first date of every month in java by using Java timer.Please help me sir. thank you, Shyam ... View Questions/Answers

how to display data from jsp file into database  August 17, 2011 at 4:58 PM
this is a jsp file . look at the line with code-> Statement st=con.createStatement(); in the below example. the error is "cannot convert from java.sql.Statement to com.mysql.jdbc.Statement please help me with it. thanks <%@ page language="java" contentType="text/html; charset=UTF-8" ... View Questions/Answers

hyperlink  August 17, 2011 at 4:37 PM
I have a .xls file and i want the code to open this .xls file in read only mode when i click on a hyperlink,it should not not be editable,please send me the code ... View Questions/Answers

Hyperlink  August 17, 2011 at 4:28 PM
The excel file is not opening in read only mode ,it is editable,actually i need to open it in read only mode by clicking on link.please help me ... View Questions/Answers

Can Login on Fedora, cannot on Windows- JSP/Servlet for login  August 17, 2011 at 4:05 PM
I am using JSP and Servlet to perform login. When I host the website and test it works fine for clients on Fedora but on Windows (with IE, firefox, google chrome) clients cannot login to the website. How can I fix this? Please help.... ... View Questions/Answers

Displaying database values in pdf format  August 17, 2011 at 3:20 PM
Hi All, I am developing a struts application.I am having one registration form when i am submitting the form the values are stored in database,the database name is registration. In another form i am having a button, by clicking that button the registration data... View Questions/Answers

Hyper link  August 17, 2011 at 3:00 PM
how to open a document in read only mode by clicking on a hyperlink ... View Questions/Answers

how to display the database values in pdf format  August 17, 2011 at 2:29 PM
in struts how to display the values in pdf format when clicking a button in jsp page ... View Questions/Answers

how to code-updating some details n some details r unchanged  August 17, 2011 at 2:02 PM
i have created a page with empty text boxes,details are.... house no: streetname: cityname: pincode: contact : bloodgroup : my requirement is to update the details of user. and i had written the... View Questions/Answers

Table-chart selection  August 17, 2011 at 1:43 PM
Hai, Our application has pdf download.The pdf file has chart and table..Now the problem is user choose only table option but table and chart download..i want table only..the coding was given below..please help me..... ... View Questions/Answers

Can someone help me with this?  August 17, 2011 at 1:39 PM
I have this project and i dont know how to do it. Can someone help me? please? Write a java class named "PAMA" which define a main () method that performs simple arithmetic. (e.g. Add, Subtract, Multiply, Divide) Help me please! Thanks in advance! ... View Questions/Answers

question  August 17, 2011 at 12:21 PM
I am doing a project using struts framework and spring jdbc .I have a issue that when data is inserted into database if we click the refresh button then the same data is again inserted in to the database.What is the solution of this problem? ... View Questions/Answers

J2ME  August 17, 2011 at 12:04 PM
What is the source code for Mortgage Calculator. using text fields are home price,loan amount,down payments,down payment percent, Annual tax,annual Interest,interest rate,annual insurance,pay per monthly,terms in years,freq.payment then Commands are Interest rates,Rest,More these all are using ... View Questions/Answers

Help Me  August 17, 2011 at 11:49 AM
What is the source code for Sample example for Mortgage Calculator in J2ME language for developing Symbian. ... View Questions/Answers

Java scroll pane-java GUI  August 17, 2011 at 10:23 AM
Dear friends.. Very Good morning. I have a doubt in my gui application. Take ex:- My gui application has 1 Jscrollpane of height 600 and width 400. normally it is showing 200 height and 400 width.. JscrollPane consist of somany text field arranged... View Questions/Answers

event handling  August 17, 2011 at 7:12 AM
diff btwn event handling in ASP.net and in HTML ... View Questions/Answers

DMCA.com