Re: who can give a simple example? Urgently need!!



in message <IHs_g.22689$2g4.13271@dukeread09>, Arne Vajhøj
('arne@xxxxxxxxxx') wrote:

Simon Brooke wrote:
in message <S9WZg.22610$2g4.10715@dukeread09>, Arne Vajhøj
('arne@xxxxxxxxxx') wrote:
Simon Brooke wrote:
in message <1161268631.340033.304280@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Flamingo ('gsuxin@xxxxxxxxx') wrote:
I want a webpage, there would be a input textfield, and a "sumbit"
there, if you press the submit button, the contents you input to
the textfield would be send to your email. who can give me a simple
sample about that. thanks a lot. I really need i t urgently.
This isn't even remotely a Java question. Google for 'cgiemail'.
Can you see in your crystal ball that the poster is not using JSP ?

I can't see anything in my crystal ball. Rolling your own webform-to-
email solution is fraught with a lot of subtle security problems, and is
not for beginners. cgiemail, although not a Java solution, is
nevertheless a well engineered, well tested, secure solution which is
available off the shelf for free.

Don't reinvent wheels.

I seem to be missing something.

How did you get from "cgiemail ... is nevertheless a well engineered,
well tested, secure solution which is available off the shelf for free.
Don't reinvent wheels," to "This isn't even remotely a Java question." ?

The OP said he wanted to get stuff typed into an HTML form sent as email.
Nothing about the problem as stated is specific to Java.

Is it fundamenttaly impossible to write such code in Java.

Certainly not. As I posted in the message which you replied to, I have
personally written very similar code in Java. That doesn't make it a Java
problem.

Or have you
checked all Java code repositories and know for certain that there
are no good solutions in Java ?

I didn't say there were no good solutions in Java. Indeed, I know there
are. All I said was, it isn't a Java problem.

And after reading from http://web.mit.edu/wwwdev/cgiemail/webmaster.html
it seems as if cgiemail is Unix only, which raises the question
whether you crystal ball showed that the original poster where
running Unix.

If he's running a web server on Windows, email is a long way down his list
of problems.

--
simon@xxxxxxxxxxxxxx (Simon Brooke) http://www.jasmine.org.uk/~simon/

;; An enamorata is for life, not just for weekends.
.



Relevant Pages

  • Re: Can Java Programmer Learn C++ Quickly?
    ... > I realize that this is not entirely a Java question but I am hoping that ... > some of the people reading this newsgroup are Java programmers who went on ... you can kill the null terminator and have string functions wander off ... Also, C style string ...
    (comp.lang.java.programmer)
  • Re: who can give a simple example? Urgently need!!
    ... This isn't even remotely a Java question. ... Google for 'cgiemail'. ... Don't reinvent wheels," to "This isn't even remotely a Java question." ... running Unix. ...
    (comp.lang.java.programmer)
  • Re: Can Java Programmer Learn C++ Quickly?
    ... >I realize that this is not entirely a Java question but I am hoping that ... >some of the people reading this newsgroup are Java programmers who went on ... >fluent enough that I don't have to post questions here very often. ... be able to sketch out the system design and bang out the code without ...
    (comp.lang.java.programmer)
  • Re: Can Java Programmer Learn C++ Quickly?
    ... > I realize that this is not entirely a Java question but I am hoping that ... > some of the people reading this newsgroup are Java programmers who went on ... > fluent enough that I don't have to post questions here very often. ...
    (comp.lang.java.programmer)
  • Re: Can Java Programmer Learn C++ Quickly?
    ... > I realize that this is not entirely a Java question but I am hoping that ... > some of the people reading this newsgroup are Java programmers who went on ... > fluent enough that I don't have to post questions here very often. ... > multiple inheritance after several years with Java. ...
    (comp.lang.java.programmer)