Page 1 of 1

how to add static html page with button click

Posted: Sat May 23, 2015 1:45 am
by amit28
Hi All, I am using broadleaf for my current ecommerce project,I want to link a static html page with button, on button click control should be transfer to linked page. I tried like this
<a href="//postAd" th:href="@{/postAd}"
class="obtn btn_orange">Post an Ad</a>
but its giving 404 page not found exception. Can anyone tell me how to link static page with button click, Thanks.

Re: how to add static html page with button click

Posted: Wed May 27, 2015 12:15 am
by phillipuniverse
Do you have a static page in the system that maps to the /postAd URL?

Re: how to add static html page with button click

Posted: Wed May 27, 2015 12:15 am
by phillipuniverse
Do you have a static page in the system that maps to the /postAd URL?

Re: how to add static html page with button click

Posted: Thu May 28, 2015 7:40 am
by amit28
Yes I have a static page in the system. I want to map with /postAd url but its giving 404 exception.