Tag: servlets

  • Programmatic Approach of Configuring web.xml

    Introduction This tip briefs about configuring the web.xml for any Java/J2ee project using a programmatic approach. Background As a traditional approach, any servlet context and other listeners are configured by making entries in the web.xml file in any Java/J2ee web based application. In contrast to this, the introduction of servlet 3.0 aims to provide a…