Tooltips eclipse change java project to dynamic web project
close projectopen .project fileadd<nature>org.eclipse.wst.common.project.facet.core.nature</nature>open projectright click project -> proper...
close projectopen .project fileadd<nature>org.eclipse.wst.common.project.facet.core.nature</nature>open projectright click project -> proper...
saving to application scoperequest.getSession().getServletContext().setAttribute(“applicationmap”, map);retrieving from application scopeMap smap = (Map)r...
using tomcat to connect to ldapedit server.xml<Realm className=”org.apache.catalina.realm.JNDIRealm”debug=”99”connectionName=”cn=root”connectionPassword=...
add security-constraint, login-config, security-role into web.xml<security-constraint> <display-name>securityconstraint</display-name...
Hibernate annotations - hibernate without the mapping filesnote: you must use jdk1.5, hibernate 3.2 core and annotationscreate hibernate.cfg.xml<pre st...