I am learning portlet programming using "A good book on JSR-168 portlet development" by Cameron McKenzie. I have a very simple portlet with the following Java code:
The portlet forwards to "NumberGuesser.jsp" with the following code:
The JSP is supposed to redirect back to the portlet after a number was entered and the user clicked "submit". Say, if the user entered "2" and, since "number" parameter is passed, it is supposed to say "You guessed 2...". However, after I click submit, the view does not change, and number parameter is still null, it still shows the original JSP view "Please enter your guess...".
Does anyone have an idea what I am doing wrong?
I am using Weblogic 10.3.5 portal and Eclipse to deploy the portlet to the localhost.