i am very sorry to call u sir again...but its a respect for knowledge.I always look into ur solutions...are u in online now.
sir..actually i have done a project and iwant to include these codes in in. it is a servlet program and its a billing project. The amount which will be automatically caluculated will also be automatically displayed in words. Do u really want to see it i will have to send more than 1 files
User Profile
Collapse
-
-
//****accept a value "amount2"** **//
if(amount2.leng th()==1)
{
a123="1111"+amo unt2;
}
if(amount2.leng th()==2)
{
a123="111"+amou nt2;
}
if(amount2.leng th()==3)
{
a123="11"+amoun t2;
}
if(amount2.leng th()==4)
{
a123="1"+amount 2;
}
if(amount2.leng th()>4)...Leave a comment:
-
Normally when u create a link in an html form that will open in a same window.To open a file in different window use the "target" and "name" attributes in html and try...better go through the html and try it...Leave a comment:
-
Thanku sir..i could get the solution for my problem..i felt its too long...but i am satisfied with my program ....i tried the program on my own....Leave a comment:
-
Amount in words
I want to write a program in java such a way that if i enter a number the number should be displayed in words ex: 64=SixtyFour -
*************** *************** *********
bigger.html
<input type=text name="a" >
some.html
string c=req.getParame ter("a");//using servlets program in java...Leave a comment:
-
auto increment can be done using this code
create table table_name
(
col_name datatype(should be int) identity(1,1),
col_name ............... ............... ....
)
this is for auto incrementingLeave a comment:
-
Use a scanner:
import java.util.Scann er;
class prompt2 {
public static void main(String[] args)
throws java.io.IOExcep tion {
Scanner scan = new Scanner(System. in);
int p[] = new int[4];
int avg[]=0;
for ( int i = 0; i < 6; i++) {
System.out.prin t("Enter the values " + i + " :");
p[i] = scan.nextInt()...Leave a comment:
-
you can use methods such as
*************** *************** *************** *
void methodClicked(M ouseEvent me)
void methodPressed(M ouseEvent me)
void methodReleased( MouseEvent me)
void methodEntered(M ouseEvent me)
void methodExcited(M ouseEvent me)
*************** *************** *************** *
if didnt help i reply for codesLeave a comment:
-
if ur files are there in a single forlder then you can use javac *.javaLeave a comment:
-
*************** **************
you better refer to this site
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html...Leave a comment:
-
changed examole
*************** *************** *************** *************** ******
see i will give you a logic for 2nd q.
ex:consider the no.34.12345=x
step1:you need to extract each integer value from the no.ie 3 4 . 1 2 3 4 5
step2:you need to concatinate "0.0" to the values preceding from 2nd decimal
ie 0.02345=y
step3:you subtract z=x-y
z=34.12345-0.02345=34.1...Leave a comment:
-
ya..sure it is posible to delete the values from the table...but instead of using java threads it would be better if you use triggers in database(sql)Leave a comment:
No activity results to display
Show More
Leave a comment: