I am trying out DisplayTag on a JSP web app. I am using a JSP/Servlet model whereby data is retrieved and serialized at the javabeans and passed to the JSP for display via servlets.
I got an error. At the 1st page, Displaytag shows the results w/o any formatting. What I saw was only black text over a white table. If I were to click on page 2, 3 etc, I would then see correctly the table colors as I wanted it to be.
If you click on page 2 and 3 and everything displays ok. What happens is you go back to page one after you've clicked on 2 or 3?
Joined: Apr 02, 2005
Originally posted by alan wamser: If you click on page 2 and 3 and everything displays ok. What happens is you go back to page one after you've clicked on 2 or 3?
Thank you for the patient replies
The app basically contains a JSP as the presentation layer, passing data into the servlet/beans for "Processing" before returning to the JSP a serialized bean model. The displaytag here loads the bean model and lists it out.
After the servlet processes, it navigates to the JSP, displaying page 1. This page 1 is faulty. But if you click page 2,3 etc it would be ok. And if you do click back page 1, it is still displaying fine. Its only the first page that is being displayed after the servlet's processing thats giving problems