User Profile

Collapse

Profile Sidebar

Collapse
roshancaptain1
roshancaptain1
Last Activity: Dec 18 '06, 03:08 PM
Joined: Oct 31 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • roshancaptain1
    replied to Amount in words
    in Java
    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
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to Amount in words
    in Java
    sir.can u please send your codes....
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to Amount in words
    in Java
    //****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)...
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to opening in a new window
    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...
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to Amount in words
    in Java
    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....
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    started a topic Amount in words
    in Java

    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
    See more | Go to post

  • *************** *************** *********
    bigger.html
    <input type=text name="a" >
    some.html
    string c=req.getParame ter("a");//using servlets program in java...
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to auto_increment field auto filled
    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 incrementing
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to java
    in Java
    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()...
    See more | Go to post

    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 codes
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to How to Compile java files in windows
    in Java
    if ur files are there in a single forlder then you can use javac *.java
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to How to start Java in windows ?
    in Java
    *************** **************
    you better refer to this site
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html...
    See more | Go to post

    Leave a comment:


  • roshancaptain1
    replied to How to read from keyboard
    in Java
    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...
    See more | Go to post
    Last edited by roshancaptain1; Nov 11 '06, 09:41 AM. Reason: numerical error

    Leave a comment:


  • roshancaptain1
    replied to DELETE query in Multi Threads
    in Java
    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)
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...