This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

use a object in the form  RSS feed

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

in my class who extends ActionsForm

i have a object of type User

this class have two list

how to use my User object in my jsp?

i tried



but i get a message error



any idea

thanks
 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

Could you explain me, how are you passing your request from your ActionForm (or what is the flow of your request)? What are the attributes you are using in your User Class?

Regards
 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my actionform

 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

If I am getting it correctly. Then you should follow something like this.

Your object class (POJO)

Your ActionForm



In your jsp page try something like this


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!