Originally posted by Dilip kumar:
I'm not sure if article in below link answers your question but it has good explanation for Web services with Struts applications
http://www-128.ibm.com/developerworks/webservices/library/ws-arcstruts/
Originally posted by Suneesh Raman:
How the browser automatically identify the corresponding property file as per the local.
And the constructor prints out the first message. Then when the exception is finally caught it prints out the second message.
...
An exception is caught only after it is thrown.
Most probably, the function of the main() method is to print the Stack trace if it is declared to throw exceptions.