Results 1 to 8 of 8
  1. #1
    ichkoguy is offline Member
    Join Date
    Mar 2009
    Posts
    2
    Rep Power
    0

    Default Help in reading values from html form in java

    Currently am doing a project. The front end design is in html. I am going to place a text box and the user will enter some string into the text box. So i have to get the input from the user and now save it in a variable and then use that for my further process. This is my first step.

    And then my second process is that, i will be doing some process at the back end and saving some results in seperate variables. Say if there are 5 results, they will stored in 5 variables. All these 5 variables must be retrieved and displayed in the display text box which i have placed in the user screen.

    So i need help in doing these 2 jobs. Can anyone help me how to do this? This is like processing a html form in java.

  2. #2
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    There's no free lunch here. how much you paying?
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

  3. #3
    ichkoguy is offline Member
    Join Date
    Mar 2009
    Posts
    2
    Rep Power
    0

    Default

    Am not ordering you to do it for me. Am only asking for a reference. If you cannot do it, do not bother to reply here and do not spoil the reputation of this forum.

  4. #4
    angryboy's Avatar
    angryboy is offline Senior Member
    Join Date
    Jan 2009
    Posts
    742
    Rep Power
    6

    Default

    oh ok, my misunderstanding.
    "Can anyone help me how to do this?"
    i misread that as:
    Can anyone help me do this?
    USE CODE TAGS--> [CODE]...[/CODE]
    Get NotePad++ (free)

  5. #5
    vishnujava is offline Member
    Join Date
    Apr 2008
    Posts
    14
    Rep Power
    0

    Default

    Hi dude,

    let me know whether u have knowledge of servelts and jsps or not?

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Quote Originally Posted by ichkoguy View Post
    Am not ordering you to do it for me. Am only asking for a reference. If you cannot do it, do not bother to reply here and do not spoil the reputation of this forum.
    Sorry for butting in, but you will find that you will usually get more helpful and specific replies here if you ask a specific question. Best of luck.

  7. #7
    sayan751 is offline Member
    Join Date
    Feb 2009
    Posts
    29
    Rep Power
    0

    Default

    you can start with jsp and session.you can also use database.it just takes time and patience.

    good luck
    Impossible is Nothing

  8. #8
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Post Random number generation in java

    import java.util.Random ;//this is the required package


    //code is given below

    Random randomGenerator = new Random();
    int randomInt = randomGenerator.nextInt(100000000);
    System.out.println("Generated : " + randomInt);

Similar Threads

  1. HTML Form
    By Java Tip in forum SWT
    Replies: 0
    Last Post: 07-11-2008, 04:37 PM
  2. Reading data form Excel using Jdbc (example)
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-13-2008, 11:23 AM
  3. Replies: 0
    Last Post: 11-27-2007, 10:23 AM
  4. Getting HTML form values in Servlet
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-17-2007, 08:13 PM
  5. how to upload a file along with html form data
    By pranith in forum Java Servlet
    Replies: 3
    Last Post: 07-30-2007, 02:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •