passing values from a java file to a webpage

Discussion in 'Java' started by leorulez@gmail.com, Feb 28, 2006.

  1. Guest

    I have a java program which can pass values (d_name,item) to any file
    that I desire. I chose html and after linking this html file with the
    java program, when I open the html file the address bar is something
    like this:

    "http://abcd.org/test.html?op=add&d_name=NAME&item=data@19b9e1e"

    I want to use these passed values in my html file. Is there any way I
    can refer to these passed arguments? Is there any other good choice
    like perl with which I can do this?
    Thanks for any help.
     
    , Feb 28, 2006
    #1
    1. Advertising

  2. On 2006-02-28, penned:
    > I have a java program which can pass values (d_name,item) to any
    > file that I desire. I chose html and after linking this html file
    > with the java program, when I open the html file the address bar is
    > something like this:
    >
    > "http://abcd.org/test.html?op=add&d_name=NAME&item=data@19b9e1e"
    >
    > I want to use these passed values in my html file. Is there any way
    > I can refer to these passed arguments? Is there any other good
    > choice like perl with which I can do this? Thanks for any help.


    Are you asking how, in HTML, to refer to arguments provided via GET?

    --
    monique

    Ask smart questions, get good answers:
    http://www.catb.org/~esr/faqs/smart-questions.html
     
    Monique Y. Mudama, Feb 28, 2006
    #2
    1. Advertising

  3. Guest

    I wanted to know how to refer the arguments provided by Java in the
    HTML page. I was wondering if I need to include any statement within
    Java program.


    Monique Y. Mudama wrote:
    > On 2006-02-28, penned:
    > > I have a java program which can pass values (d_name,item) to any
    > > file that I desire. I chose html and after linking this html file
    > > with the java program, when I open the html file the address bar is
    > > something like this:
    > >
    > > "http://abcd.org/test.html?op=add&d_name=NAME&item=data@19b9e1e"
    > >
    > > I want to use these passed values in my html file. Is there any way
    > > I can refer to these passed arguments? Is there any other good
    > > choice like perl with which I can do this? Thanks for any help.

    >
    > Are you asking how, in HTML, to refer to arguments provided via GET?
    >
    > --
    > monique
    >
    > Ask smart questions, get good answers:
    > http://www.catb.org/~esr/faqs/smart-questions.html
     
    , Mar 1, 2006
    #3
  4. Thomas Weidenfeller, Mar 2, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul D.Smith
    Replies:
    4
    Views:
    556
    Martin Jay
    Sep 17, 2004
  2. Replies:
    1
    Views:
    445
  3. Paul
    Replies:
    14
    Views:
    869
    Alexey Smirnov
    Jun 19, 2008
  4. Replies:
    3
    Views:
    157
  5. sifar
    Replies:
    5
    Views:
    445
Loading...

Share This Page