Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
11-29-2010, 06:06 PM #1
- Join Date
- Oct 2010
- Thanked 0 Times in 0 Posts
Sending info from java in HTML to a separate java class
I'm hoping that someone can help me with this problem.
I have made a java program which basically makes some calculations, plots a graph of the results and saves this as a jpeg.
I have also made an html form with various dropdown menus and text boxes in which a user can enter their information. I want them to be able to click a 'calculate' button, which will send the information they have entered into the java application. The java will then make the required calculations, and the output graph should be displayed back on the html page so that the user can see their results. Hope this makes sense.
I have tried the following in the html:
CalcClass Class2Object = new CalcClass(); Class2Object.Calculate(temp);
Any ideas where I might be going wrong?
The html and class files are saved in the same folder so that shouldn't be an issue should it?
11-29-2010, 06:21 PM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,555 Times in 2,533 Posts
It is your responsibility to die() if necessary….. - PHP Manual