2 Replies Latest reply on Feb 7, 2003 3:38 PM by jcordes

    structs with xdoclet

    proceed99

      hello all,

      does anyone know how to use xdoclet to auto generate the web.xml file for struts framework.

      regards

        • 1. Re: structs with xdoclet
          sicko

          hey,
          well i got the following ant task for it to generate them, but the files stay empty..
          Maybe the @jbossweb tag is needed, but i cannot find any documentation about it :/














          <!--















          //-->


          • 2. Re: structs with xdoclet
            jcordes

            Hi !

            Here's how I did (I assume you're using Struts 1.1, but for 1.0 it should be nearly the same):




            <!-- include your files -->









            Put a servlets.xml containing struts action-servlet into ${ejbdoclet.merge.dir}. It will be included in your web.xml. I think that was rather easy ;-).

            Bye,

            Jochen.