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

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

Go to download

Library that swaps out specific http-router components to be able to compile code on any request that has changed for use in development servers

There is a newer version: 2.1.1
Show newest version




    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

Next, these routes are matched digging into scopes such that any sublist is matched in order after matching on scope. It's good to have scopes so instead of looping over 3000 urls, the router loops over 10 or so in a scope to match
        
    #{htmlEscapingOff}#
    ${routeHtml}$
    #{/htmlEscapingOff}#
    
    
TODO: Fill in the module we ended up using and the routes in that module that did not match here to make it easy for the developer to see why he got a 404

Your app in production will look like what is in this iframe(ie. this is your production 404 page or login page if redirected due to security filter!)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy