how to generate tables using servlets
i want to create a web-application that will ask user to enter a number and will show a âMathematical tableâ of that number.
To develop this application i have created an html page say âInput.htmlâ which will show an input field to the user to enter the number.
When user will click on the âSubmitâ button, the form inside that html page will be submitted to a Servlet say âMathTableGeneratorServletâ. The Servlet will get the input number entered by the user and will generate an HTML table containing mathematical table information and will send the html client back to the client. For example if user enters 2, it should print the table of 2 in the form of html table.............can anyone tell, how can i do this???????
|