Commit Graph
21 Commits
Author SHA1 Message Date
Scott Andrews 2d2924e8ce SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@825 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 04:37:26 +00:00
Chris Beams 59047a8c89 Removed JSTL-related errors from petclinic search and show JSPs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@718 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-03 02:31:45 +00:00
Arjen Poutsma 897c1b2976 Fixing Petclinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@697 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 14:32:51 +00:00
Chris Beams dff1f12fb0 Remapped static resources as /petclinic/static/images/...
Renamed tutorial from petclinic.html -> tutorial.html


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@636 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 21:50:51 +00:00
Chris Beams 9f3c071fd1 Polishing the new RESTful interface to the petclinic webapp (SPR-5487):
* Eliminated redundant 'clinic' servlet mapping (was: http://localhost:8080/petclinic/clinic/owners; now: http://localhost:8080/petclinic/owners)
* A parameterless GET for /owners now returns the list of all owners, rather than an error.
* /owners/form is now /owners/search (distinguishes the 'search form' resource from the 'edit owner form' resource)
* Eliminated any need for redirects, <welcome-file-list/>, and index.jsp. Deleted all of them.
* Updated /owners/{oid}/edit to submit using PUT instead of POST
* Updated URI for edit pet form from /owners/{oid}/pets/{pid} to /owners/{oid}/pets/{pid}/edit (the edit form is a distinct resource)
* Updated /owners/{oid}/pets/{pid}/edit to submit using PUT instead of POST

Changes unrelated to the web interface:

* Partitioned up JSPs into new owners, pets, and vets folders.
* Renamed those JSPs, e.g. ownerForm.jsp -> owners/form.jsp; findOwners.jsp -> owners/search.jsp; owners.jsp -> owners/list.jsp
* Updated various controllers to respect the changes to the URI templates, etc.
* Updated .classpath to include all necessary projects and libs to run the webapp successfully in WTP
* Updated JSP error checking rules to relax validation of fragments like header.jsp and footer.jsp




git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@635 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 09:11:14 +00:00
Chris Beams ec7ffc0f99 * Updated Eclipse classpath metadata
* Fixed (or suppressed as necessary) JSP errors in petclinic

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@634 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-14 03:09:59 +00:00
Arjen Poutsma a9b28cf9bd Added content negotiation and MarshallingView to petclinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@604 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 16:12:13 +00:00
Arjen Poutsma c0aa6c9330 Added content negotiation and MarshallingView to petclinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@603 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 15:54:57 +00:00
Arjen Poutsma eac264dbf4 SPR-5460: Add AtomView sample to PetClinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 09:12:08 +00:00
Scott Andrews 4a9e3d4745 fixing broken unit test related to SPR-5429
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@581 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 22:32:26 +00:00
Scott Andrews ff095111b8 SPR-5429 Update Pet Clinic to use HSQL as an embedded database
Removing support for running HSQL in stand-alone mode.  Out of the box embedded HSQL and MySQL are supported.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@580 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 20:52:20 +00:00
Scott Andrews c50a9d382e SPR-5429 Update Pet Clinic to use HSQL as an embedded database
Created DbcpDataSourceFactory factory bean to create and populate a dbcp based connection pool.  The factory bean is based on EmbeddedDataSourceFactory from the JavaConfig version of Pet Clinic.  The new DbcpDataSourceFactory has been tested with HSQL in embedded and stand-alone modes.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 20:33:17 +00:00
Arjen Poutsma 13c3c48c32 Moved petclinic test configs to resource directory.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@567 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-21 22:26:48 +00:00
Arjen Poutsma 9a30b1c185 SPR-5326: HibernateClinic in PetClinic sample should use constructor-injection instead of field injection
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@566 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-21 22:13:00 +00:00
Chris Beams 3223775046 Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@465 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 14:52:45 +00:00
Chris Beams 49f0189671 + Added necessary JPA dependencies to make Petclinic JUnit tests pass
+ Removed unused imports for @RequestParam
Note: While unit tests pass in eclipse, NoClassDefFound errors are still being thrown when tests are run from the command line.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@330 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-24 22:16:21 +00:00
Scott Andrews 8906ed817c applying spring:url best practices
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@326 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-21 14:51:57 +00:00
Arjen Poutsma dc3bb7e13d Petclinic is RESTful.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@322 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 23:43:59 +00:00
Arjen Poutsma 057f5f6880 Petclinic is RESTful.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@321 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 23:42:20 +00:00
Arjen Poutsma fee0e1b8f3 Petclinic seems to work
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@311 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 16:28:38 +00:00
Arjen Poutsma 3eebe162b2 Added petclinic sample
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@308 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 13:50:01 +00:00