Help in reading values from html form in java

Discussion in 'Programming' started by ichkoguy, Mar 5, 2009.

  1. #1
    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.
     
    ichkoguy, Mar 5, 2009 IP
  2. studyjava.org

    studyjava.org Peon

    Messages:
    246
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    u r looking to develop it in java applet ? or jsp
     
    studyjava.org, Mar 6, 2009 IP
  3. MayurGondaliya

    MayurGondaliya Well-Known Member

    Messages:
    1,233
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    170
    #3
    In Jave Server Pages, you can read posted variables using request.getparameter() function.
     
    MayurGondaliya, Mar 7, 2009 IP