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
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35224
7
posted
0
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.
alan wamser
Ranch Hand
Joined: Jan 30, 2006
Posts: 41
posted
0
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?
kwyap me
Greenhorn
Joined: Apr 02, 2005
Posts: 8
posted
0
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?
Hi
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