<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Fixing broken view after overriding ext file</title>
  <link rel="self" href="https://liferay.dev/pt/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117650763" />
  <subtitle>Fixing broken view after overriding ext file</subtitle>
  <id>https://liferay.dev/pt/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117650763</id>
  <updated>2026-06-02T20:38:47Z</updated>
  <dc:date>2026-06-02T20:38:47Z</dc:date>
  <entry>
    <title>RE: Fixing broken view after overriding ext file</title>
    <link rel="alternate" href="https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117656304" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117656304</id>
    <updated>2019-11-04T11:16:04Z</updated>
    <published>2019-11-04T11:16:04Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Patryk Łęczycki:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Yes, at this moment I&amp;#39;m trying to modify top_meta.jsp by overriding top_meta-ext.jsp file. I want to add some meta to &amp;lt;head&amp;gt; and I have read that it&amp;#39;s one of ways to achieve it. I use version 7.2.0-GA1&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;You should look at &lt;a href="https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/customizing-jsps"&gt;the options&lt;/a&gt; that you have for overriding all kinds of JSPs. If you absolutely must change core JSPs, you&amp;#39;re looking for &lt;a href="https://portal.liferay.dev/docs/7-2/customization/-/knowledge_base/c/jsp-overrides-using-custom-jsp-bag"&gt;Custom JSP Bags&lt;/a&gt;.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-11-04T11:16:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Fixing broken view after overriding ext file</title>
    <link rel="alternate" href="https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117655849" />
    <author>
      <name>Patryk Łęczycki</name>
    </author>
    <id>https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117655849</id>
    <updated>2019-11-04T10:05:40Z</updated>
    <published>2019-11-04T10:05:40Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Olaf Kock:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;div class="quote-title"&gt;Patryk Łęczycki:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Hi, I&amp;#39;ve got some problems with overriding ext files. When any exception is thrown (for example: org.apache.jasper.JasperException: Unable to compile class for JSP), the whole view breaks:&lt;br /&gt;&lt;/blockquote&gt;If - by ext-files - you mean that you deploy JSPs through an ext plugin, you should stop that practice. Redeploying an ext (as well as undeploying) requires restarting the server, and is the second most invasive way to introduce customizations into Liferay - right after changing the source and recompiling. &lt;br /&gt;So: If you deploy in ext: You will have to restart. For further pointers, we&amp;#39;d need to know the JSP in question and the version you&amp;#39;re running&lt;/blockquote&gt;&lt;br /&gt;Yes, at this moment I&amp;#39;m trying to modify top_meta.jsp by overriding top_meta-ext.jsp file. I want to add some meta to &amp;lt;head&amp;gt; and I have read that it&amp;#39;s one of ways to achieve it. I use version 7.2.0-GA1</summary>
    <dc:creator>Patryk Łęczycki</dc:creator>
    <dc:date>2019-11-04T10:05:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Fixing broken view after overriding ext file</title>
    <link rel="alternate" href="https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117653516" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117653516</id>
    <updated>2019-11-04T09:00:22Z</updated>
    <published>2019-11-04T09:00:22Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Patryk Łęczycki:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Hi, I&amp;#39;ve got some problems with overriding ext files. When any exception is thrown (for example: org.apache.jasper.JasperException: Unable to compile class for JSP), the whole view breaks:&lt;br /&gt;&lt;/blockquote&gt;If - by ext-files - you mean that you deploy JSPs through an ext plugin, you should stop that practice. Redeploying an ext (as well as undeploying) requires restarting the server, and is the second most invasive way to introduce customizations into Liferay - right after changing the source and recompiling. &lt;br /&gt;So: If you deploy in ext: You will have to restart. For further pointers, we&amp;#39;d need to know the JSP in question and the version you&amp;#39;re running</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2019-11-04T09:00:22Z</dc:date>
  </entry>
  <entry>
    <title>Fixing broken view after overriding ext file</title>
    <link rel="alternate" href="https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117650762" />
    <author>
      <name>Patryk Łęczycki</name>
    </author>
    <id>https://liferay.dev/pt/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117650762</id>
    <updated>2019-11-04T08:39:31Z</updated>
    <published>2019-11-04T08:39:31Z</published>
    <summary type="html">Hi, I&amp;#39;ve got some problems with overriding ext files. When any exception is thrown (for example: org.apache.jasper.JasperException: Unable to compile class for JSP), the whole view breaks:&lt;br /&gt;&lt;img src="/documents/portlet_file_entry/14/image--tempRandomSuffix--GAxbkee4.png/e4b6c925-b347-9401-4bc5-2a1f1f17b20b"  /&gt;&lt;br /&gt;The problem is that I don&amp;#39;t know how to undo my changes and fix the view. I&amp;#39;ve tried redeploying whole project, rebuilding it, removing JAR from bundles - without results. The only way is to restart Liferay Server, but it takes much time and I wonder if there&amp;#39;s any faster method, maybe cleaning some cache or something. I&amp;#39;d be glad for any help.</summary>
    <dc:creator>Patryk Łęczycki</dc:creator>
    <dc:date>2019-11-04T08:39:31Z</dc:date>
  </entry>
</feed>
