Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.