Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

UIButton alloc initwithframe  February 3, 2011 at 10:44 AM
Hi, How I can make button programmatically? I think it is UIButton alloc initwithframe, but I don't know how to use this to make my button? Thanks ... View Questions/Answers

uiview alloc initwithframe  February 3, 2011 at 10:42 AM
Hi, How I can make uiview programmatically? Tell me good code for UIView alloc using initwithframe method. Thanks ... View Questions/Answers

Image writing over URLConnection  February 3, 2011 at 10:38 AM
Hello, I am trying to write an image over an HttpURLConnection. I know how to write text but I am having real problems trying to write an image I have succeeded in writing to the local HD using ImageIO: But I am trying to write Image by ImageIO on url and failed UR... View Questions/Answers

Advertisement

autocomplete displaying multiple fields  February 3, 2011 at 10:22 AM
How can I create an autocomplete with three field (name, id, phone). Placing the phone field in the appropriate input field but selecting the name field into the 'calling' input box? ... View Questions/Answers

Pagination in java  February 3, 2011 at 10:11 AM
How to handle pagination when there are records like say in millions in java? Or do we handle this using SQL? I as asked this question in an interview. ... View Questions/Answers

which version of java supports util.regex  February 3, 2011 at 8:47 AM
which version of java supports util.regex ... View Questions/Answers

Stripping of unwanted characters from string  February 3, 2011 at 8:42 AM
how to strip off unwanted characters from a string ... View Questions/Answers

How to delete line starting with a letter in java Regex?  February 3, 2011 at 2:48 AM
Hi, i 'm trying to code with regex and java. i want to know how it's possible to delete lines which starts with a letter like G or g in a text. i tried this but it's not working, please i need help. [CODE] String[] paras = Pattern.compile("(?i)((s|i|r|o|s|m|t|n)[\s,]*)+")... View Questions/Answers

q2  February 2, 2011 at 11:36 PM
Which term refers to the characteristic of an identifier that determines where the identifier can be used? scope data type address value/data no answer ... View Questions/Answers

q1  February 2, 2011 at 11:10 PM
Which type of language uses a special program to convert the entire source code into a binary language file for a particular computer? interpreted machine compiled foreign ... View Questions/Answers

classes  February 2, 2011 at 8:44 PM
what is meant by class?why we use class?what is the purpose of class?what is the main theme of class?tell clearly?plz... ... View Questions/Answers

