All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webpieces.devrouter.impl.notFound.html Maven / Gradle / Ivy





    NOTE: This is not what users see in Production.  For that, scroll to bottom of page
You are in the WebPieces Development Server. Your request received a 404.

Your app's webpage was not found for this reason: ${error}$

Domain Specific Routes

Most WebApps will not have Domain Specific Routes. This is for special situations. If there is no match on any domains, the router skips to the next section looking for a match. If there is a match on a domain, the router narrows to only matching here in this section
    #{list items:domains, as:'domain'}#
  • ${domain.domain}$
  • #{/list}# #{else}#
  • You have no domain specific routes that match only on domain
  • #{/else}#

Non Domain Routes

Webpieces divides url paths up into scopes for speed. It looks up scope in a Map first and then loops over each route in that scopes list doing a Pattern match (so it's good to use scopes to keep code organized and LESS pattern matching). Static routes are not shown yet below but we always match on them last since they will be cached. Not that you would have 3000 routes but if you did, you can organize into scopes so that each loop is only 10-30 things instead of looping and matching with java's Pattern object 3000 times for the worst case.

You are trying to match on any of these patterns...
    #{list items:paths, as:'path'}#
  • ${path}$
  • #{/list}#
Matching pieces shown in green...
${escOff#routeHtml}$


Your app in production will look like what is in this iframe
(ie. this is your production 404 page!)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy