• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Boris
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic