Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with simple JSR-168 portlet on Weblogic 10.3.5 portal server  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

I will really appreciate your help.

Thanks a lot
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!