Enable Detailed Log:
first we set the constant struts.devMode to true, because we are working in development environment and we need to see some useful log messages.You can enabled complete logging functionality while working with Struts 2 by creating logging.properties file under WEB-INF/classes folder. Keep the following two lines in your property file:
org.apache.catalina.core.ContainerBase.[Catalina].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers = \ java.util.logging.ConsoleHandler |
No comments:
Post a Comment