JavaScript OR JSP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Liza

    JavaScript OR JSP

    Dear all,

    can you please tell me how i can get information from a form filled in
    by a user at my website to my e-mail inbox? are there alternative ways
    of retrieving information enter by users at a website...if so which is
    the easiest or the best? will i NEED a server side script to submit
    the form to and if so how?

    will i need server side script (such as JSP) together with client side
    script(such as (javascript)? or can i get the above task done with
    just one of these?

    thanks a lot guys.
    Lisa
  • kaeli

    #2
    Re: JavaScript OR JSP

    In article <a4ebd3b1.04062 50646.1163658b@ posting.google. com>, lizalee10
    @yahoo.co.uk enlightened us with...[color=blue]
    > Dear all,
    >
    > can you please tell me how i can get information from a form filled in
    > by a user at my website to my e-mail inbox? are there alternative ways
    > of retrieving information enter by users at a website...if so which is
    > the easiest or the best? will i NEED a server side script to submit
    > the form to and if so how?[/color]

    Your best bet is one, yes. The only way to do it with javascript is
    mailto, and that's not a good way to do it. It has way more cons than
    pros.
    [color=blue]
    >
    > will i need server side script (such as JSP) together with client side
    > script(such as (javascript)? or can i get the above task done with
    > just one of these?
    >[/color]

    JSP alone would suffice if you had it. Javascript as an added plus would
    validate the form on the client, but JSP can certainly validate on the
    server and you should always validate on the server, anyway, in case the
    user has javascript disabled.
    You'd need SMTP mail or JavaMail on your host and a mail server to send
    it through.
    Check with your host, though, as many already have formmail (a perl CGI
    script) or other form mailers for free.

    --
    --
    ~kaeli~
    If that phone was up your a$$, maybe you could drive a
    little better!



    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: JavaScript OR JSP

      kaeli wrote:[color=blue]
      > In article <a4ebd3b1.04062 50646.1163658b@ posting.google. com>, lizalee10
      > @yahoo.co.uk enlightened us with...[/color]

      Please do not write attribution novels.
      [color=blue][color=green]
      >> can you please tell me how i can get information from a form filled in
      >> by a user at my website to my e-mail inbox? are there alternative ways
      >> of retrieving information enter by users at a website...if so which is
      >> the easiest or the best? will i NEED a server side script to submit
      >> the form to and if so how?[/color]
      >
      > Your best bet is one, yes. The only way to do it with javascript is
      > mailto, and that's not a good way to do it. It has way more cons than
      > pros.[/color]

      There is still server-side J(ava)Script.


      PointedEars

      Comment

      • Dr John Stockton

        #4
        Re: JavaScript OR JSP

        JRS: In article <40DC6177.60504 03@PointedEars. de>, seen in
        news:comp.lang. javascript, Thomas 'PointedEars' Lahn
        <PointedEars@nu rfuerspam.de> posted at Fri, 25 Jun 2004 19:31:35 :[color=blue]
        >kaeli wrote:[color=green]
        >> In article <a4ebd3b1.04062 50646.1163658b@ posting.google. com>, lizalee10
        >> @yahoo.co.uk enlightened us with...[/color]
        >
        >Please do not write attribution novels.[/color]

        No Usenet RFC indicates that the above is unreasonable. Nor does the
        newsgroup FAQ. A recent Usenet draft RFC supports reasonably detailed
        attributions.

        Ignore Lahn on etiquette; he deserves to end up chopping wood at Doorn.

        --
        © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME ©
        Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A.
        Web <URL:http://www.merlyn.demo n.co.uk/news-use.htm> : about usage of News.
        No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.

        Comment

        • kaeli

          #5
          Re: JavaScript OR JSP

          In article <40DC6177.60504 03@PointedEars. de>, PointedEars@nur fuerspam.de
          enlightened us with...[color=blue]
          > kaeli wrote:[color=green]
          > > In article <a4ebd3b1.04062 50646.1163658b@ posting.google. com>, lizalee10
          > > @yahoo.co.uk enlightened us with...[/color]
          >
          > Please do not write attribution novels.
          >[/color]

          Putz off.

          --
          --
          ~kaeli~
          Can you be a closet claustrophobic?



          Comment

          • kaeli

            #6
            Re: JavaScript OR JSP

            In article <JCVeM7HjHK3AFw Dm@merlyn.demon .co.uk>,
            spam@merlyn.dem on.co.uk enlightened us with...[color=blue]
            >
            > Ignore Lahn on etiquette; he deserves to end up chopping wood at Doorn.
            >[/color]

            He's already in my killfile. ;)

            --
            --
            ~kaeli~
            Can you be a closet claustrophobic?



            Comment

            • Dr John Stockton

              #7
              Re: JavaScript OR JSP

              JRS: In article <MPG.1b4b9ce332 93abf989f3f@nnt p.lucent.com>, seen in
              news:comp.lang. javascript, kaeli <tiny_one@NOSPA M.comcast.net> posted at
              Tue, 29 Jun 2004 16:36:41 :[color=blue]
              >In article <JCVeM7HjHK3AFw Dm@merlyn.demon .co.uk>,
              >spam@merlyn.de mon.co.uk enlightened us with...[color=green]
              >>
              >> Ignore Lahn on etiquette; he deserves to end up chopping wood at Doorn.[/color]
              >
              >He's already in my killfile. ;)[/color]

              That's a pity.

              Being obviously wrong only wastes space; but a plausible dictator is
              always a bad thing, even if (which is not the case here) invariably
              correct.

              Such assertions as his should not pass unchallenged.

              Hegel, Santayana, and Shaw, as in quotings.htm, were right; on odd
              occasions, I have doubts about Hoyle.

              --
              © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 MIME ©
              Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A.
              Web <URL:http://www.merlyn.demo n.co.uk/news-use.htm> : about usage of News.
              No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.

              Comment

              Working...