Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp and Beans  RSS feed

 
Amarnath Joshi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Im Using request.getParameter values for setting bean property but the values passing to the bean is Null Here is My jsp code.


and My Bean is



and My DAO is

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is there Java code in you JSP? That's an obsolete practice from over 12 years ago.

You code should be in a servlet, not a JSP.

Please read
  • The Secret Life of JSPs
  • The Front Man

  •  
    Don't get me started about those stupid light bulbs.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!