File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use a object in the form

 
mark smith
Ranch Hand
Posts: 251
  • 0
  • 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
  • 0
  • 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: 251
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in my actionform

 
Fidel Edwards
Ranch Hand
Posts: 234
  • 0
  • 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


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic