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

use a object in the form

 
mark smith
Ranch Hand
Posts: 256
  • 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: 256
  • 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