src/main/kotlin/de/uapcore/lightpit/AbstractServlet.kt

changeset 414
1f1bce90127e
parent 406
2c0c9a4f81e2
equal deleted inserted replaced
413:0523585f1742 414:1f1bce90127e
190 } 190 }
191 191
192 // if this is an error path, bypass the normal flow 192 // if this is an error path, bypass the normal flow
193 if (fullPath.startsWith("/error/")) { 193 if (fullPath.startsWith("/error/")) {
194 val http = HttpRequest(null, req, resp) 194 val http = HttpRequest(null, req, resp)
195 http.styleSheets = listOf("error")
196 http.render("error") 195 http.render("error")
197 return 196 return
198 } 197 }
199 198
200 // obtain a connection and create the data access objects 199 // obtain a connection and create the data access objects

mercurial