random color fill  February 2, 2011 at 8:16 PM
Hi I am trying to create a randomly color filled oval but the outcome is a black filled oval this is the code: package assignment2; import java.awt.Color; import java.awt.Graphics; import java.util.Random; import javax.swing.JPanel; public class RandomDrawPanel extends JPanel {... View Questions/Answers

learning java  February 2, 2011 at 8:16 PM
Am learning java. but i feel really confusing about the topics like objects and classes. some times the objects are referred as the instance of a class but when comes the hierarchy, there comes the topic like "class Object" which is explained as super class of all classes. Please help m... View Questions/Answers

String  February 2, 2011 at 7:40 PM
write a program using string it should replace 'c'char to integer number as 1 in whole source ... View Questions/Answers

UIImage imagenamed memory leak  February 2, 2011 at 7:15 PM
Hi, Following code is creating memory leak: UIImage * img1 = [UIImage imageNamed:@"myimage.png"]; I have to replace existing image with new image. What could be the possible solution? Thanks ... View Questions/Answers

[UIImage isKindOfClass:]: message sent to deallocated instance  February 2, 2011 at 6:54 PM
Hi, I am getting following error: -[UIImage isKindOfClass:]: message sent to deallocated instance How to resolve the issue? Thanks ... View Questions/Answers

core java  February 2, 2011 at 6:54 PM
what is difference between specifier and modifier? what is difference between code and data? what is difference between instance and object? ... View Questions/Answers

NSLog function in Iphone  February 2, 2011 at 6:36 PM
Hi, I am facing the problem at the time of Defining NSlog Function in Iphone Applications. Can anybody suggest or provides NSLog() related informtion? I will welcome your valuable suggestions........... Thanks, ... View Questions/Answers

Transaction  February 2, 2011 at 6:32 PM
can we apply the advises as well as the TransactionProxyFactoryBean Using AOP in the same bean... just to explain it more: lets say we have one bean person bean and I am applying one advice lets say MethodbeforeAdvice, for that I need to use proxyFactoryBean and if I want to apply the transactio... View Questions/Answers

Zend framework tutorial  February 2, 2011 at 6:19 PM
Tell me the zend framework tutorial link from RoseIndia.net. Thanks ... View Questions/Answers

Iphone SDK Development  February 2, 2011 at 6:14 PM
Hi, I am a beginner in the Mobile applications platform. From where i get the online help or information related to Iphone SDK Development Apps help. Please provides me reference sites.. Thanks ... View Questions/Answers

Iphone Tutorial  February 2, 2011 at 5:46 PM
Hi, I am a new in this mobile applications segment. From where i will get the information about iphone tutorial or Iphone Development Tutorials. Please suggest the resouces......... Thanks ... View Questions/Answers

Difference between Web server and Application server ? Example of both  February 2, 2011 at 5:42 PM
Difference between Web server and Application server ? Give example of both? ... View Questions/Answers

macros  February 2, 2011 at 4:04 PM
this is the one program, sir i want the output for this: include include define SQUARE(x) x*x int main() { int i = 2; int j= SQUARE(i); printf("The value of j is: %d\n", j); getch(); return 0; } ... View Questions/Answers

MS Access connct using flex with java  February 2, 2011 at 3:52 PM
Hi All, Can anybody help me how to connect to the MS access database and getting the data using flex in java technology with tomcat server. ... View Questions/Answers

java swings  February 2, 2011 at 3:08 PM
Hi, I need a sample code for once click the exit tab the frame window will be closed. Instead of button close i need tab close option.Please send the sample code immediately.......?Its very urgent........ Thanks, Valar ... View Questions/Answers

main function  February 2, 2011 at 1:43 PM
Give me the description of public static void main(Strings args[]) ... View Questions/Answers

java  February 2, 2011 at 12:36 PM
the values which are in the data table of database test.now i got the values are displaying on the jsp page but the values are displaying many times please help me in this regard i will give u the code which i have written and please refer the corrections and send me as soon as possible please he... View Questions/Answers

java  February 2, 2011 at 11:57 AM
hai sir , i have written the same code for the display but the data was displaying in the server but not on the jsp page pleas help me. thanks for ur answere please help me soon ... View Questions/Answers

refrence book  February 2, 2011 at 11:18 AM
suggest many good book for hibernet ... View Questions/Answers

Hii  February 2, 2011 at 10:58 AM
How to add junit to our eclipse framework?? and How to use it i.e., Do we need to build up any path for junit in eclipse? ... View Questions/Answers

Canvas placing problem  February 2, 2011 at 10:50 AM
how to place a canvas in swt under a toolbar? ... View Questions/Answers

PHP Tutorials Guide with Examples  February 2, 2011 at 10:22 AM
Hi, I am a beginners in PHP. I have searching for php tutorial guides with examples. Can any one provide me resourceful link. Thanks, ... View Questions/Answers

Learn PHP Tutorials for Beginners  February 2, 2011 at 10:06 AM
Hi, I am just pass-out from college and eager to learn the PHP. Can anyone suggest or provide me a resourceful information for php beginners. Thanks, ... View Questions/Answers

swing program  February 2, 2011 at 10:04 AM
Iam using one JFrame and 4 JPanels one JTabbedPane. my problem is next, previous buttons. when click next button visible some JPanels,again press visble another JPanels. also previous button. how to write the logic. and then click the main JPanel partially display the below JPanels. Please tell m... View Questions/Answers

PHP Tutorial  February 2, 2011 at 9:58 AM
Hi, I am new in PHP programming. Can anyone provide me good urls to learn PHP? Thanks ... View Questions/Answers

jsp one to one mapping  February 2, 2011 at 9:46 AM
how to perform one to one mapping in jsp....code of one to one mapping with .xml file ... View Questions/Answers

scanner program  February 2, 2011 at 9:24 AM
a news paper boy purchase 100 papers every day.he purchases papers at Rs.1.50 and sells at Rs.2.00 at each.any unsold news papers,as scrap at a price of Rs.0.50. write a program to read the demand and evaluate his profit..using scanner ... View Questions/Answers

program  February 2, 2011 at 9:19 AM
how to improve programming skills plss tell some tips..i am understanding concepts but unable to write program so,pls give some guideness plsss.... ... View Questions/Answers

constructor program  February 2, 2011 at 9:17 AM
write a program to calculate the gross salary and net salary of an employee based on the following attributes: empno,empname,emp address,basic,hra,da,ta,vehicle loan,personel loan use the scanner class....using constructor.pls send program... ... View Questions/Answers

Alignment  February 2, 2011 at 8:34 AM
How to align the controls in java? ... View Questions/Answers

Graph in JAVA SWING  February 2, 2011 at 5:17 AM
Hi, How to draw a simple GRAPH in JAVA SWING ? ... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
<p>import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*;</p> <p>public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOExce... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

error at programming  February 2, 2011 at 12:05 AM
import javax.servlet.http.*; import javax.servlet.*; import java.io.*; import java.sql.*; public class Login extends HttpServlet { public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException , IOException { res.setContentType... View Questions/Answers

core java  February 1, 2011 at 7:25 PM
basic java interview question ... View Questions/Answers

PHP Concatenation Operator  February 1, 2011 at 6:36 PM
Hi friends, Can any one guide me how to use the concatenation string operator in PHP? ... View Questions/Answers

java  February 1, 2011 at 6:28 PM
write a program that prompts the user to enter an integer and determines whether it is divisible by 5 and 6, whether it is divisible by 5 or 6, and whether it is divisible by 5 or 6, but not both. for example, if your input is 10, the output should be is 10 divisible by 5 and 6? false is 10 divi... View Questions/Answers

java  February 1, 2011 at 6:28 PM
write a program that prompts the user to enter an integer and determines whether it is divisible by 5 and 6, whether it is divisible by 5 or 6, and whether it is divisible by 5 or 6, but not both. for example, if your input is 10, the output should be is 10 divisible by 5 and 6? false is 10 divi... View Questions/Answers

J2ME  February 1, 2011 at 6:12 PM
Hi friends, i have display the bar code image from Mysql database to web page i need to display that image in my J2ME application,how? ... View Questions/Answers

variable function in php  February 1, 2011 at 6:03 PM
Can any one tell me how to write a variable function in PHP? ... View Questions/Answers

variable function in php  February 1, 2011 at 6:03 PM
Can any one tell me how to write a variable function in PHP? ... View Questions/Answers

java  February 1, 2011 at 4:57 PM
write a program that reads three edges for a tringle and determines whether the input valid. the input is valid if the sum of any two edges is greater thyan the third edge.for example, if your input for three edges is 1,2,1 output should be: can edges 1,2 and 1 from a t... View Questions/Answers

java  February 1, 2011 at 4:57 PM
write a program that reads three edges for a tringle and determines whether the input valid. the input is valid if the sum of any two edges is greater thyan the third edge.for example, if your input for three edges is 1,2,1 output should be: can edges 1,2 and 1 from a t... View Questions/Answers

java  February 1, 2011 at 4:57 PM
write a program that reads three edges for a tringle and determines whether the input valid. the input is valid if the sum of any two edges is greater thyan the third edge.for example, if your input for three edges is 1,2,1 output should be: can edges 1,2 and 1 from a t... View Questions/Answers

Plz Help  February 1, 2011 at 4:24 PM
Hello Guys!! Plz. Help I need to write a program to display the astrological sign based on your birthday for example If we enter the date of birth in the following format from console--13/08/1990 it should give you the output as ?LEO" ... View Questions/Answers

can I capture wifi trafic in windows?  February 1, 2011 at 4:20 PM
Hi, can I analyse wifi trafic in windows and not in linux ? thank you ... View Questions/Answers

java  February 1, 2011 at 4:18 PM
hai sir, i have one doubt please say how retrive the data from mysql database in jsp using java please help me in this sir.please send me answere as soon as possible ... View Questions/Answers

wifi et windows  February 1, 2011 at 4:03 PM
est ce qu'on peut capturer les trames d'un reseau wifi sous windows?? et merci pour la reponse :) ... View Questions/Answers

Advance Java  February 1, 2011 at 4:01 PM
Context ctx = new InitialContext(); if(ctx==null) { throw new RuntimeException("JNDI Context not Found"); } ds=(DataSource)ctx.lookup(""); if(ds==null) { throw new RuntimeException("DataSource ... View Questions/Answers

Javascript code  February 1, 2011 at 3:43 PM
Dear Sir, Again i am in need of your small help.I have a page in which i am showing many informations in a table.e.g.-In my page you can find many rows and coloumns.I want to take print out with print options.But in traditional print code it is not comin good with cut portions from the ta... View Questions/Answers

how to store and retrieve images int and from the database using php  February 1, 2011 at 3:32 PM
please anyone can help me in storing the images and retrieve it back from the Mysql database using php ... View Questions/Answers

In tag files,does attribute values accept expressions or not? If not please explain the reason  February 1, 2011 at 2:09 PM
**Actually when i do manually in tomcat server with out eclipse it's working,but in eclipse it is raising the following exception.... could any body explain this please............** HTTP Status 500 - type Exception report message description The serve... View Questions/Answers

project  February 1, 2011 at 1:42 PM
how to make blinking eyes using arc, applet in core java ... View Questions/Answers

java  February 1, 2011 at 1:09 PM
how to i create an applet .My company is called Agtips.inc is high technology company that leads the markert in supply of computer accesories and softwares in Botswana.help me create thi applet for this company.i want to add button that enables the user to click and view other informationon on o... View Questions/Answers

please tell me the difference between local variable, staitic variables, and instance variables....  February 1, 2011 at 12:30 PM
please tell me the difference between local variable, staitic variables, and instance variables.... ... View Questions/Answers

container  February 1, 2011 at 12:16 PM
how to add containers in form ... View Questions/Answers

java  February 1, 2011 at 12:14 PM
how to separate real and imaginary part of a complex number stored in string in java ... View Questions/Answers

please tell me the flow of execution of this program  February 1, 2011 at 12:06 PM
class Test{ int x; Test(int x){ this.x=x; } static void access(){ System.out.println("x= "+x); }} class Static{ public static void main(String ar[]){ Test obj=new Test(55); Test.access(); } } ... View Questions/Answers

the JDBC Driver has been forcibly unregistered  February 1, 2011 at 10:30 AM
Hi my application name is hospital i can build successfully but in the tomcat console showing this SEVERE: Error listenerStart Feb 1, 2011 10:28:53 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/hospital] startup failed due to previous errors Feb 1, 2011 10:28... View Questions/Answers

android video player  February 1, 2011 at 9:51 AM
i need java code for zooming effects for video,cropping the video,creating snapshots from the video,pls provide the code that can be run on android platform ... View Questions/Answers

Java Primitive Datatype  February 1, 2011 at 9:22 AM
what is the size of boolean datatype ? please explain in detail ... View Questions/Answers

How to save image on the server by applet  February 1, 2011 at 6:37 AM
HI, in my project I am using applet and creating a chart by jcchart. Now when the chart has ploated If user want to export this chart as GIF format then this chart should be save as a gif image on the server directory. Can any Body help me how can I do it Thanks & Regards Dilip Agarwa... View Questions/Answers

How to save image on the server by applet  February 1, 2011 at 6:37 AM
HI, in my project I am using applet and creating a chart by jcchart. Now when the chart has ploated If user want to export this chart as GIF format then this chart should be save as a gif image on the server directory. Can any Body help me how can I do it Thanks & Regards Dilip Agarwa... View Questions/Answers

how to read 100 text files from a folder or directory and write the data into a single file.using java programming?  February 1, 2011 at 3:04 AM
i have multiple(app..100) text files which has data in the form of intgers consisting of 3 columns and app..3000 rows.the data in the 1st 2 columns is similar for every file.so it the 3rd column value that keeps on changing for every file.i have read the data from all the files and write them int... View Questions/Answers

doubt this  January 31, 2011 at 8:12 PM
what is the use of "this" and "super" keyword? ... View Questions/Answers

checkbox  January 31, 2011 at 7:34 PM
how to insert multiple values in database by using checkbox in jsp? ... View Questions/Answers

image in database  January 31, 2011 at 6:40 PM
how to set image in database and retrieve it using servlet(java)in msaccess ... View Questions/Answers

error occured in following page ... how to resolve it?  January 31, 2011 at 6:34 PM
// to convert image into thumbnail i used following code. But netbeans has given me following error ....wht i shud do???????? i m java beginner so plz explain in smooth way.... error is:::: Exception in thread "main" java.lang.IllegalArgumentException: Width (-1) and height (-1) c... View Questions/Answers

example  January 31, 2011 at 6:32 PM
example on Struts framework? ... View Questions/Answers

example  January 31, 2011 at 6:32 PM
example on Struts framework? ... View Questions/Answers

enable disable table  January 31, 2011 at 5:17 PM
hi I have table with 3 columns if i click one column the other 2 column should disable pls can anyboby help me ... View Questions/Answers

hi  January 31, 2011 at 5:16 PM
what is the code for printing stars as follows * * * * * * * * * *print("code sample"); ... View Questions/Answers

what are the jar files should i add to resolve the Exception(Class org.apache.jsp.index_jsp Not Found) ?  January 31, 2011 at 4:57 PM
what are the jar files should i add to resolve the following Exception HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception ja... View Questions/Answers

Table  January 31, 2011 at 3:58 PM
Why u dont understand sir?? I want to make a table program which generate a table on showMessageDialog. I have learnt these methods until now. import.javax.swiing JOptionpane Integer.parseInt() public static void main(String arg[]). I want to make program which use these above methods. No other m... View Questions/Answers

which one is better Struts2 or JSF  January 31, 2011 at 3:19 PM
Which framework is better for the development of core banking solution for the presentation layer Struts2 or JSF2.Request you to explain with the valide reason. Thanks in Advance !!! ... View Questions/Answers

JDBC Driver  January 31, 2011 at 2:56 PM
I want to know the clear syntax and usages of $ types of JDBC drivers. Where can i get it? I search for it, nobody give Syntax for tat different drivers. can u give a sample codes for tat? ... View Questions/Answers

abstract methods in java  January 31, 2011 at 2:22 PM
what is abstract methods in java.give better examples for understanding ... View Questions/Answers

java swings  January 31, 2011 at 2:12 PM
Hi, I need the sample code for how to set the background image using jframe and also set the jtext field and jlable boxes under the bachground image. Please send the code immediately,its very urgent.Please send me as soon as possible. Thanks valarmathi ... View Questions/Answers

Struts(1.3) action code for file upload  January 31, 2011 at 1:55 PM
Hi All, I want to upload file using struts framework. the request should be came from standalone application using HttpUrlConnection. How can i write my struts(1.3) action code to handled Multipart form data. I used FormFile and is working fine with struts jsp (property file of Fo... View Questions/Answers

help me...  January 31, 2011 at 1:23 PM
there is the picture given - cat - dog - rabbit - mouse a. create a class name b. create its attributes (at least 3 attributes) : species, size, leg c. create its methods ( at least 3 methods) : walk, eat, sleep create the objects from the class based on the pictu... View Questions/Answers

tomact installation  January 31, 2011 at 11:12 AM
how to connect tomcat to eclipse IDE.. if i run the program it's showing could not load the tomcat server configuration at \servers\tomcatv5.5.. what should i do?? ... View Questions/Answers

continuing execution after an exception is thrown  January 31, 2011 at 10:05 AM
If while executing a statement in a try say the second statement, if it throws an exception, is it possible to handle that exception and then continue on with the remaining statements in the try. ... View Questions/Answers

Maximum number of catches for a try block  January 31, 2011 at 9:54 AM
How many catch statements are allowed for a try statement? ... View Questions/Answers

DMCA.com