Introducing Spring Framework by Felipe Gutierrez

Introducing Spring Framework by Felipe Gutierrez

Author:Felipe Gutierrez
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


Now you can go to the following URL: http://localhost:8080/ch10/mydocuments/search/all. Figure 10-2 shows the result.

Figure 10-2.Result of Rendering all.jspx

The following segment shows the output of the logs used by the Jetty container when I accessed the web page. You can see the JDBC calls in action and how they are being rendered.

10:38:27.615 [1141619556@qtp-568919009-0] DEBUG o.s.web.servlet.DispatcherServlet - DispatcherServlet with name 'mydocuments' processing GET request for [/ch10/mydocuments/search/all]

10:38:27.616 [1141619556@qtp-568919009-0] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Looking up handler method for path /search/all

10:38:27.618 [1141619556@qtp-568919009-0] DEBUG o.s.w.s.m.m.a.RequestMappingHandlerMapping - Returning handler method [public java.lang.String com.apress.isf.spring.web.SearchController.searchAll(org.springframework.ui.Model)]

10:38:27.618 [1141619556@qtp-568919009-0] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'searchController'

10:38:27.619 [1141619556@qtp-568919009-0] DEBUG o.s.web.servlet.DispatcherServlet - Last-Modified value for [/ch10/mydocuments/search/all] is: -1

10:38:27.634 [1141619556@qtp-568919009-0] DEBUG o.s.jdbc.core.JdbcTemplate - Executing SQL query [

select d.documentId, d.name, d.location, d.description as doc_desc,

d.typeId, d.created, d.modified,

t.name as type_name, t.description as type_desc, t.extension from

documents d

join types t

on d.typeId = t.typeId

]

10:38:27.635 [1141619556@qtp-568919009-0] DEBUG o.s.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource

10:38:27.635 [1141619556@qtp-568919009-0] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:hsqldb:mem:dataSource]



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.