I'd like alse to make you notice that the tag that should be <web-app> 
is instead <web-app >

kiuma wrote:

> Im using the  cvs version
> and for testing/desperation purpose the piece of build.xml inherent to 
> web doclet is:
>
>    <webdoclet
>         destdir="${build.generate.dir}"                
> excludedtags="@version,@author"
>     mergedir="${src.resources.dir}/xdoclet"
>      >                <fileset dir="${src.ejb.dir}">
>        <include name="**/*Bean.java.dis"/>
>         </fileset>                               <deploymentdescriptor 
> destdir="${build.dir}/WEB-INF"/>               </webdoclet>
>
>
>
>
>
>
> then  what's generated now is (i.e. doesn't close the web-app tag):
>
> <<<<<<<<<<<<<<web.xml>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
>
>
>
> <?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 Appointments</display-name>
> <description>Appuntamenti via web</description>
>
>    <!--
>      To use non XDoclet filters, create a filters.xml file that
>    contains the additional filters (eg Sitemesh) and place it in your
>    projects merge dir.  Don't include filter-mappings in this file,
>    include them in a file called filter-mappings.xml and put that in
>    the same directory.
>    -->
>
> <servlet>
>    <servlet-name>struts</servlet-name>
>    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
>    <init-param>
>        <param-name>config</param-name>
>        <param-value>/WEB-INF/struts-config.xml</param-value>
>    </init-param>
>    <init-param>
>        <param-name>debug</param-name>
>        <param-value>3</param-value>
>    </init-param>
>    <init-param>
>        <param-name>detail</param-name>
>        <param-value>3</param-value>
>    </init-param>
>    <init-param>
>        <param-name>validating</param-name>
>        <param-value>true</param-value>
>    </init-param>
> <!--      <init-param>
>        <param-name>application</param-name>
>        
> <param-value>com.wingstech.webappointments.MessageResources</param-value>
>    </init-param>
> -->      <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet>
>    <servlet-name>login</servlet-name>
>    
> <servlet-class>com.wingstech.webappointments.LoginServlet</servlet-class>
>    <init-param>
>        <param-name>root</param-name>
>        <param-value>java:comp/env/ejb/webappointments/</param-value>
>    </init-param>
>    <load-on-startup>1</load-on-startup>
> </servlet>
>
>  <servlet-mapping>
>    <servlet-name>struts</servlet-name>
>    <url-pattern>*.do</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
>    <servlet-name>login</servlet-name>
>    <url-pattern>action.login</url-pattern>
> </servlet-mapping>
>
>   <!--
>   To specify mime mappings, create a file named mime-mappings.xml, put 
> it in your project's mergedir.
>   Organize mime-mappings.xml following this DTD slice:
>
>   <!ELEMENT mime-mapping (extension, mime-type)>
>   -->
>
>   <!--
>   To specify error pages, create a file named error-pages.xml, put it 
> in your project's mergedir.
>   Organize error-pages.xml following this DTD slice:
>
>   <!ELEMENT error-page ((error-code | exception-type), location)>
>   -->
>
>  <taglib>
>    <taglib-uri>/WEB-INF/c.tld</taglib-uri>
>    <taglib-location>/WEB-INF/c.tld</taglib-location>
> </taglib>
> <taglib>
>    <taglib-uri>/WEB-INF/x.tld</taglib-uri>
>    <taglib-location>/WEB-INF/x.tld</taglib-location>
> </taglib>
> <taglib>
>    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
>    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
> </taglib>
> <taglib>
>    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
>    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>   
> </taglib>
> <taglib>
>    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
>    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>   
> </taglib>
> <security-constraint>
>    <web-resource-collection>
>        <web-resource-name>Secure Web Appointments</web-resource-name>
>        <description>Secure areas of the application</description>
>        <url-pattern>/secure/*</url-pattern>               
>                <url-pattern>*.do</url-pattern>                      
> <http-method>GET</http-method>
>        <http-method>POST</http-method>
>    </web-resource-collection>                  <auth-constraint>
>        <role-name>Admin</role-name>
>    </auth-constraint>
>    <user-data-constraint>
>        <description>Web Application</description>
>        <transport-guarantee>NONE</transport-guarantee>
>    </user-data-constraint>
> </security-constraint>
> <login-config>
>   <!--
>        <auth-method>CLIENT-CERT</auth-method>     -->
>       <auth-method>FORM</auth-method>          <!-- 
> <realm-name>appointmentsApp</realm-name> -->
>       <realm-name>Web Appointments Realm</realm-name>
>        <form-login-config>
>        <form-login-page>/login-jetty.jsp</form-login-page>
>        <form-error-page>/error.html</form-error-page>
>    </form-login-config>
>   <!--         <auth-method>BASIC</auth-method>
>    <realm-name>appointmentsApp</realm-name>
>   -->
> </login-config>
>
> <security-role>     <role-name>Admin</role-name>
> </security-role>
>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> .
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to