Announcement Announcement Module
No announcement yet.
Handling Static HTML Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Handling Static HTML

    I have my application configured to intercept any URL's ending in "html" to the appropriate controller and JSP view.

    However, I have a few static HTML pages, such as my sitemap, that need to bypass this mechanism. How do you configure the application with these exceptions?

    I'm using Spring MVC and Tiles.
    Last edited by kcflyer; Jun 23rd, 2009, 11:54 AM.

  • #2

    Short of writing a new controller or a new filter to handle those exceptions, either changing the mapping from *.html to *.htm for your controllers or renaming the static files from *.html to *.htm would be the easiest way. I'm not aware of a built-in mechanism to do what you are describing.

    Hope that helps,