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

should i use formbean for output only jsp

 
cb poo
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, I have a jsp(display.jsp) which will be called after user click on the menu. This jsp will display resultset formated by my displayAction. Currently the way i do is
1) after menu click, perform displayAction
2) In displayAction, create bean to hold the resultset
3) In displayAction, assign bean to request attribute and forward to display.jsp
4) In display.jsp, show the bean property according.

In the above scenario, i did not use formbean at all. Is this the correct way? or I use assign resultset to formbean instead of my own bean.
 
Nicola Guy
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im quite new to this but from what i've read that is an ok way to do output
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic