What do i need to use java in my websites?
Hi All,
Well as the title explains, i'd like to put some java into a webpage and i've never done this before so don't know what i need to do exactly. I have an apache server up and running but i get the feeling to use java i need to use apache tomcat... or add it to my already runnning apache server?? Can any one give a brief explaination on this so i can get started. Cheers, MJ |
Hi.
All you need to do is embed your Java Applet into the web page with an <applet> tag. Dave |
That would depend on what you mean by inserting java. If it is just applets, then a couple of tags will do. If you were considering server pages and servlets, then you would need a servlet container such as tomcat (which can act as a stand-alone server but which can also be combined with apache).
|
Thanks people, :-) didn't realise it was so simple... it is just applets.
Well i was hoping to get some sort of text edit java stuff on a webpage so i can edit some files etc. But i'll test just using a hello world type java page and see hw i go. Thanks for the info. MJ |
Tomcat usually uses a different port for providing (usually port 8080 AFAIK). If you have great plans for Java, then you should make Tomcat work on your server.
Also have a look on OpenLaszlo. It runs on top of tomcat and uses Java to provide Flash files created at run-time: gives a very appealing effect. It uses it's own scripting language to provide the files. |
All times are GMT -5. The time now is 04:14 PM. |