- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 7
- Posts with Downvotes
- 4
- Downvoting Members
- 4
- Interests
- java
- PC Specs
- windows
9 Posted Topics
[CODE] <%-- Document : Login1 Created on : Jul 1, 2011, 1:16:12 AM Author : Dharmendra --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import="java.sql.*" %> <%@page import="com.p1.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body><center> <form action=""> <br>UserID : <input type="text" … | |
[B]Hifriends,[/B] I want to create registeration page with file uploading by use of servlet and jsp | |
Re: [CODE] select *from account_details ad,account ac where ad.account_number=ac.account_number [/CODE] | |
[B] I am try to compare contents of class object with equals(),but it not give desired output. so, How to override equals method in java to desired output ? Please help me with example...[/B] | |
Re: [B] Hi.. Saurv i create a login page on Mysql Database ...so u can change databse according you.. [/B] [CODE] <%-- Document : Login1 Created on : Jul 1, 2011, 1:16:12 AM Author : Dharmendra --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import="java.sql.*" %> <%@page import="com.p1.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML … | |
Re: I can modify your program ..I used sort() methd of Collections class to sort the element [CODE] import java.util.*; class selectionSort{ public static final int list = 10; public static void main(String[] args){ ArrayList<Integer> input = new ArrayList<Integer>(); Random r = new Random(); System.out.print("Selection sort-algorithm"); System.out.print("\n\nInput: "); for (int i … | |
How to upload a photo in mysql database using Browse Button.that means i want to upload the photo in databse anywhere from hard disc using Brawse button.. please help me .. | |
Re: hi.. In your statement u are initialize array with item[] itemAr = new item[100]; that is wrong u can not initialize array in that way...u can initialize as.. dataType[] itemAr = new dataType[100]; here dataype may be an int, float,double char .etc... so if u initialize a array with 100,so … | |
[CODE] //1>program for piramid. --------------------------- #include<stdio.h> #include<conio.h> void main() { int i,j,n,a,k=0,m; clrscr(); scanf("%d",&n); m=n*2; a=m/2; for(i=0;i<m;i++){ printf("\n"); if(i<a)k++; else k--; for(j=0;j<m;j++){ if(i>=a||j<a-(k-1)||j>a+(k-1)) printf(" "); else printf(" *"); } } getch(); } //2>program for Revrse piramid. --------------------------- #include<stdio.h> #include<conio.h> void main() { int i,j,n,a,k=0,m; clrscr(); scanf("%d",&n); m=n*2; a=m/2; for(i=0;i<m;i++){ printf("\n"); … |
The End.