Hi all i'm new in this list. I start use XDoclet in collaboration with Appfuse project. I also use Struts to create my Action in my application. The problem is this. I put on my action XDoclet tag like this one: /** *........ * @struts.action path="/unbookExam" * roles="studente" * * @struts.action-forward name="forward" * path=".result" *........*/ After launching Ant to compile all my classes, the file struts-config.xml is create and it contains the right information that i put at top of my class. I havea class that i call RequestProcessor that check the role for the actions and contains this method: public boolean processRoles(HttpServletRequest request, HttpServletResponse response, ActionMapping mapping) throws IOException, ServletException {......} In this method i implement a simple call like this one: ........ String [] roles = mapping.getRoleNames(); if (roles != null){ System.out.println("\nROLES not null: "+roles.toString()); System.out.println("Length: "+roles.length); } The call to println, print the things on my catalina.out. Deploying my application is correct but when i call all Actions the roles array is empty. my question is: the array cannot be empty because it take parameter from struts-config.xml, someone know which is the problem? Cheers Emmanuele
------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user