Hi I plan to use tiles in my aplication instead of jsp pages. But since i havnt used it before, i have a few questions. Now there are few pages with similar functionalities. It is basically a few forms for posting, but the fields are different for each category. So, there are forms for each category. But all the other things in the page, the headers the graphics etc are same. Is there a way i can replace the jsp page which contains the form according to the parameters in the url? I hope my question is clear.
Azhar you could setup a layout file with header, left menu, footer etc and then a body.
so you will have to replace only the body part of the layout.
You should get a number of good articles if you googled for tiles for more details.
Joined: Jul 17, 2006
Let me explain it better.
I have a part of my application where the users can post articles. Now, some of the categories of articles require special forms for extra information. For others a common form is displayed. current pages: category 1: mapping to category1Form.jsp category 2: mapping to category2Form.jsp other categories: mapping to commonForm.jsp
Now, I want to apply tiles to my web app. But now I am in doubt to which is the best approach. 1) Should I have a separate page for each of these forms? 2) Should I add a an attribute to request or session scope and use the result in tiles:put? 3) is there a better way to do it?