I am trying to execute a simple example from HeadFirst servlets and JSPs and running into a problem.
I have tried to resolve the issue in multiple ways but looks like I amm ending up nowhere.
Need your help on this.
Code in index.html
Code in HelloController.java my servlet class
Code in the forwarded page result.jsp
When i try to call the index.html from the browser it gives me the page with a text box where in I enter "Fred" and click on "Submit"
I should be getting "Hello Bingo Fred" instead I get "Hello Bingo null", so it is quite sure that the attribute is not being set.
But what is the reason I am unable to narrow down on. Can you please help me with it. I know I am doing some kind of a silly error somewhere but unable to track it.
and by the way I even changed it to form action="result.jsp", yet there was no change..
Please please help...