Help in reading values from html form in java
Currently am doing a project. The front end design is in html. I am going to place a text box and the user will enter some string into the text box. So i have to get the input from the user and now save it in a variable and then use that for my further process. This is my first step.
And then my second process is that, i will be doing some process at the back end and saving some results in seperate variables. Say if there are 5 results, they will stored in 5 variables. All these 5 variables must be retrieved and displayed in the display text box which i have placed in the user screen.
So i need help in doing these 2 jobs. Can anyone help me how to do this? This is like processing a html form in java.
Random number generation in java
import java.util.Random ;//this is the required package
//code is given below
Random randomGenerator = new Random();
int randomInt = randomGenerator.nextInt(100000000);
System.out.println("Generated : " + randomInt);