Home Answers Questions Question and Answers


Latest Programming Questions askedAsk your question?

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: <[email protected] 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

Language in iphone development??  October 19, 2010 at 10:58 AM
What programming language we use in iphone development??? ... View Questions/Answers

php search variable  October 19, 2010 at 10:57 AM
Search variable in PHP ... View Questions/Answers

preg_match validate  October 19, 2010 at 10:50 AM
what is preg_match and how can i use it to validate the input field. ... View Questions/Answers

xcode,IB,Iphone Simulator  October 19, 2010 at 10:44 AM
what are the functionality all the component like xcode,IB,simulator ?? ... View Questions/Answers

Basic for iphone development??  October 19, 2010 at 10:35 AM
hiii... I want to go for iphone development .. What are the basic for iphone development can some body tell me...????? ... View Questions/Answers

What is php used for?  October 19, 2010 at 9:28 AM
Hello, I want to know what is the use of PHP and why it is so popular? Please tell me some tutorial links to learn PHP. Thansk ... View Questions/Answers

Don't Understand  October 19, 2010 at 1:28 AM
Find the errors in this SQL code: SELECT first_name, last_name salary FROM employees ORDER BY department_id WHERE hire_date > 01/06/1990; Thank you for Your Help ... View Questions/Answers

Which method is more efficient?  October 18, 2010 at 9:11 PM
I'm faced with initializing a bunch of text fields in java. The problem is that the number of text fields is quite large, so i thought of putting them into an array and using a loop to initialize them. I want to know if this is better than using several lines to initialize all the text fields.... View Questions/Answers

Exception  October 18, 2010 at 8:03 PM
what is NullPointerException? ... View Questions/Answers

menu with scrollbar  October 18, 2010 at 7:30 PM
I want to use MenuBar with Scrollbar. I tried it. I dont know how to do it. so please help me. The program should be.... 1.add JScrollPane into the panel. 2.Panel layout should be null. 3.Use menubar 4.Each and every component should inside the panel. I tried it but menu bar is not working in thi... View Questions/Answers

search engine build by lucene and eclipse  October 18, 2010 at 6:12 PM
Hi, here is the code: package org.apache.lucene; import java.awt.*; import java.awt.event.*; import javax.swing.*; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.... View Questions/Answers

Exception  October 18, 2010 at 5:00 PM
In a class ,whether we can use two finally() method...... ... View Questions/Answers

JSF Tutorial  October 18, 2010 at 2:42 PM
plz provide the jsf complete tutorial ... View Questions/Answers

Form Validation with JavaScript  October 18, 2010 at 12:26 PM
I created a simple form including nine or ten fields in HTML, and i want to validate it in JavaScript. How can i do it? Thanks!! ... View Questions/Answers

gmail access using javamail API  October 18, 2010 at 12:25 PM
how to coonect to gmail using java mail API ? ... View Questions/Answers

create text box by clicking button and submittong text in text box using submit  October 18, 2010 at 12:22 PM
Hi, I created a button when i click on button new textbox is created. and i want to do that when i enter the text input in text box and when i will click submit button the text should be submitted(it shows the value in text box in SOP). i also want the text box should generate in front... View Questions/Answers

How to learn PHP?  October 18, 2010 at 12:11 PM
Hi, How I can learn PHP easily? Thanks ... View Questions/Answers

Define float in Java  October 17, 2010 at 10:03 PM
Hi, What is the correct method to define float variables in Java? float f = 3.0f; double d = 3.0d; Thanks ... View Questions/Answers

java  October 17, 2010 at 6:42 PM
<p>java program to find short form of namefor eg . sudhir kumar tiwari output should be s.k tiwari</p> ... View Questions/Answers

java  October 17, 2010 at 1:32 PM
hi all i have a problem ,i want to sotre form data in table with foreign key in java ,please help me ... View Questions/Answers

source code of java  October 17, 2010 at 9:49 AM
how to create an application using applets is front end and back end is sqlwith jdbc application is enter the student details and teaching & non teaching staff details and front end is enter in internet explorer6 (or any below version ) after entering the details press submit b... View Questions/Answers

scrollbar in JPanel  October 16, 2010 at 9:42 PM
Scroll bar is not working when i am using the panel layout is null. If i change the panel layout to flow or grid its working. I have a great trouble in this please help me. Here my code.....import java.awt.*;import javax.swing.*;class scroll {public static void ma... View Questions/Answers

Scroll in JPanel  October 16, 2010 at 9:36 PM
Hello sir, ... View Questions/Answers