I am having an issue getting started with Dojo.

I downloaded 0.9 Beta since I read that page loads will be dramatically faster. Here is the link.

I then unzipped the download which was made up of 4 folders (dijit, dojo, dojox, util). I copied all 4 folders to my JavaScript folder in my application project.

It looks something like this...

- WebContent
|- - - js
        | - - - dijit
        | - - - dojo
        | - - - dojox
        | - - - util
|- - - jsp
        | - - - DojoTest.jsp
I then coded a test page to try and test my setup.

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Dojo Test</title>

<!-- Load Dojo Framework -->
<script type="text/javascript" src="js/dojo/dojo.js"></script>

<!-- Implement -->
<script type="text/javascript">
	//-- Load Dojo's code relating to widget managing functions
    //-- Load Dojo's code relating to the Button widget


  <u>Dojo Test</u>
  <button dojoType="Button" widgetId="helloButton">Hello World!</button>
Now when I run the code I am getting a JavaScript error
Could not load 'dojo.widget'; last tried './widget/_package_.js'

So I did some Googling and downloaded an older version of Dojo. It is version 0.4.3-ajax. I notice this file has a folder called src which contains a widget folder which contains a lot of other files.

My question is, I assume when I downloaded the 0.9 Beta version, it contains all of the correct files (all of the needed files)? Is that assumption incorrect? If I did download everything, where is the src code and why am I getting the JavaScript error? I am following this tutorial step by step.


Any help is appreciated.