title: How to get Web Content by Structure name in Liferay Portlet?
body: <p>I need to get all Web Content created with a specific Structure in a jsp portlet.</p>
  
  <p>I try to use structureName but this throw a excepcion</p>
  
  <pre><code>ClassLoader cl = PortalClassLoaderUtil.getClassLoader();
  DynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(JournalArticle.class, cl)
          .add(PropertyFactoryUtil.forName("structureName").eq("Empresa"));
  List &lt;JournalArticle&gt; journalArticles = JournalArticleLocalServiceUtil.dynamicQuery(dynamicQuery);
  </code></pre>
  
  <p>How i get the web content by structure?</p>