i have the folllowing in my web.xml

  | <web-app>
  |   <display-name>jlwi</display-name>
  |   <description>no description</description>
  |   
  | <servlet>
  |     <servlet-name>HelloServlet</servlet-name>
  |     <servlet-class>mil.jlwi.utils.HelloServlet</servlet-class>
  | </servlet>
  | <servlet-mapping>
  |     <servlet-name>HelloServlet</servlet-name>
  |     <url-pattern>/HelloServlet</url-pattern>
  | </servlet-mapping>
  | <servlet>
  |     <servlet-name>BannerAction</servlet-name>
  |     <servlet-class>mil.jlwi.utils.BannerAction</servlet-class>
  | </servlet>
  | <servlet-mapping>
  |     <servlet-name>BannerAction</servlet-name>
  |     <url-pattern>/BannerAction</url-pattern>
  | </servlet-mapping>
  | </web-app>
  | 


and i am getting  the following 


org.xml.sax.SAXParseException: The content of element type "web-app" must match
  | "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
  | mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
  | me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
  | raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".


what have i not done right or better yet where is the dtd for web.xml 

Thanks in advane for your time

jim 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840498


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to