Hi experts, May I ask something. How to link a page to previous page which the content in previous page is selected from database where IDPRODUCT=". I don't know how to pass back the IDPRODUCT.
Suppose I have ViewProducts.jsp and ViewPhotosOfProduct.jsp. ViewProducts.jsp is displaying list of all products. The previous page from ViewProducts.jsp is displaying list of shop (called UKM here).
When user click a UKM, it linked to ViewProducts.jsp
<a href='lihatProduk.jsp?ID_UKM=" + rs.getString("ID_UKM") + "'title='Lihat Produk' class='icon-5 info-tooltip'</a>
Then at ViewProducts.jsp,
When user clicked one of them, it linked to ViewPhotosOfProduct.jsp is displaying a few photos (from all sides) from that product only.
at ViewProducts.jsp this is the code (combined with html button)
that is fine. But the problem is at ViewPhotosOfProduct.jsp. I add a button that linked back to ViewProducts.jsp but doesn't works. I tried this
<a href='ViewProducts.jsp?ID_UKM=" + rs.getString("ID_UKM") + "'> SEE ALL PRODUCTS </a>
But doesnt work.
Thank you before for your help.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.