img
. . . . .
Table 17-3. Sample Web Project Folder Structure Description
Folder Name
Purpose
Note
ckeditor
CKEditor (http://ckeditor.com) is a JavaScript
Copy the folder from the
component library that provides a rich-text
sample source code into the
editor in input form. We will use it to enable
folder of your project.
rich-text editing of a contact's description.
images
Stores the images for the application.
jqgrid
jqGrid(www.trirand.com/blog) is a component
Copy the folder from the
built on top of jQuery that provides various
sample source code into the
folder of your project.
grid-based components for data presentation.
We will use this library for implementing the
grid in order to display contacts, as well as to
support Ajax-style pagination.
scripts
Copy the folder from the
This is the folder for all generic JavaScript files.
sample source code into the
For the samples in this chapter, jQuery
folder of your project.
(http://jquery.org) and jQuery UI
(http://jqueryui.com) JavaScript libraries will
be used to implement a rich user interface. The
scripts will be placed in this folder. In-house
JavaScript libraries should be put here too.
styles
Stores the style sheet files and related images in
Copy the folder from the
supporting the styles.
sample source code into the
folder of your project.
WEB-INF/i18n
Copy the folder from the
Files for supporting i18n. In Figure 17-6, the file
sample source code into the
application*.properties stores the layout-
folder of your project.
related text (for example, page titles, field labels,
menu titles, and so on). The
message*.properties file stores various
messages (for example, success and error
messages, validation messages, and so on). In
the sample, we will support both English (US)
and Chinese (HK).
WEB-INF/layouts
This folder stores the layout view and
definitions. Those files will be used by the
Apache Tiles (http://tiles.apache.org)
templating framework.
WEB-INF/spring
This folder stores the Spring MVC
WebApplicationContext configurations. Both the
root-level and dispatcher servlet­level context
configurations are stored here.
WEB-INF/views
This folder stores the views (in our case, JSPX
files) that will be used by the application.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home