Thank you, jaikiran, I have changed little bit in web.xml but also not working. 
The format of my web.xml is given below:



  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
  | <web-app>
  |     <display-name>Web Test</display-name>
  |     <description>For Testing</description>
  |     <context-param>
  |             <param-name>EventMappingXML</param-name>
  |             <param-value>/WEB-INF/xml/eventmapping.xml</param-value>
  |     </context-param>
  |     <context-param>
  |             <param-name>MESSAGERESOURCES</param-name>
  |             <param-value>properties.exception</param-value>
  |     </context-param>
  |     
  |     <filter>
  |             <filter-name>AuthenticationFilter</filter-name>
  |             <filter-class>
  |                     webtest.admin.filters.AuthenticationFilter
  |             </filter-class>
  |     </filter>
  |     
  |     <filter-mapping>
  |             <filter-name>AuthenticationFilter</filter-name>
  |             <url-pattern>/controller</url-pattern>
  |     </filter-mapping>
  |     
  |     <listener>
  |             <listener-class>
  |                     webtest.admin.utility.SessionLogger
  |             </listener-class>
  |     </listener>
  |     <listener>
  |             <listener-class>
  |                     webtest.admin.utility.AttributeLogger
  |             </listener-class>
  |     </listener>
  |     <servlet>
  |             <servlet-name>controller</servlet-name>
  |             <servlet-class>
  |                     webtest.admin.controller.MainController
  |             </servlet-class>
  |     </servlet>
  |     <servlet-mapping>
  |             <servlet-name>controller</servlet-name>
  |             <url-pattern>/controller/*</url-pattern>
  |     </servlet-mapping>
  |     
  |     <error-page>
  |             <error-code>404</error-code>
  |             <location>/404.jsp</location>
  |     </error-page>
  |     <taglib>
  |             <taglib-uri>/views</taglib-uri>
  |             <taglib-location>/WEB-INF/tlds/views.tld</taglib-location>
  |     </taglib>
  |     <resource-ref>
  |             <description>Default Mail</description>
  |             <res-ref-name>mail/DefaultMail</res-ref-name>
  |             <res-type>javax.mail.Session</res-type>
  |             <res-auth>Container</res-auth>
  |     </resource-ref> 
  | </web-app>
  | 

Is there any error in the format? Please suggest me about it's format .

Thank you.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229655#4229655

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229655
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to