Hello all. I've created a few struts applications with struts1.0 and struts 1.1rc. I've often found a need to update content on my applications. As in updating or adding new URLs. However, I could not execute live updates -- meaning I had to bring my application down, edit the struts-config.xml file, and restart. For most people, this might be fine. For me it was not. I would like to encourage people to take a look at http://www.twdata.org/struts-wildcard/ . It basically allows you to enable regular expressions in your action mappings. Plus, this is _really_ easy to use. I have a few actions defined in my struts application, but one really stands out: <snippet> <!-- struts-wildcard example --> <action path="/view**" type="myapp.strutsApp.ContentAction" attribute="contentForm" scope="request" validate="false"> </action> </snippet> Any content request goes through this action mapping. So basically any relative URL within my context, "mycontext" that begins with "/view" will go to my ContentAction. So h**p://mydomian/mycontext/view/whatever.do will be sent to this action. Note, that I store my URLs and associated data in my own tailor made XML configuration file. This allows me to update and add new URLs without bringing my server down. I don't even have to edit my struts-config.xml. This project provided very key functionality to my application. I encourage you all to take a look at this project.
--------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo.