Web Frameworks: Spring : Spring Applications « Spring « Java

Java
1. 2D Graphics GUI
2. 3D
3. Advanced Graphics
4. Ant
5. Apache Common
6. Chart
7. Collections Data Structure
8. Database SQL JDBC
9. Design Pattern
10. Development Class
11. Email
12. Event
13. File Input Output
14. Game
15. Hibernate
16. J2EE
17. J2ME
18. JDK 6
19. JSP
20. JSTL
21. Language Basics
22. Network Protocol
23. PDF RTF
24. Regular Expressions
25. Security
26. Servlets
27. Spring
28. Swing Components
29. Swing JFC
30. SWT JFace Eclipse
31. Threads
32. Tiny Application
33. Velocity
34. Web Services SOA
35. XML
Microsoft Office Word 2007 Tutorial
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java » Spring » Spring ApplicationsScreenshots 
Web Frameworks: Spring

/*
Beginning JavaServer Pages
Vivek Chopra, Jon Eaves, Rupert Jones, Sing Li, John T. Bell
ISBN: 0-7645-7485-X

*/

Chapter 18 - Examples Readme.
=================================================================
These instructions assume you have set up Ant and Tomcat on your computer.

1. Extract the contents of this zip file into a directory on your computer, for example
C:\ch18-spring-base.

2. Modify the C:\ch18-spring-base\build.xml file as follows:
  a. Modify the value of the catalina.home property to reflect the location of Tomcat on your computer.
  b. Modify the value of the manager.url property to reflect the URL of the manager application the Tomcat instance you will be deploying this project too.
  c. Modify the values of the manager.username and manager.password properties to reflect the correct values for your  instance of Tomcat.
  
3. The build.xml file contains references to resources you need to have installed on your computer. The
script stores a reference to the location where you installed these resources. Sometimes the directory
structure of an installation can change from version to version. If you choose to use a different version
to that recommended in the book, please ensure that the build.xml file looks in the appropriate directory
for the resources it needs. For instance the script stores the location of the Jakarta Taglibs on your
computer with: 

<property name="jstl.home" value="c:/java/tools/jakarta-taglibs"/>

And further on in the script it uses this location to find the resources it needs:

<property name="jstl.jar" value="${jstl.home}/standard/lib/jstl.jar"/>
<property name="standard.jar" value="${jstl.home}/standard/lib/standard.jar"/>

The second set of properties assumes the directory structure of where the resources are located. If youse a different version than what is recommended this location may be different.

You will need to modify the build.xml to suit your computer in the following ways:

  a. Change the value of the jstl.home property to reflect the location of Jakarta Taglibs.
  b. change the value of the spring.home property to reflect the location of the Spring Framework 1.0.

3. Start Tomcat.

4. Open a DOS prompt or Unix command shell to the directory containing the build.xml file (C:\ch18-spring-base\).

5. Type the following at the prompt: 
  
  ant install

6. The application should now be available for browsing at http://localhost:8080/spring-base


           
       
BeginningJavaServerPages-ch18.zip( 417 k)
Related examples in the same category
1. Spring minimal web application
2. Spring Tiles Example
3. Spring Image Database sample application
4. Spring Countries sample application
5. Spring PetClinic sample application
6. Spring JPetStore sample application
w___w___w__._ja_v_a_2_s___.___c__o___m___ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.