Hello everyone. Let me start off by saying I am new to applications that run in the browser. That sentence is not very precise but it is what I mean.
I am currently following a few basic steps to achieve the desired effect. The effect being the user thinks they are running an application on their computer when really the application is run on the server and they are given the results. Here is what I do.
1. Use a browser to follow a path directly to a Perl or PHP file. The address takes me to a server and finally opens a script file. However, because the server is setup for Perl and PHP it runs the srcipt instead.
2. I use Perl and PHP to assembly my HTML on the server and it is sent back to the browser as a functioning webpage with which the user may interact.
3. The user then checks some boxes, fills in some criteria and otherwise directs the perceived application on what they want it to do. Then they hit a GO button. The browser posts that information back to the script on the server, and that script uses the information to access a database, collect its results and return a newly manufactured HTML page complete with the desired information.
I wish to use
Java somehow to assembly my HTML on the server using nothing but a browser, a link and a file. I was wondering if it works the same way as the scripts do. Can I have a *.class file on a server, direct a browser to it, have the server run the java to produce the HTML and have the server send me back the custom web page in return or do I have to keep using these scripting languages?
Is it possible to see a simple hello world written in Java that might achieve this goal?
RF