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

dynamic content

 
aarthi sethuraman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have page where the content will be displayed dynamically.
i.e I will not be able to know before hand if the page is going to have text boxes/drop downs...
Is there any way to achieve this using struts
 
Junilu Lacar
Bartender
Posts: 7466
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, a large part of the Struts framework consists of tag libraries and they are used to create pages dynamically. You can use the logic tags to display content conditionally.
 
Vishal Pai
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also use some new features of Struts 1.1 like map-backed forms which are designed to support these kind of applications
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic