java and html forms

Discussion in 'Programming' started by Cal813, Oct 23, 2007.

  1. #1
    Hey guys, I need some help.

    I have a html form, which has a X and Y value you must enter.

    Now for my cgi program, it's done in java and I need to know WHAT code to use, so that the forms x and y values will be used by the java program.

    I need it, so after the "=" the x and y values from the form are taken.. is their some specif code needed to be used?
     
    Cal813, Oct 23, 2007 IP
  2. myharshdesigner

    myharshdesigner Peon

    Messages:
    147
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    when you post a variable to other page. just use <b>request.getParameter("variable name");</b>
     
    myharshdesigner, Oct 24, 2007 IP
  3. Cal813

    Cal813 Active Member

    Messages:
    856
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    85
    #3
    where does that go into? the form ?

    I'm absically trying to get a X value the user inputs in the form.. and have THAT value the user chooses placed into the java program, which is in the ci-bin.
     
    Cal813, Oct 24, 2007 IP