File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adding object to a list using tags.

 
paddy Mahadeva Iyer
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guyz,

i have 2 questions.

1)Is there any tag that will allow me to create an object
2) Is there any tag that will allow me to add an object to a list.

Thanks in advance
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Struts 2?

For 1), see the bean tag.

For 2), OGNL can invoke arbitrary methods on any object, so you could do this by evaluating an OGNL expression somehow, perhaps by using it as a value in another tag.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic