Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

Get current country from iPhone ??  October 21, 2010 at 2:21 PM
hello, I want to get the current country in the iPhone settings. Can anyone tell me how to get the current country in iPhone application. ... View Questions/Answers

regexkitlite ?  October 21, 2010 at 2:15 PM
hello, what is regexkitlite ?? why we are using this file in our application?? ... View Questions/Answers

write a program to create a user defined  October 21, 2010 at 1:59 PM
plz send me code ... View Questions/Answers


How can I connect my database to my application ?  October 21, 2010 at 1:59 PM
How can I connect my database to my application? ... View Questions/Answers

How can I to my database to my application  October 21, 2010 at 1:56 PM
How can I to my database to my application ... View Questions/Answers

junit  October 21, 2010 at 1:24 PM
why we are going to junit? ... View Questions/Answers

Sample Ajax Code  October 21, 2010 at 12:04 PM
Sample Ajax Code for getting values from another JSP ... View Questions/Answers

How to Run First Java Bean Program ?  October 21, 2010 at 12:01 PM
Hi My Dear Friend I can run many Java Programs Like, Applet,Swing,RMI ,Socket Programming and Java Servlet too But Now I need that How to run Java Bean Now I have BDK1.1 But still don't know that how run this... I have this bdk dir... \bdk1_1\beans\beanbox in this dir. just a ru... View Questions/Answers

jaa  October 21, 2010 at 11:38 AM
import java.* ... View Questions/Answers

file attach  October 21, 2010 at 10:45 AM
how pick up the file from database and attach it to the mail in java ... View Questions/Answers

Solve using only Javascript loops...  October 21, 2010 at 10:14 AM
Write a JavaScript code, 1) to find a number of unique letters in string. (Eg. if keyword is unique, Unique count will be '4') 2) so that numbers appear in following format, 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 1 2 3 1 2 1 ... View Questions/Answers

how to debug parameters in the hibernate query  October 21, 2010 at 7:13 AM
how to debug parameters in the hibernate query ... View Questions/Answers

SHOPPING COUNTER  October 21, 2010 at 2:11 AM
i need to do the system about the item from the small shop. how can i calculate the item with price. if user choose more quantity from it. 1. ikan masin (price = 1.50) 2. garam (price = 1.00) 3. buttercup (price = 1.00) 4. mentega (price = 2.00) 5. honey (price = 3.00) if customer... View Questions/Answers

leap year  October 21, 2010 at 12:40 AM
how to create class for leap year. It is leap year if it is divisible by 4 and 400 but not 100? ... View Questions/Answers

java beginnerssss!!!  October 20, 2010 at 11:57 PM
write a program in java that check two values rather it is even or odd if both entries are even then multiply both vaalue and if both are odd then bigger term minus from lesser and if one even and one entry is odd then the msg display is wrong entry ... View Questions/Answers

