<?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>How Debug jsp's having same named multiple files available in source code?</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=38726356" />
  <subtitle>How Debug jsp's having same named multiple files available in source code?</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=38726356</id>
  <updated>2026-07-13T14:00:37Z</updated>
  <dc:date>2026-07-13T14:00:37Z</dc:date>
  <entry>
    <title>RE: How Debug jsp's having same named multiple files available in source co</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38773479" />
    <author>
      <name>Lu Li</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38773479</id>
    <updated>2014-06-11T08:09:29Z</updated>
    <published>2014-06-11T08:09:29Z</published>
    <summary type="html">Hi Sachin, &lt;br /&gt;&lt;br /&gt;Sorry about that , you were right , can&amp;#39;t modify view.jsp name . could you adit the source lookup manually  to point to the right path ? just when it hits to the breakpoint ,  choose the right view.jsp file .&lt;br /&gt;&lt;br /&gt;Also .I wonder if you can remove those view.jsp for other portlet first , just focus on the one you want to debug with . or maybe you can try the way i posted above , just remove other portlets&amp;#39; element in portlet.xml and try if it could work ?</summary>
    <dc:creator>Lu Li</dc:creator>
    <dc:date>2014-06-11T08:09:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: How Debug jsp's having same named multiple files available in source co</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38769292" />
    <author>
      <name>Sachin Jagtap</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38769292</id>
    <updated>2014-06-11T04:29:07Z</updated>
    <published>2014-06-11T04:29:07Z</published>
    <summary type="html">hi Lu,&lt;br /&gt;       I have modified the  jsp file name which i want to debug with putting debug points &amp;amp; placed the changed named file into below configuration file which contain more one portlets configuration &lt;strong&gt; portlet-custom.xml&lt;/strong&gt;&lt;br /&gt; then i am start the tomcat server in debugging mode &amp;amp; performed some portlet related task even though its not working for me.&lt;br /&gt;&lt;br /&gt;     Can you please elaborate with some example like Blogs,wiki portlets jsp file with configuration files?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks for Replying&lt;br /&gt;regards,&lt;br /&gt;Sachin Jagtap</summary>
    <dc:creator>Sachin Jagtap</dc:creator>
    <dc:date>2014-06-11T04:29:07Z</dc:date>
  </entry>
  <entry>
    <title>RE: How Debug jsp's having same named multiple files available in source co</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38732877" />
    <author>
      <name>Lu Li</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38732877</id>
    <updated>2014-06-10T09:25:53Z</updated>
    <published>2014-06-10T09:25:53Z</published>
    <summary type="html">Hi Sachin, &lt;br /&gt;&lt;br /&gt;It is the same way to debug out-of-box portlets , could you check your project&amp;#39;s portlet.xml and check there is more than one portlet. if so , make sure you only added  that one you want to debug on your site . Also you can try to remove the other portlets in portlet.xml temporarily just for debug ,when you finish you can replace it back.Let us know you have any problem.</summary>
    <dc:creator>Lu Li</dc:creator>
    <dc:date>2014-06-10T09:25:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: How Debug jsp's having same named multiple files available in source co</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38730690" />
    <author>
      <name>Sachin Jagtap</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38730690</id>
    <updated>2014-06-10T08:48:47Z</updated>
    <published>2014-06-10T08:48:47Z</published>
    <summary type="html">Hi Lu,&lt;br /&gt;                    Thanks for replying,&lt;br /&gt;                             Actually I am asking for out -of - portlets of liferay :&lt;br /&gt;               In that case if i am modifying the file names then i need to configure file names into configuration files also that&amp;#39;s why i am thinking it too complicated way to debugging.&lt;br /&gt;If any other way is for this then please share with us..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Once again Thanks for replying,&lt;br /&gt;Regards&lt;br /&gt;Sachin Jagtap</summary>
    <dc:creator>Sachin Jagtap</dc:creator>
    <dc:date>2014-06-10T08:48:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: How Debug jsp's having same named multiple files available in source co</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38727672" />
    <author>
      <name>Lu Li</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38727672</id>
    <updated>2014-06-10T07:04:35Z</updated>
    <published>2014-06-10T07:04:35Z</published>
    <summary type="html">Hi Sachin,&lt;br /&gt;&lt;br /&gt;Thanks for the report , this is known as apache tomcat server&amp;#39;s problem , tomcat could only look for the file name instead of location. so it could messed up when you have multiple portlets in same project .&lt;br /&gt;&lt;br /&gt;There are few ways you can avoid this problem :&lt;br /&gt;&lt;br /&gt;1,Liferay suggests to create only &lt;strong&gt;one-portlet-in-one-project&lt;/strong&gt; . Also , when you create a portlet project it actually contains a portlet already , remember not to add them both to the page, &lt;strong&gt;only add the one you want to debug with &lt;/strong&gt;.&lt;br /&gt;2.If you want to have multiple portlets in same project ,for debug you can modify those jsp file name &amp;#34;view.jsp&amp;#34; .&amp;#34;edit.jsp&amp;#34;, &amp;#34;about.jsp&amp;#34; etc to another name to avoid the problem&lt;br /&gt;&lt;br /&gt;let us know if you have any problem &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;</summary>
    <dc:creator>Lu Li</dc:creator>
    <dc:date>2014-06-10T07:04:35Z</dc:date>
  </entry>
  <entry>
    <title>How Debug jsp's having same named multiple files available in source code?</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38726355" />
    <author>
      <name>Sachin Jagtap</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38726355</id>
    <updated>2014-06-10T05:28:34Z</updated>
    <published>2014-06-10T05:28:34Z</published>
    <summary type="html">Hi All,&lt;br /&gt;        I want to debug liferay source code in which i have get problem with view.jsp or same named multiple files available in source code.&lt;br /&gt;that&amp;#39;s why whenever i am trying to put break point in particular out-of-box portlets view.jsp  then it opens another portlets view.jsp file like that,&lt;br /&gt;&lt;br /&gt;-In my environment set &lt;strong&gt;: IDE - Eclipse Indigo, Liferay 6.1.1 GA2 ,Tomcat 7.0.27,(OS:Windows &amp;amp; Linux both),MySql.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;-I am interested in How to debug JSP files with same name in source code of liferay?&lt;br /&gt;Anyone knows how to debugging in jsps in liferay please guide me for that?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;Regards ,&lt;br /&gt;&lt;br /&gt;Sachin Jagatap</summary>
    <dc:creator>Sachin Jagtap</dc:creator>
    <dc:date>2014-06-10T05:28:34Z</dc:date>
  </entry>
</feed>
