Download, unzip, launch and see SiteMesh in action instantly.
For the keeners, read Portable Development Environment to learn how the SSK is put together.
Using the SiteMesh Starter Kit on Windows
The SiteMesh Starter Kit was put together to be as unobtrusive as possible. As such there is no installation.
In this example, we create an apps folder on the C: drive and unzip using 7-Zip.
You may use another folder, but some unzip programs will give you an error about long path names. This is a Windows limitation.
For the rest of this tutorial we will assume you are using the folder C:\apps\ssk.
Starting, C:\apps\ssk\sts-2.8.0.RELEASE\STS.exe will launch your development environment as shown below,
Import cafe WAR File
Import cafe which contains the first two tutorials,
Click File, Import... which will result in an import dialog box,
Expand the Web folder by clicking on the selection arrow and select WAR file.
Browse to the cafe.war file and select it,
After import you can expand the cafe folder to see the sample sitemesh application in your workspace,
Launch the Default Example
Following through the tutorials the last step is to start the application server and browse to menu.jsp.
To do this with the SSK, right click on the file menu.jsp and choose Run on Server,
You will then be prompted to select a Server. The defaults are fine. Click the Finish button,
Finally, there will be a Spring Insight and depending on your Windows setup a Windows Firewall dialog as shown,
Select No to the Spring Insight and if prompted Allow Access to the Windows Firewall dialog.
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.
If we do make more tutorials, to keep things simple for developers new to both SiteMesh and Java web applications, subsequent tutorials are not included in the SSK. Instead they will be packaged as WAR files and can be imported.