Dojo-enabled web projects hold all of the web resources
that are created and used when developing a Dojo web application.
Results
In the Enterprise Explorer view, a dojo folder
is created under the WebContent folder. When
you create a web page, the palette opens with several Dojo drawers.
The Dojo components in the drawers are supplied by IBM at design time. At run time, the JavaScript that corresponds to the Dojo
resources you specified during project creation is run.
What to do next
JavaScript files
must be stored in the
WebContent folder. JavaScript files that are
referenced by HTML or JSP files run on the server even when they are
not in a JavaScript source
folder. A JavaScript source
folder is used to determine which files to validate and make available
for content assist. To set up source folders or view existing source
folders in the project properties, right-click your web project and
select .
JavaScript files that are not referenced
by HTML or JSP files must be placed in a JavaScript source folder. After these
files are placed in a JavaScript source
folder, they are available for validation and content assist.