title: playframework modules and routes
body: <p>I use Play! Framework 1.2.5</p>
  
  <p>I have a module 'businessmodel'. Here in conf/routes:</p>
  
  <blockquote>
    <p>GET     /                      businessmodel.Admin.index</p>
  </blockquote>
  
  <p>There I have controller:</p>
  
  <pre><code>package controllers.businessmodel;
  
  import play.mvc.Controller;
  
  public class Admin extends Controller { ...
  </code></pre>
  
  <p>and a view:</p>
  
  <blockquote>
    <p>/view/businessmodel/Admin/index.html</p>
  </blockquote>
  
  <p>In main application that depends on this module, in conf/routes I have:</p>
  
  <blockquote>
    <p>GET     /admin                       module:businessmodel</p>
  </blockquote>
  
  <p>When go to myhost:9000/admin I have on the page the error:</p>
  
  <blockquote>
    <p>Not found<br>
    GET /admin</p>
  </blockquote>
  
  <p>Also, on the same error page I have list of defined routes:</p>
  
  <pre><code>GET       /                                                 Application.index
  GET       /admin/                                           businessmodel.Admin.index
  GET       /favicon.ico                                      404
  GET       /public/                                          staticDir:public
  *         /{controller}/{action}                            {controller}.{action}                      {controller}.{action}
  </code></pre>
  
  <p>--</p>
  
  <p>But if change the module's routes to this line (adding '?'):</p>
  
  <pre><code>GET     /?                      businessmodel.Admin.index
  </code></pre>
  
  <p>then we have different error:</p>
  
  <blockquote>
    <p>@6cpelo7bh Internal Server Error (500) for request GET /admin</p>
    
    <p>Action not found Action businessmodel.Admin.index could not be found.
    Error raised is MODULE$</p>
  </blockquote>
  
  <p>Do I miss something to define?</p>