I have noticed that it takes a long time for the pages in my app to load the first time. The action class executes quickly and it takes at least 6 to 10 seconds to render the page after that. I am using
struts and jstl tags (struts 1.2.9) and no custom tags.
My application uses tiles. And each tile in a
jsp imports struts/jstl tag libraries. Each jsp page has about 4 to 5 tiles. I understand that the first time the page is called, it is compiled. But isn't 10 seconds long for displaying a page?
Is it the taglib imports in each tile that is slowing down the process? Is there anyway i could import the taglibs only once instead of calling them for each tile in the layout?
Thanks