Jboss/JSP/Struts/Hibernate/log4j using Eclipse SDK WTP
--------------------------------
-bean form not found, class not found
* all these errors can be fixed by verifying class and package name
* don't prefix package with java - it confuses jboss server
* sometimes, [clean and build, restart appserver] will help
- log4j on jboss
add the following in log4j.xml in jboss/server/default/conf folder
- jboss 4.0.2 had a bug if used with hibernate
* copy the following to default\deploy\jboss-hibernate.deployer
hibernate3.jar
commons-collections-2.1.1.jar
ehcache-1.2.3.jar
- to include jars in Web App Libraries in Eclipse IDE
* copy the jar files in WEB-INF\lib
* jars will appear under Libraries\Web App Libraries
- know how struts works (MVC 2)
web.xml (defines struts servlet, uses struts-config.xml)
struts-config.xml (defines action-mapping, actions, beanforms)
action (adapter to biz logic), actionform/beanform (state) model-validate
jsp (view - uses only tags no bizlog)
* struts servlet sets actionform and calls action
actionerrors
locale support thru properties files

