Marco, Just crack open the xdoclet jar file for struts and edit the template that generates the struts config file. The template language is relatively easy to understand, and you should be able to make the requested alterations with ease. If you are really having issue, buy the book from manning about xdoclet, as it does a great job of explaining the templating language and how to do the exact kind of thing you want. I actually hacked up the struts-config template myself at one point for a problem that was similar.
Good luck. Brian Greene [EMAIL PROTECTED] hello all, i am using XDoclet in my webapplication to generate the struts-config.xml file. In my action i am specifying attributes 'name,scope,path and input' but i would like to 'override' XDoclet by specifying an additional type attribute. reason for that is that i am planningn to use Spring together with struts, so i would need that hte <action > tag generated by xdoclet isn't the class type of the class where i am putting struts tags.. Example of that, i have an action called LoginAction, in which i am pu tting XDoclet tags. obviously, right now XDoclet generates a struts-config.xml containing an <action type="LoginAction", where instead i need a tag like <action type="org.springframework.web.struts.DelegatingActionProxy" .. so, could i 'override' XDoclet by specifying the 'type' parameter in the XDoclet tag? do i need some extra XDOclet plugins? thanx in advance and regards marco ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user