This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java website application" Watch "java website application" New topic
Author

java website application

gong pex
Ranch Hand

Joined: Oct 27, 2011
Posts: 41
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

Joined: Oct 13, 2005
Posts: 38511
    
  23
Welcome to the Ranch

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

Joined: Oct 27, 2011
Posts: 41
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

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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Oct 27, 2011
Posts: 41
Ok thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java website application