<?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>Deploy static html, css, javascript as LifeRay Portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=88886837" />
  <subtitle>Deploy static html, css, javascript as LifeRay Portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=88886837</id>
  <updated>2026-05-29T20:43:50Z</updated>
  <dc:date>2026-05-29T20:43:50Z</dc:date>
  <entry>
    <title>Deploy static html, css, javascript as LifeRay Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88886836" />
    <author>
      <name>velmurugan Baskaran</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=88886836</id>
    <updated>2017-04-29T12:28:52Z</updated>
    <published>2017-04-29T12:28:52Z</published>
    <summary type="html">Hi All&lt;br /&gt;&lt;br /&gt;I have a static Single Page - html, css and javascript files. I have tested by deploying in into apache-tomcat and it works.&lt;br /&gt;I would like to convert this html, css and javascript as Porlet.&lt;br /&gt;&lt;br /&gt;So far, i have done the followings,&lt;br /&gt;1. Created the liferay - maven project (Through eclipse) [I have build and tested, this porlet is working when i deploy as war in LifeRay)&lt;br /&gt;2. In liferays maven project: ..src/main/webapp/ folder i have created a new folder called myapp&lt;br /&gt;3. Have pasted all the html, css, javascripts inside the myapp folder&lt;br /&gt;4. In the view.jsp file, i have included the myapp/index.html file.&lt;br /&gt;Build the war and deployed into liferay.&lt;br /&gt;&lt;br /&gt;Here, it is successfully picking the myapp/index.html in liferay porlet. However, it is not picking any resources inside the index.html (css, javascript).&lt;br /&gt;Here, how can i make this porlet up and working correctly. Please assist. [Kindly note that, i have tested this static page in independent tomcat server, it works fine. So that means, all the resource path that I have given is correct in index.html]&lt;br /&gt;Thank you!!</summary>
    <dc:creator>velmurugan Baskaran</dc:creator>
    <dc:date>2017-04-29T12:28:52Z</dc:date>
  </entry>
</feed>