Displaying checked checkbox in same page as well as print on another page ....also add next pages cheches checkbox into previous list  October 20, 2010 at 11:03 PM
1)checkboxExampl.jsp var xmlHttp;var arr= new Array() ;Array.prototype.clean = function(deleteValue) { for (var i = 0; i < this.length; i++) { if (this[i] == deleteValue) { this.splice(i, 1); i--; } } return t... View Questions/Answers

program  October 20, 2010 at 9:42 PM
sample jsp programs for beginners....... ... View Questions/Answers

get integer at run time  October 20, 2010 at 9:39 PM
how to get integer value at run time in j2ee using servlets ... View Questions/Answers

hi  October 20, 2010 at 8:37 PM
sir i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i enter in my frame should reach mysql and should get saved in a database which ... View Questions/Answers

Dynamically creating a form in gwt?  October 20, 2010 at 8:35 PM
how can i create a gwt form by retrieving fields dynamically from a map? i have all the fields set in the data base and i am retrieving them in a map and i want to create fields dynamically in the gwt file so can you help me out by taking a sample code of 2-3 different fields in a map and creatin... View Questions/Answers

editable datagrid  October 20, 2010 at 6:22 PM
How to create a editable datagrid in jsp,struts1.3,glassfish v2.x application server and database oracle using netbeans6.8 ide? ... View Questions/Answers

Want to display Arraylist items on same row in JSF  October 20, 2010 at 6:08 PM
I want do display values of one arraylist on same row using datatable? If i use h:column, then it goes on different row. Please tell me, how I can do it? ... View Questions/Answers

Thread  October 20, 2010 at 5:23 PM
there are two threads running at a time.. when am updating a values in database. both thread halt and stop for moment till it get updated into database... so i dnt want thread to get halts for tht moment of period. whats solution for it ... View Questions/Answers

Naveen  October 20, 2010 at 3:49 PM
how to connect with Mysql database to SAML application using Struts application ... View Questions/Answers

Login Program  October 20, 2010 at 3:14 PM
Login program in struts to set username & password in session. and this session is available in all screens for authentication ... View Questions/Answers

Jsp include page problem  October 20, 2010 at 3:04 PM
I have included footer.jsp in all my pages. It is working in all pages except search.jsp. In search.jsp (Old footer.jsp content is displayed ) How can I rectify this? ... View Questions/Answers

Problem to display checkbox item  October 20, 2010 at 3:02 PM
Hi, Following is my code: <%@page import="java.sql.*"%> <h1>example.jsp</h1> <table border="1"> <tr> <td></td> <th>domainName</th> </tr> <% try{ Connection conn = null; Class.f... View Questions/Answers

jtable problem  October 20, 2010 at 2:17 PM
how to make a cell text hypertext? ... View Questions/Answers

java mail  October 20, 2010 at 2:04 PM
sir, I need a source code to understand the working of java mail.plz help me. Reply so on. Thanks, mohit ... View Questions/Answers

Java Questions  October 20, 2010 at 1:15 PM
How can I set classpath for java classes through java code..so that i dont need to set it manually.. It should get set through my application? ... View Questions/Answers

project  October 20, 2010 at 1:12 PM
write a program in java to develop a port scanner for common devices(HTTP,FTP,Telnet) ... View Questions/Answers

jdbc odbc connection  October 20, 2010 at 12:07 PM
i need a program in java which uses a jdbc odbc connection ... View Questions/Answers

display checked ckeckbox in same jsp page  October 20, 2010 at 11:42 AM
how to display checked ckeckbox in same jsp page? ... View Questions/Answers

Executing code upon folder/drive access  October 20, 2010 at 10:34 AM
I would be glad if someone could show me how to make your program in jar format execute when the folder that contains it is accessed or maybe a drive. Thank you. ... View Questions/Answers

java  October 20, 2010 at 10:18 AM
import java.sql.*; import java.io.*; class MysqlSample { public static void main(String[] args) { try { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter student number"); ... View Questions/Answers

Javascript loops  October 20, 2010 at 10:04 AM
Write a JavaScript code, - for guessing any number between 1 to 20. run the loop till you not get correct number. Use prompt() box to input number from user. ... View Questions/Answers

ramanjaneyulu  October 20, 2010 at 7:26 AM
where is the SQL statement in this example? i mean when we call session.save() method it is inserting data into database. where it executes the insert statement. how can i see the insert statement in the code? ... View Questions/Answers

hi  October 19, 2010 at 11:29 PM
sir i've a project on railway reservation... i need to connect netbeans and mysql with the help of jdbc driver... then i need to design the frame... aftr clickg run i need to enter data to ma frame and the data which i enter in my frame should reach mysql and should get saved in a database which... View Questions/Answers

query  October 19, 2010 at 11:26 PM
what is jre????? why java is robust in nature??????? why it is platform independent??????? ... View Questions/Answers

button in java  October 19, 2010 at 9:06 PM
how can i compare names of two buttons after they are clicked? ... View Questions/Answers

To get the String between two strings  October 19, 2010 at 7:09 PM
How to get string between two strings repeatedly using java? ... View Questions/Answers

Switch case + condition??  October 19, 2010 at 6:23 PM
I try to use a switch case with condition but it doesn't display anything have look: ......public void commandAction(Command c, Displayable d) { String label = c.getLabel(); if (label.equals("Exit")) { destroyApp(true); } if (label.equals("Back")) { ... View Questions/Answers

Active vibration  October 19, 2010 at 5:46 PM
hello is it possible to active vibration from code ? if yes give me solution!!! ... View Questions/Answers

Converting a NSString into NSDate  October 19, 2010 at 5:29 PM
hello. How can I create a NSDate object out of it and then get different components like day, month, date, year from it. I have date string: Tuesday, October 19, 2010. ... View Questions/Answers

analog to digital  October 19, 2010 at 5:21 PM
how to convert analog to digital in java ? ... View Questions/Answers

set rounded corner in a UITextView ?  October 19, 2010 at 4:59 PM
hello i want to know that how can i set rounded corner in a UITextView ? ... View Questions/Answers

Reply to the mail(import files error)  October 19, 2010 at 4:51 PM
Hi Its already there in the bin. If its class path should be set , how can i do dat? ... View Questions/Answers

Is there a limitation on the number of files in an iphone app?  October 19, 2010 at 4:47 PM
hello all Is there a limitation on the number of files in an iphone app? My app will contain about 2000 or more text files.Would i be in trouble? ... View Questions/Answers

NSuserDefault or Sqlite  October 19, 2010 at 4:43 PM
hello I just wanna clear some concept about NSuser Default and Sqlite. plz suggest me, when to use NSUserdefault and when to use sqlite. can i use NSuserdefault for some large data?? ... View Questions/Answers

xml displaying a drives data.....  October 19, 2010 at 4:40 PM
Hi all, I need a solution for displaying content of a drive(Ex: c , d , e ) in the browser using the XML. Thanks in advance.......... ... View Questions/Answers

java jdbc  October 19, 2010 at 4:37 PM
hi friends, I am not getting how to connect by using type 2 And type 3 drivers between java and oracle...... please any body help me...... thanking you, your's, praveen ... View Questions/Answers

Pradeep pareek  October 19, 2010 at 4:23 PM
how to apply multiplequery on same data??? ... View Questions/Answers

Reply to the mail(import files error)  October 19, 2010 at 4:10 PM
Hi! Thank you. That error has gone and i have worked out an example, but its giving a null pointer exception as org.hibernate.MappingException: Error reading resource: contact.hbm.xml at org.hibernate.cfg.Configuration.addResource(Configuration.java:447) at org.hibernate.cfg.Conf... View Questions/Answers

Pradeep pareek  October 19, 2010 at 4:10 PM
how to draw image on image in swing ... View Questions/Answers

loginform giving 404 error  October 19, 2010 at 4:07 PM
Hi, I am developing a login form code from roseindia.net. i will develop all the formbean class, action class, login.jsp, success.jsp, failure.jsp, web.xml, struts-config.xml. when Iam pressing the submit button the give error is populated. HTTP Status 404 - /login.do ... View Questions/Answers

Saving data in database  October 19, 2010 at 3:57 PM
hello i m facing a strange problem if i am submitting data form database then i can see it in database but if am submitting from app then it is not showing in to database but when i fetching form database to view it is showing.. what's going on some body tell me.... ... View Questions/Answers

iPhone/iPad Project xCode  October 19, 2010 at 3:40 PM
hii Can I compile the same iPhone source code for iPad? ... View Questions/Answers

for sending project build  October 19, 2010 at 3:34 PM
hello I want to send my iphone project build to someone else how can i send it... ... View Questions/Answers

OpenGL ES For Iphone  October 19, 2010 at 3:17 PM
hello. I have no experience at all with OpenGL and just started playing around with iPhone development. From google, it seems that iphone uses a special type of opengl (openGL ES). What are the languages that is supported by openGL ES? I know a little bit of C++ but by now i believe my C ... View Questions/Answers

How to save JPanel as gif or jpeg file  October 19, 2010 at 3:02 PM
i draw polygons , rectangles, lines on jpanel using draw line method drawpolygon methods etc, now i want save the data of jpanel which is drawn by me(lines,polygons) as a gif or jpeg file , how can i? ... View Questions/Answers

How to save JPanel as gif or jpeg file  October 19, 2010 at 3:02 PM
i draw polygons , rectangles, lines on jpanel using draw line method drawpolygon methods etc, now i want save the data of jpanel which is drawn by me(lines,polygons) as a gif or jpeg file , how can i? ... View Questions/Answers

wrong year  October 19, 2010 at 2:59 PM
hello I m using the following code: NSDateFormatter *df = [[NSDateFormatter alloc] init]; [df setDateFormat:@"yyyy"]; NSDate *date = [NSDate date]; NSLog(@"%@", [df stringFromDate:date]); return; Its giving me wrong year.. ... View Questions/Answers

PDF document  October 19, 2010 at 2:52 PM
hello, How to Open a PDF document on iPhone?? ... View Questions/Answers

jsp  October 19, 2010 at 2:49 PM
how to connect the database with jsp using mysql ... View Questions/Answers

PNG and JPG  October 19, 2010 at 2:49 PM
hii, When to use PNG or JPG in iPhone development? ... View Questions/Answers

DOM  October 19, 2010 at 2:46 PM
package name for Document class? ... View Questions/Answers

alert box in iphone  October 19, 2010 at 2:43 PM
hello, how can i show alert box in my iphone application?? ... View Questions/Answers

code  October 19, 2010 at 2:42 PM
write a program to encrypt and decrypt the cipher text "adfgvx" ... View Questions/Answers

reply to the mail  October 19, 2010 at 2:39 PM
Hi! which jar file needed to be added? Thanks ... View Questions/Answers

string to float  October 19, 2010 at 2:39 PM
hiii. how can i change my string value in float for some operation?? give me some code for this?? ... View Questions/Answers

rename project in iphone  October 19, 2010 at 2:34 PM
hello, I have a lot of code that I've written, and finally have come up with the correct branding. If there is any way to rename the project then tell me How can I rename my project and app in XCode? ... View Questions/Answers

delete  October 19, 2010 at 2:27 PM
how delete only one row in the database using jsp.database is mysql ... View Questions/Answers

difference b/w viewdidload and ViewWillAppear  October 19, 2010 at 2:24 PM
hello all, what is the difference b/w viewdidload and ViewWillAppear ??? ... View Questions/Answers

array to string  October 19, 2010 at 2:18 PM
hello how to assign value from array to string. nsstring *abc = [array objectAtindex:1]; ... View Questions/Answers

Reply to ur mail(Hibernate Error)  October 19, 2010 at 2:12 PM
Hi! Im using Eclipse. Steps : 1. Downloaded the example code and library from rose india and extracted the content in a directory. 2. Downloaded file contains the Eclipse project. 3. Started the Eclipse project and selected Java Project. 4. Created a new project browsing the file. 5. Copied conta... View Questions/Answers

Adding Jar into Eclipse  October 19, 2010 at 2:12 PM
Hi, Please provide Step by step procedure to add jar, tld files and configurations in Eclipse Helios version and i am using Jboss5. Thanks&Regards, Shiva s ... View Questions/Answers

size of different basic data types  October 19, 2010 at 2:00 PM
Write a simple program to find the size of different basic data types in java. ... View Questions/Answers

Regarding Login application program  October 19, 2010 at 1:19 PM
Hi this is shiva. iam writing a small login form using struts1.3.10 version. once iam submit the login button it shows NULLPointer Exception. I write a SOP Statement in ActionClass. in that, the values are not getting from the formbean.my formbean class name is "myform" and ActionClass is "myActi... View Questions/Answers

file_exists php not working  October 19, 2010 at 1:15 PM
file_exists php not working. Please give me the simple example. ... View Questions/Answers

Resource files in iphone  October 19, 2010 at 1:15 PM
hiii how can we use resource files in iphone development ??? ... View Questions/Answers

ile_exists php  October 19, 2010 at 1:14 PM
i have written a simple php code where i used the file_exists. But somehow it's not working. Please suggest Thanks! ... View Questions/Answers

Icon image  October 19, 2010 at 1:13 PM
hiii how can we set image on the icon by which we can launch the application??? ... View Questions/Answers

validate input php  October 19, 2010 at 1:12 PM
How to validate the input fields in PHP & HTML. ... View Questions/Answers

php import data from excel to mysql  October 19, 2010 at 1:09 PM
php import data from excel to mysql ... View Questions/Answers

import org.hibernate.Session error  October 19, 2010 at 1:08 PM
I am new to hibernate. I have followed the given steps but it could not recognize hibernate.session and other imports. what i need to do? ... View Questions/Answers

current date in php  October 19, 2010 at 1:08 PM
PHP script to get current date. ... View Questions/Answers

warnings in php  October 19, 2010 at 1:06 PM
how to suppress warnings in php?? ... View Questions/Answers

making call  October 19, 2010 at 1:03 PM
Hi, Is it possible to make a call from application with out quitting application in iOS 4? ... View Questions/Answers

Connect to the database  October 19, 2010 at 1:00 PM
how to connect to the database in the iphone??? ... View Questions/Answers

text to speech  October 19, 2010 at 12:21 PM
hello all. how we can use text to speech in our application in iphone?? ... View Questions/Answers

Address book in iphone  October 19, 2010 at 12:18 PM
hello.. how can we use address book in our iphone app ??? ... View Questions/Answers

Memory Management  October 19, 2010 at 12:14 PM
how can we manage memory in iphone development??? ... View Questions/Answers

Retina Display  October 19, 2010 at 12:11 PM
is it possible to test Retina Display on simulator? ... View Questions/Answers

program and Interface builder  October 19, 2010 at 12:06 PM
Hi, I'm just getting started in iPhone development, If someone could please suggest a good criterion for when to use a nib to lay out UI elemennts and when to layout the UI elements programmatically. Thanks! ... View Questions/Answers

Array Initialization in obj C  October 19, 2010 at 11:59 AM
how can we initialize array in objective with some object ??? and give me also way to print the Array!!! ... View Questions/Answers

Access a variable local and globally  October 19, 2010 at 11:54 AM
how can we access a variable local and globel?? ... View Questions/Answers

print variable in iphone  October 19, 2010 at 11:33 AM
how can i print a variable in iphone???? ... View Questions/Answers

splash screen  October 19, 2010 at 11:24 AM
What is splash screen and how can i set splash screen in iphone?? ... View Questions/Answers

Android Development  October 19, 2010 at 11:03 AM
what Language we use in google Android development ?? ... View Questions/Answers

Application without Interface Builder!!  October 19, 2010 at 11:01 AM
Can we make our iphone application without Interface Builder??? ... View Questions/Answers