Re: Java on Web
From: Raymond DeCampo (rdecampo_at_spam-I-am-not.twcny.rr.com)
Date: 12/25/03
- Previous message: Amey Samant: "Re: drawString()"
- In reply to: DaWaN: "Re: Java on Web"
- Next in thread: Herman Timmermans: "Re: Java on Web"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Amey Samant: "Re: drawString()"
- In reply to: DaWaN: "Re: Java on Web"
- Next in thread: Herman Timmermans: "Re: Java on Web"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|