如何在htaccess中更改两个页面的URL

时间:2017-08-19 20:59:36

标签: php .htaccess web-services url

我想更改htaccess中的网址

/grid.php?view=Samsung

/mobile.php?id=Galaxy-j5

/Samsung 

/Samsung/Galaxy-j5

1 个答案:

答案 0 :(得分:0)

非常基本

<p:outputLabel id="selectedAdvPriceOutputLabel" for="selectedAdvPrice" value="#{msg['prezzo']}"/>

<h:inputText id="selectedAdvPrice" 
             value="#{addAdvertisingController.advertisingBean.price}" 
             class="form-control" 
             converter="javax.faces.BigDecimal" 
             required="#{empty param[draftSave.clientId] and empty param[draftSaveXS.clientId]}" 
             requiredMessage="#{msg['prezzo']} #{msg['campoObbligatorio']}">
  <f:validator binding="#{numberGreaterThanZeroJsfValidator}" />
</h:inputText>