wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts" Watch "Struts" New topic
Author

Struts

phani kon
Ranch Hand

Joined: Apr 06, 2005
Posts: 251
where do we have to handle database error in struts(view, controller, model)

Please let me know
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
phani kon
Ranch Hand

Joined: Apr 06, 2005
Posts: 251
So we can handle errors or excpetions in the model (ie action class) right?
 
wood burning stoves
 
subject: Struts
 
Similar Threads
Struts interview questions
InnerHTML and struts tags
Action class in Struts
URL rewrite to maintain session state
Eclipse IDE - How to set up a Struts 2 project