title: Struts 2 Multiple URL Extensions
body: <p>I'm working on a project that's having us replace an old struts 1 application with a new struts 2 application.  However, our new Struts 2 application needs to work with many other business applications that expect to call the application with the same URL.  So, there will be links such as</p>
  
  <p>businessApplication/view/getById.do?id=XXXXXXXXXX</p>
  
  <p>Our new application uses no suffix (though, you can optionally specify the .action suffix) as opposed to the .do suffix.  What I want to do is capture those old URLs (with the .do suffix) and forward to the appropriate action, like:</p>
  
  <p>businessApplication/view/findById?Id=XXXXXXXX</p>
  
  <p>However, I can't find a way to capture anything with the .do suffix.  I tried setting the action name to getById.do and getById* to no avail.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks!</p>