with out using global exceptions tag how to handle an exception from struts framework while we are connecting to a database
thanking you, k.ramesh
The object oriented way of becoming "RICH" is by INHERITANCE<br />Whoever said money can't buy happiness, didn't know where to shop.
posted 9 years ago
If you're not using global exceptions, the best way to handle an exception is to catch it in the execute method of your Action class. Once you've caught it, you can ether put a message in theActionMessages object and forward to the same JSP where you can display the error message with an <html:errors> tag, or you can forward to a specific error JSP.