Static Import Static import is a mechanism to include constants into your code without referring its class in which the constants defined. For example, if you are using Integer.MAX_VALUE or some other constants field of class java.lang.Integer then you could simply use the following static import statement: [java]import static java.lang.Integer.*; class Demo{ public static void …
Category: Struts
Permanent link to this article: https://blog.openshell.in/2012/01/java-essential-tips-static-import/
Dec 28
Exception Handling Provided by Struts
Exception Handling Capabilities of Struts Target Audience: J2EE Developers, Web Component Developers What you should know already: MVC Design Pattern, Struts Framework, Struts configuration file Exception handling is very crucial part in Web application development. Throwing an exception is Java’s way of informing the client that something has gone wrong while doing a certain processing …
Permanent link to this article: https://blog.openshell.in/2010/12/exception-handling-provided-by-struts/
Permanent link to this article: https://blog.openshell.in/2010/11/multiple-message-resource-bundle-in-struts-1/