File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes java website application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java website application" Watch "java website application" New topic

java website application

gong pex
Ranch Hand

Joined: Oct 27, 2011
Posts: 42
Hello everyone,

I'm new here,

I had learn about JavaScript, but I'm still new learn java, a few days ago when I register on this forum,

I had seen, this site really great,

because when I disabled JavaScript(block) their script still can be run (on drop down menu).

Usually many website cannot be show the drop down menu when I turn off (block JavaScript).

My question: Is java can build the program like me now only for dropdown menu, that must be handled using javascript)?

please tell me know

thank you

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46362
Welcome to the Ranch

I am afraid I don’t understand the question.
gong pex
Ranch Hand

Joined: Oct 27, 2011
Posts: 42
Sorry for long to reply, I'm very busy this week

My question mean is for example :

I had create java code like:

after that, I save it with name "" and I compile it,

of course it can show "hello world" if it on JVM or command prompt, the output is "hello world"

but, how to "send" the "hello world" to web browser(to display "hello world" on browser)?

please answer me

Aniket S. Kulkarni
Ranch Hand

Joined: Jun 15, 2011
Posts: 87

If you want to print output on browser then you need to learn Servlet or JSP or both.

Aniket Kulkarni
Oracle Certified Professional, Java SE 6 Programmer.
Tim Moores

Joined: Sep 21, 2011
Posts: 2413
This is the servlet equivalent:

You will need to have a servlet container like Tomcat, Resin or Jetty for this to run in.
gong pex
Ranch Hand

Joined: Oct 27, 2011
Posts: 42
Ok thank you
I agree. Here's the link:
subject: java website application
jQuery in Action, 3rd edition