Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java website application

 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 aspose.com, 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 aspose.com(for me now only for dropdown menu, that must be handled using javascript)?

please tell me know

thank you

 
Campbell Ritchie
Sheriff
Pie
Posts: 49733
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I am afraid I don’t understand the question.
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 "hello.java" 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

thanks
 
Aniket S. Kulkarni
Ranch Hand
Posts: 87
Android Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to print output on browser then you need to learn Servlet or JSP or both.
 
Tim Moores
Bartender
Posts: 2894
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the servlet equivalent: http://helloworldprograms.blogspot.com/2010/08/servlet-hello-world.html

You will need to have a servlet container like Tomcat, Resin or Jetty for this to run in.
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic