Download, unzip, launch and import cafe.war to see SiteMesh in action.
Microsoft Windows unzip program will not work. Consider the free 7-Zip, Winzip or WinRAR.
For the keeners, read Portable Development Environment to understand what SSK is exactly composed of.
|Table of Contents|
For the rest of this tutorial we will assume you are using the folder C:\apps\ssk.
Start the IDE (Integrated Development Environment)
Starting, C:\apps\ssk\sts-2.8.0.RELEASE\STS.exe will launch your development environment as shown below,.
You will be asked to select a workspace location. This will be where your web application files will be kept. The default is fine,
Import cafe WAR File
Import cafe.war which contains the first two tutorials,
Browse to the cafe.war file and select it,
After import you can During import you will be asked to open the Java EE perspective,
Optional - Clean Up View
By default the IDE hides the real directory structure.
Click Window, Show View, Navigator.
In the Navigator Window, expand the cafe folder to see the sample sitemesh application in your workspace,
If everything succeeds you will see the following screen,
As more tutorials are built they will be posted in subsequent articles. This depends on your feedback. If you would like to see more let us know.
At this point SiteMesh is setup and working. Go straight to Start Using SiteMesh in 10 Minutes to start being productive.
After that, read up on Setup Mesh in 5 Minutes for configuration into your own web application.