<?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>Weird change of URL address string on a POST request</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121404118" />
  <subtitle>Weird change of URL address string on a POST request</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121404118</id>
  <updated>2026-04-03T19:41:49Z</updated>
  <dc:date>2026-04-03T19:41:49Z</dc:date>
  <entry>
    <title>RE: Weird change of URL address string on a POST request</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121413562" />
    <author>
      <name>txapeldot .</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121413562</id>
    <updated>2022-05-03T07:58:27Z</updated>
    <published>2022-05-03T07:58:27Z</published>
    <summary type="html">&lt;p&gt;So weird is the question I've posted? Come on! Any comment will be
  appreciated. Thanks.&lt;/p&gt;</summary>
    <dc:creator>txapeldot .</dc:creator>
    <dc:date>2022-05-03T07:58:27Z</dc:date>
  </entry>
  <entry>
    <title>Weird change of URL address string on a POST request</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121404117" />
    <author>
      <name>txapeldot .</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121404117</id>
    <updated>2022-04-21T14:56:34Z</updated>
    <published>2022-04-21T14:56:33Z</published>
    <summary type="html">&lt;p&gt;On a Liferay-Faces based portlet, I want to navigate from a .xhtml
  page to another .xhtml page passing a parameter on the basis of a POST
  request, that is, don't giving any clue about the parameter I’m
  passing. In other words, I want to do a page navigation without the
  URL on the browser address input field changes. To do so I'm using a
  JSF &amp;lt;h:commandLink&amp;gt; feature, and the page navigation is working
  as expected. The problem is that the URL address changes when I clic
  the &amp;lt;h:commandLink&amp;gt; link this way:&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;http://localhost:8080/web/guest/landing-page         --&amp;gt;     
      http://localhost:8080/web/guest/landing-page? p_auth=62vuZpCB&amp;amp;p_p_id=inventory_WAR_inventory&amp;amp;p_p_lifecycle=1&amp;amp;p_p_state=normal&amp;amp;p_p_mode=view&amp;amp;p_p_col_id=column-1&amp;amp;p_p_col_count=1&amp;amp;_inventory_WAR_inventory__facesViewIdRender=%2FWEB-INF%2Fviews%2Fview.xhtml&lt;/em&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;The page 'WEB-INF/views/view.xhtml' is the one that has to be
  rendered, but I expected the following behaviour:&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;http://localhost:8080/web/guest/landing-page        --&amp;gt;       
  http://localhost:8080/web/guest/landing-page&lt;/em&gt; (that is, without
  any changes) or&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;http://localhost:8080/web/guest/landing-page        --&amp;gt;       
  http://localhost:8080/web/guest/landing-page/view.xhtml&lt;/em&gt; (in the
  worst case).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'd really appreciate if someone could explain to me what is causing
  the URL modifies that way, and how can I procceed to make the URL
  doesn´t modify.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Context: Liferay 7.4 GA1, JSF 2.2, Liferay Faces 4.2, Liferay Faces
  Bridge 6.1.&lt;/p&gt;</summary>
    <dc:creator>txapeldot .</dc:creator>
    <dc:date>2022-04-21T14:56:33Z</dc:date>
  </entry>
</feed>
