example of 1700 bir form using html  January 18, 2012 at 5:38 PM
example of 1700 bir form using html i don't know how to start it... i'm confused on what would i do first and what would i use... :( please help me on this.... thank you in advance... ... View Questions/Answers

Dynamin Jfree chart in jsp---error  January 18, 2012 at 5:26 PM
While compiling this CODE: <%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <%@ page import="org.jfree.chart.ChartFactory" %> <%@ page import="org.jfree.chart.ChartUtilities"%> <%@ page import="org... View Questions/Answers

tree in java  January 18, 2012 at 4:36 PM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

tree in java  January 18, 2012 at 4:30 PM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

tree in java  January 18, 2012 at 4:30 PM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

RadioButton  January 18, 2012 at 4:25 PM
Hi,am new to Jsp.I have an issue.From the first am following the tutorials of RoseIndia. I have two jsp classes.In one jsp class,i wrote employee details like employee id,employee name,employee phno,employee address.All the information is stored into the database table. In the second class what i... View Questions/Answers

java mail sending with images  January 18, 2012 at 4:00 PM
I need to send images through java mail without giving content path(i.e. we don't want hard code the image path)can you tell me the idea? ... View Questions/Answers

liferay related query  January 18, 2012 at 3:02 PM
can you suggest me how to get all the session ids of different users logged in to liferay? ... View Questions/Answers

generater  January 18, 2012 at 3:01 PM
how to use hilo generator in hibernate. I want to connect hibernet application Oracle DataBase .in oracle database own user available but data not inserted.Same Appliction is execute if user is System/manger. ... View Questions/Answers

get data in pop up window droplists and on selecting data in the same show a grid table with related datas  January 18, 2012 at 2:45 PM
Hi, Please help me urgently.... I need to have a text field and a button on my parent jsp page.When i click the button a pop up window appears with two drop down lists and a button. One of the drop down have country names which need to be fetched from data base(let it be country table), and on cl... View Questions/Answers

java  January 18, 2012 at 2:43 PM
why methods in java raise exceptions ... View Questions/Answers

File I/O  January 18, 2012 at 1:43 PM
i am trying to read and write a file. my program works perfectly i am using PrintWriter and BufferedReader. but my problem is that when reading line by line if i reach a certain conditions like "if(line.startsWith("blahblah"))" jump that line and print the rest of the line. i want to do some thin... View Questions/Answers

Struts 2 Radio Button  January 18, 2012 at 1:42 PM
I have a search functionlaity where i have two radio buttons and I am using Struts2 tag.I want first rado button to be selected by default.But when i select the second radio button and hit on search button i want to retain the selection of that second radio button on search list result... View Questions/Answers

proxy server in java  January 18, 2012 at 12:43 PM
how to developed proxy server in java .. detail of what is proxy server.. ... View Questions/Answers

exception reason  January 18, 2012 at 12:37 PM
i had an exception equal sign is missing at line pst.executeUpdate() method line ... View Questions/Answers

File I/O  January 18, 2012 at 12:33 PM
i have a problem i am trying to print on a new line every time i reach a certain condition "if(line.startsWith("Creating"))" i want to skip that line and print out the rest of the lines. my line input text looks like this Creating Finally, its time to write some code. Boo... View Questions/Answers

Which request executed first Out of multiple requests in servlet  January 18, 2012 at 12:20 PM
Servlet handles multiple request simultaneously.Every new request will be assigned to thread, then the thread calls service method.Init method will be called only once and same instance shared for all the requests. Am sending two requests to servlet ,which request will be executed first , please ... View Questions/Answers

populating text box using jsp code  January 18, 2012 at 11:59 AM
Sir, How to populate related values in a text box after selecting value from drop down list using JSP and mysql. I tried using Ajax from your example. But for some browser it does not support. Please give an example using jsp code only. ... View Questions/Answers

Getting Parameter from a css styled jsp file to a java servlet file...  January 18, 2012 at 10:34 AM
This is my code.... login page-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]> <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page i... View Questions/Answers

tree in java  January 18, 2012 at 10:31 AM
Can you help me to draw the tree? First we assign the parent node. when child node(x) come we must check the condition. there are three condition such as x<5,5<=x<10 and 10<=x<15 after that we have to add the child in order to condition. Here we have more than two children. After t... View Questions/Answers

java coding help plz ?  January 18, 2012 at 8:34 AM
Given two integers N and M (N ΓΆβ?°Β¤ M), output all the prime numbers between N and M inclusive, one per line. N and M will be positive integers less than or equal to 1,000,000,000. The difference between N and M will be less than or equal to 5,000,000. Sample Input 5 20 Sample O... View Questions/Answers

Sql Server 2008 with textbox  January 18, 2012 at 3:27 AM
**Hi, I tried to insert into DB using textbox in a form using vb by visual studio 2010 but its always catch an error [Cannot open database "4" requested by the login. The login failed. Login failed for user 'sa'] i tried to get a solution for this error this the code i used** Imports Sy... View Questions/Answers

core java  January 18, 2012 at 12:00 AM
public class Sample{ public static void main(String args[]){ int a; } } Q.why the above code is not compiled ? Q.why the below code is compiled successfully ? public class Sample{ public static void main(String args[]){ in... View Questions/Answers

login example  January 17, 2012 at 7:34 PM
1.Loginpage.jsp <%@ page language="java" contentType="text/html; charset=windows-1256" pageEncoding="windows-1256"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta h... View Questions/Answers

login example  January 17, 2012 at 7:34 PM
1.Loginpage.jsp <%@ page language="java" contentType="text/html; charset=windows-1256" pageEncoding="windows-1256"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta h... View Questions/Answers

pushing UITableViewController  January 17, 2012 at 7:10 PM
How is it possible to navigate from UITableView. I wanted to open another view on clicking Table cell view? ... View Questions/Answers

How to send UIWebView Title to UINavigationBar  January 17, 2012 at 7:09 PM
How can i replace the title of the UINavigationBar to UIWebView Page Title(i.e. javascript title)? ... View Questions/Answers

student registration example  January 17, 2012 at 7:08 PM
1.reg.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> ... View Questions/Answers

UIWebView in UINavigationController  January 17, 2012 at 7:08 PM
I am wondering why application gets slow while push and pop. I have used the UINavigationController in my application. [self.navigationController popViewControllerAnimated:YES]; ... View Questions/Answers

UIImageView UIScrollView Zoom  January 17, 2012 at 7:07 PM
I am trying to implement a Zoomin / Zoomout feature in UIImageView and wanted to have the scroll capability init. ... View Questions/Answers

How does this example work even if no oracle to be used and only access is available?  January 17, 2012 at 7:06 PM
CONNECTION CLASS package ExamplePackage; import java.sql.*; import java.util.*; public class ConnectionManager { static Connection con; static String url; public static Connection getConnection() { try { Clas... View Questions/Answers

CHN15M116  January 17, 2012 at 6:53 PM
package ExamplePackage; import java.sql.*; import java.util.*; public class ConnectionManager { static Connection con; static String url; public static Connection getConnection() { try { Class.forName("oracle.jdbc.dr... View Questions/Answers

Writing a web page to test drive each method in the web app  January 17, 2012 at 3:04 PM
I got an assignment in my university. I need to write a single web page, that lists all the classes in the particular web app. Selecting a class, the page should list all the functions in it. Selecting a function, the user should be able to feed the parameters and displayed the returned value as ... View Questions/Answers

File I/O  January 17, 2012 at 2:42 PM
i am trying to write a program that reads a text file and writes it to another directory. the main purpose of this program is to take the text file then read it and write it into as a comma delimitade file. i have to problem: everything is perfect but when it comes to writing ... View Questions/Answers

bank application  January 17, 2012 at 11:55 AM
hello sir I got the simple bank application project which is very useful but I want the database for this project kindly send me database for this simple online bank application ... View Questions/Answers

How can I paginate a table which has shown in a div through Ajax in client side without using database  January 17, 2012 at 11:54 AM
The table is shown by calculation in a PHP script file so The data not store any where so please give me the way to paginate the table ... View Questions/Answers

Jfree exception  January 17, 2012 at 11:41 AM
import java.sql.*; import org.jfree.chart.*; import org.jfree.chart.plot.PlotOrientation; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.data.general.DefaultPieDataset; import org.jfree.data.xy.*; import org.jfree.data.*; public cla... View Questions/Answers

Jfree exception  January 17, 2012 at 11:41 AM
import java.sql.*; import org.jfree.chart.*; import org.jfree.chart.plot.PlotOrientation; import org.jfree.data.category.DefaultCategoryDataset; import org.jfree.data.general.DefaultPieDataset; import org.jfree.data.xy.*; import org.jfree.data.*; public cla... View Questions/Answers

Example for a method in java which returns a class  January 16, 2012 at 9:44 PM
Hi, I want to create a 1 class,and declare some methods there.I need to method must returns a classname.when i call that particular method(which returns a class),how can i access that member variables of that class using that method.......plz do the needful. ... View Questions/Answers

static keyword in interface  January 16, 2012 at 6:21 PM
Could any one explain,why static keyword implict (or explict ) come in interface? I asked lot of persons about this question, but nobody did not answered clearly. please explain clearly and say what is the reason? ... View Questions/Answers

Inheritance  January 16, 2012 at 5:09 PM
static methods are inherited or not? ... View Questions/Answers

sql  January 16, 2012 at 3:02 PM
i want that whenever i click add button in my form value of an column employee-id will automatically increase by one..and show the new employee-id value in text box. please send me the source code for this . ... View Questions/Answers

Database Status  January 16, 2012 at 2:55 PM
Hello Everyone, I am working on a project,its almost done with only module remaining in it i.e; it has to show the status of database in the graph chart or pie diagram in terms of percentage and time period. please help me out. Thanks in advance, Shakeel. ... View Questions/Answers

How to show database values in Graph.(Like Cricket score board Graph)  January 16, 2012 at 2:18 PM
Hi, Can Any one help out! How to show database values in Graph. i mean while changing values in database,the corresponding curve should change accordingly.(Like Cricket score board Graph) ... View Questions/Answers

File I/O  January 16, 2012 at 1:07 PM
greetings i was running into a problem. is their a way to read multiple files from one and write the in a different directory one by one ... View Questions/Answers

image display  January 16, 2012 at 12:29 PM
sir the answer which you have sent to me is already I have I want to know that the syntax which you have writen for display "response.getOutputStream().write(bytearray,0,size); is absolutely right but i want to display in "div image from databse /div" plz help me i will wait for ur reply ... View Questions/Answers

image display  January 16, 2012 at 12:27 PM
sir the answer which you have sent to me is already I have I want to know that the syntax which you have writen for display "response.getOutputStream().write(bytearray,0,size); is absolutely right but i want to display in image from databse plz help me i will wait for ur reply ... View Questions/Answers

how can i display the dates of one week by selecting the date randomly from the calendar?  January 16, 2012 at 12:08 PM
I am facing a problem in my application,Here i should display the calendar, simultaneously i want to display the list of seven dates from the date selected from the calendar. how can we display the dates by picking the date randomly? ... View Questions/Answers

Hospital project  January 16, 2012 at 10:31 AM
hello sir i want hospital management system Source code in C # swing Back-end sql sever 2005. i want these type of model 1. Username and password 2. staff details i. Doctor details ii. nurse details iii. Compounder details iv. Lab technician details v. Wardboy details vi. Sweeper details ... View Questions/Answers

asp.net mobile website  January 16, 2012 at 8:09 AM
hello all.Which framework should I use to develop an asp.net mobile website?I'm currently using visual studio 2010 but it does not have the mobile webform as template. So, should I use the latter or normal web form to develop my website. Thanks :) ... View Questions/Answers

Code for opening a new mail from the default mail box and copy the database contents  January 15, 2012 at 11:16 PM
Guys, here is how it goes when i click on a button say "mail", the code fetches the receipients, subject and the body of the mail from database, now i want a code wherein when i click on "mail" the above said data should respectively be fetched ,and my default mail should be opened and a new mail... View Questions/Answers

national polling system in secure and manager  January 15, 2012 at 10:56 PM
plz help me..i want source code of my project..plz plz send to me ... View Questions/Answers

sorting  January 15, 2012 at 5:10 PM
I have got 3 questions in interview . please help me how to do ? 1) public int rotatedSearch(int[] values, int start , int end , int x) { //implement a search function for a sorted rotated array. //duplicates are allowed. Returning any one of the duplicates is acceptable. } 2) pu... View Questions/Answers

please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an o... View Questions/Answers

please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an o... View Questions/Answers

java programming code  January 15, 2012 at 2:00 AM
strong textHi I need the java code for the folllowing java output can you help me?The user inputs for the program are in inverted commas thank you. Blockquote HARDWARE ITEMS CODE DESCRIPTION UNIT PRICE K16 Wood screws, brass, 20mm, pack of 50 \$ 7.75 D... View Questions/Answers

ask user how many numbers to be inputted and determine the sum and highest number using an array in java  January 14, 2012 at 6:28 PM
ask user how many numbers to be inputted and determine the sum and highest number using an array in java ... View Questions/Answers

command prompt is compilation is not working  January 14, 2012 at 6:06 PM
Dear java users can anyone help me to run the program in command line prompt i tried by selecting the environment variable and class path and path in my system my program is compiling and generation the class file using javac c:\helloworld.java command and the class file is also getting generated... View Questions/Answers

image display  January 14, 2012 at 5:41 PM
hello sir this is saurav srivastav, I am developing my website I have seen all the results of displaying and I got some good code for uploading image in ms access database and also seen the result of displaying image from access database but Sir I want that how I display image from database on a ... View Questions/Answers

core java  January 14, 2012 at 2:38 PM
Dear Friends, I am new to java and i faced one program.Can any one just help me getting output for this program given below: a a b a b c a b c d a b c d e a b c d e f a b c d e a b c d a b c a b a how can we get this out using for loop.please help me.Thank you!!! ... View Questions/Answers

playing an audio file  January 14, 2012 at 12:02 PM
In playing an audio file we have to take one method getAudioClip(getCodeBase(), "TestSnd.wav") inside that getCodeBase() is there which generate an object of URL class .it generates an error.please tell me how to solve this problem and also tell me where i should pass my audio clip path ... View Questions/Answers

is it possible to connect the multiple databases from the hibernate application  January 13, 2012 at 11:25 PM
is it possible to connect the multiple databases from the hibernate application,if it is possible then tell me with step wise manner ... View Questions/Answers

HTMLEncode and HTMLDecode  January 13, 2012 at 11:13 PM
Sir I need your help... Suppose there are 2 dropdownlists in my page. Firstly, I fill the first one with values from database using ajax. There is a field (say code) in the database that contains values with some special characters (e.g ten&five>four)... View Questions/Answers

HTMLEncode and HTMLDecode  January 13, 2012 at 11:09 PM
Sir I need your help... Suppose there are 2 dropdownlists in my page. Firstly, I fill the first one with values from database using ajax. There is a field (say code) in the database that contains values with some special characters (e.g ten&five>four)... View Questions/Answers

HTMLEncode and HTMLDecode  January 13, 2012 at 11:09 PM
Sir I need your help... Suppose there are 2 dropdownlists in my page. Firstly, I fill the first one with values from database using ajax. There is a field (say code) in the database that contains values with some special characters (e.g ten&five>four)... View Questions/Answers

Is the logic correct to detect IE version..plz let me know  January 13, 2012 at 5:52 PM
<html> <head> <script type="text/javascript"> function checkIEVersion() { var IE_Version; var IE_Engine; /*@cc_on @if( @_jscript_version < 9 ) { if( @_jscript_version >= 5.8 ) IE_Version = "8"; ... View Questions/Answers

hello there i need help  January 13, 2012 at 12:42 PM
: i need to do a program like this: Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an option then i should proceed here if i choose b: YOur Balance is __ i... View Questions/Answers

convertig biginteger value into integer  January 13, 2012 at 12:05 PM
I want to parse a BigInteger class variable into integer like BigInteger p = BigInteger.valueOf(10); now i want to convert p value into int . I searched so many times on google to solve this problem but i found no solution so please somebody help me to solve this problem .I am the beginner in ja... View Questions/Answers

forwarding request to a jsp when user clicks on back button in ie  January 13, 2012 at 12:03 PM
Hi all, I have developed a web based application. After user log out of the application, We should not allow the customer to go back to the previous page. Can we forward request to a jsp page whenever user clicks on back button?. If it is possible, please help me in resolving this proble... View Questions/Answers

how to validate all form field values at once.  January 13, 2012 at 12:02 PM
how to validate all form field values at once. condition:no form field shold contain sometext("--select--") ... View Questions/Answers

jsp images  January 13, 2012 at 10:55 AM
hi I had done a demo application using jsp. And i tried to display some images which is located in the server folder. It has done by using the IP address path of that image folder.. It has been success full in IE. But it doesn't get displayed in chrome and Mozilla. What's the problem with... View Questions/Answers

Doubts regarding images  January 13, 2012 at 10:49 AM
hello, I am dynamically generating an image in my system with out using database.. And i want the same image if i access the address bar url in other system image xhould be occur in other system also.. so can any one help me out in doing this.. thanks in advance. ... View Questions/Answers

Setting environment variables  January 13, 2012 at 10:26 AM
Hi, I have a java web application running on jboss AS. 1)How do I set the environment variable in jboss? 2)How do I get the environment variable from jboss? ... View Questions/Answers

Network monitoring under LAN  January 13, 2012 at 10:00 AM
am in search of a java program that monitors the real time traffic statistics such as datarate,traffic flow of a LAN....can any one help me by posting java codes or related ideas.. ... View Questions/Answers

lists  January 13, 2012 at 6:02 AM
how to implement lists by using array? ... View Questions/Answers

database and servlets  January 13, 2012 at 2:10 AM
how can get the questions from a database and use it as questions for a form. and present one question per page. its for a tomcat server ... View Questions/Answers

code for program  January 13, 2012 at 12:30 AM
hello,I am new to java and need to get the code for a program,i've been trying all sorts of code and nothing works any help would be appreciated.Below is what the program should output with the user's input enclosed in inverted commas thank you. BlockquoteHARDWARE ITEMS C... View Questions/Answers

compilation error  January 12, 2012 at 11:12 PM
Hi my program below is not compiling,when I try to compile it i'm getting the error message "tool completed with exit code 1".The loop has to be at the end of the program can you help me. Blockquoteimport java.util.*; import java.text.*; class HardwareItems { St... View Questions/Answers

super class  January 12, 2012 at 11:08 PM
which is the super base class in java..? ... View Questions/Answers

abstract method  January 12, 2012 at 11:05 PM
is final method is in abstract class or not ...? ... View Questions/Answers

mailserver  January 12, 2012 at 10:38 PM
how to fatch email into mailbox? ... View Questions/Answers

threads in java  January 12, 2012 at 9:22 PM
how to read a file in java , split it and write into two different files using threads such that thread is running twice ... View Questions/Answers

struts 1.3  January 12, 2012 at 6:25 PM
my requirement is i have two drop downs.second drop down menu is connected to first drop down.when i click an item from first drop down all the data related to that item in database will come in next drop down menu using struts 1.3 but without using ajax. ... View Questions/Answers

event tracking code  January 12, 2012 at 6:24 PM
a javascript written that will help us to track sitewide, even tracking in Google Analytics ... View Questions/Answers

parse url iphone sdk  January 12, 2012 at 4:58 PM
How can i parse two different URL's using NSXMLParser.... ... View Questions/Answers

Modify Data Type with ALTER Command  January 12, 2012 at 3:18 PM
Is it possible to modify the Data type of a column which has at least one data in it?If it is possible,then what will happen to the data in the column? Example. Table Name: Emp EmpName | Salary Smith | 10000 The above table is with 'Char' as datatype for... View Questions/Answers

using java.lang.OutOfMemoryError: Java heap space  January 12, 2012 at 1:51 PM
i wrote a program that reads and writes multiple files and combines them and writes them as one single file in as CVS format(bin.txt). After the program is done then another class reads the new file and removes extra delimiter(,) that the first file had at the end for some reason. the problem com... View Questions/Answers

database  January 12, 2012 at 12:02 PM
i need optimised search algorithm and ranking algorithm for my project. i planned to develop one real time application. in that i search user required data from the database and rank the results and display it to the user can you tell any real time application which is not currently available? ca... View Questions/Answers

database  January 12, 2012 at 12:01 PM
i need optimised searching algorithm to retrieve the data from the database and optimised ranking algorithm to display the reults into the user.. ... View Questions/Answers

json and android  January 12, 2012 at 4:52 AM
how can i use a json string [{"Id":10,"News":"sportnews"}] and fill a spinner for a android app?. i tried and i got a: AndroidRuntime:android.widget.ArrayAdapter.createViewFromResource(Adapter.) ... View Questions/Answers

jsp code plz  January 12, 2012 at 12:46 AM
write jsp code which takes student roll number as input and prints the student group,study center, and his grade card ... View Questions/Answers

Hybernate technology  January 12, 2012 at 12:03 AM
what is hybernate technology in java ... View Questions/Answers

adding loop  January 11, 2012 at 11:42 PM
Hi I have a program that is not compiling when I add a loop can you help me?The program below is compiling without the loop. > Blockquote mport java.util.*; import java.text.*; import java.util.Scanner; class HardwareItems { String code; S... View Questions/Answers

ajax  January 11, 2012 at 10:47 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

ajax  January 11, 2012 at 10:47 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

ajax  January 11, 2012 at 10:47 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

ajax  January 11, 2012 at 10:46 PM
How can we fetch data in ajax through servlet? ... View Questions/Answers

form field mapping with pdf file using java  January 11, 2012 at 5:05 PM
Hai all, I have one requirement that i have one html form.i have to map the form fields with pdf file. means, if click on text field according that perticular field .the data related to the field in pdf file should marked with a color. can any one give an idea regarding ... View Questions/Answers

insert rows from browsed file to sql database  January 11, 2012 at 3:50 PM
i need to insert rows from excel to database by browsing the file in jsp. by connecting both the databases using odbc i can do this. but after browsing and uploaded the file, content of the file has to go to database. how can i insert record into database by browsed file??? ... View Questions/Answers

Tutorial Topics
Questions by Category