Write a program using servlets that will take a numeric input on page named index page, if the input is 1 then page 1 will be displayed and if input is 2 thepage2 will be displayed.

The index page will contain an input field and a button. When the button will be clicked then on the basis of input (1 or 2) the respective page will be opened.

The newly opened page i.e. page1 or page2 should display the name of page on it in green color.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions