Results 1 to 6 of 6
Thread: Java website
- 05-04-2011, 12:34 PM #1
Member
- Join Date
- May 2011
- Posts
- 84
- Rep Power
- 0
Java website
Hello,
I have a Debian server with Java JDK installed. I wrote a simple script in Java and would like to send it to the server and run it in the browser. Do I have to just send the class file to whatever folder I want and it will work?
Sorry if these questions are silly, I am a really newbie in Java.
- 05-04-2011, 12:35 PM #2
Senior Member
- Join Date
- Mar 2011
- Posts
- 261
- Rep Power
- 3
Use an applet.
- 05-04-2011, 02:02 PM #3
Member
- Join Date
- May 2011
- Posts
- 84
- Rep Power
- 0
I successfully installed Tomcat on my server. Where should I put the Java files?
- 05-04-2011, 02:35 PM #4
Hi.
You said that you have some Java code. Can you tell what it do?
Java has few technologies which interact with client. There are Servlet, JSP, Applets, Web Start and other one. You did not mention what technologies you use.
Or you just can show your code here.Skype: petrarsentev
http://TrackStudio.com
- 05-04-2011, 03:17 PM #5
Member
- Join Date
- May 2011
- Posts
- 84
- Rep Power
- 0
Hi,
I am following this tutorial: YouTube - Java Programming Tutorial - 5 - Variables
So eg. I have the following code:
I have some PHP and MySQL knowledge, but I would like to learn Java, as I heard it is more complex and versatile. The main purpose is to create interactive websites.Java Code:class apples{ public static void main(String args[]){ System.out.println("Hellow world!"); } }
- 05-05-2011, 09:21 AM #6
it is wrong and this is just stereotype. Java is use for create enterprise app. Usually it has big web user interface.to create interactive websites.
If you really want to develop in Java I should start to read with Head First Java.
That example that you post you can't run in browser, This is just Hello World.
You need compile it and run. That is all.
You can find more info in book that I point.Skype: petrarsentev
http://TrackStudio.com
Similar Threads
-
Java example apps website, looking for one
By silverglade in forum New To JavaReplies: 2Last Post: 04-25-2011, 01:27 AM -
Can i run JAVA-Viewer.jad on website?
By DeDanan in forum New To JavaReplies: 4Last Post: 02-28-2011, 10:17 PM -
Java and Website
By Fares in forum Advanced JavaReplies: 3Last Post: 11-14-2010, 02:22 PM -
How to download website (Get all link in website)
By finalmem in forum Advanced JavaReplies: 0Last Post: 11-12-2008, 08:43 AM -
Kode Java Website
By wsaryada in forum Reviews / AdvertisingReplies: 4Last Post: 01-18-2008, 09:16 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks