Skip to content
Advertisement

Tag: struts

Why do we need global-forwards and global-exceptions in struts?

I have a basic question in struts why do we need to have <global-forwards>and <global-exceptions> in struts-config.xml. If we can achieve the same things with <action-mappings> itself. Answer <global-forwards> Consider you are validating the username password for different urls like update.do insert.do delete.do If it is a valid user, you need to proceed the necessary action. If not, you need

Advertisement