<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Static JSF pages not found after updating to 8.0.4 / 9.1.0</title><link>https://answers.axonivy.com/questions/4457/static-jsf-pages-not-found-after-updating-to-8-0-4-9-1-0</link><description>&lt;p&gt;Since 8.0 you can create static JSF pages. Those pages can be accessed directly via a URL without being in an an HtmlDialog context. And until 8.0.3 they were still located in the &lt;code&gt;webContent&lt;/code&gt; folder.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Are you affected?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you used static pages and you upgrade to 8.0.4 your page will no longer be found by the engine.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What have changed?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To improve security, we changed the location to &lt;code&gt;webContent/view&lt;/code&gt;. This helps you to decide which pages should be static and can be accessed directly. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How should your webContent folder look like?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you use static pages, you should have a &lt;code&gt;view&lt;/code&gt; folder, and if not, please do not use this folder.
Your structure could look like something like the this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;webContent
  - META-INF/
  - WEB-INF/
  - view/          (static JSF pages -&amp;gt; direct call possible)
  - includes/    (templates, dialogs, etc -&amp;gt; no direct call allowed)
  - resources/  (images, css, js, etc. -&amp;gt; no direct call allowed)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Additional info&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you use static pages, you should consider securing them with a login.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4457/static-jsf-pages-not-found-after-updating-to-8-0-4-9-1-0" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 30 Jul 2024 06:33:20 -0000</lastBuildDate></channel></rss>