title: how to load js widget file in dojo ? registerModulePath is working but in 1.8 packages not working - need help immediately
body: <p>Hello need help immediately,
  I have web directory as  </p>
  
  <pre><code>- WebContent
      index.jsp
      dojo
      testjs
          - bpl
              - mywidget.js
  </code></pre>
  
  <p>Context path  is  <code>/TestWeb/CheckDojo</code></p>
  
  <p>script in <code>index.jsp</code>:</p>
  
  <pre><code>dojo.registerModulePath("testjs","/TestWeb/CheckDojo/testjs");
  </code></pre>
  
  <p>is working and i can do</p>
  
  <pre><code>require([ "dojo/dom",  "testjs/bpl/mywidget", "dojo/domReady!"], ...
  </code></pre>
  
  <p>but in dojo 1.8 , 
  in dojoconfig i am using</p>
  
  <pre><code>data-dojo-config="locale:                  en-us,
                    async:                   true,            
                    config-tlmSiblingOfDojo: false, 
                    packages: [{
                                name: 'testjs', 
                                location: '/TestWeb/CheckDojo/testjs'
                              }],
                    parseOnLoad: true"
  </code></pre>
  
  <p>then in require mywidget is searched in dojo directory which is not the correct path.</p>
  
  <p>what and how should i load the package ?</p>