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.
Originally posted by Ulf Dittmer: Are there any actual error messages?
Nope, no error messages in my error logs
Joined: Mar 22, 2005
Then it's probably the result of a faulty control flow; without seeing the code it's hard to guess at what might be going wrong.
Joined: Jan 30, 2006
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