Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts

 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
where do we have to handle database error in struts(view, controller, model)

Please let me know
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by lakshmi manepally:
where do we have to handle database error in struts(view, controller, model)

The model would throw an error. The controller would either route you to an error page or somewhere else useful. The view would display the appropriate message.
 
phani kon
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So we can handle errors or excpetions in the model (ie action class) right?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic