In reply to MG:
> I have a application I have written in Matlab that takes input interactively from users and plots some graphs. I want to turn this into a webpage that does the same thing. I will need to learn some new programming language to do this it appears and as I far as I can see Java is the obvious choice.
As a Java programmer I would do it as follows:
1. Take user input through an HTML form.
2. The form is submitted to the server back end (Running Java)
3a. Back end algorithm can be written in pure Java to accomplish the exact same as what the Matlab algorithm.
3b. Back end can fork of another process to communicate with Matlab
4. Render your graphs/plots a JPG images
5. Serve the images back to the user with whatever other info you require.
This would be platform independant and any browser whether that be PC based or phone based which has a browser would be able to use.