Re: Java on Web

From: Raymond DeCampo (rdecampo_at_spam-I-am-not.twcny.rr.com)
Date: 12/25/03

  • Next message: Herman Timmermans: "Re: Java on Web"
    Date: Thu, 25 Dec 2003 12:59:19 GMT
    
    

    DaWaN wrote:
    > Thanks for the replies.
    >
    > What I meant was how can I use the regular Java to create programs with the
    > browser as the interface?
    >
    > I've done a lotta programming myself and do program for the web with PHP and
    > done some with C. But for example when I used C I had to rap the programs in
    > shell files as .cgi files so they're accessible by the web.
    >
    > So how can you make a program that is written in Java (including all
    > necessary HTML outputs from the Java program itself) to be used from a
    > browser?
    >
    >

    Swing is not the right technology for this. What you are interested in
    is servlets and JSPs. You will need a servlet container for them to run
    in; try Tomcat from apache.org for a freely available one to get you
    started. Use the tutorials on java.sun.com to get started on servlets
    and JSPs. (Although the servlet API is pretty straightforward, if you
    are a seasoned programmer you can probably get it going right away.)

    Ray


  • Next message: Herman Timmermans: "Re: Java on Web"

    Relevant Pages