Composite View Problem

Hi Guys i am currently developing a mini webstore using patterns in J2EE.I have a template servlet that reads the sub views of the next screen from an xml file and set them on a screen bean then dispatch the bean to a template jsp for view composition,and that works up to so far .But the problem arises when one of the sub views composing the template must be the jsp that displays product information coming from template servlet in a form of a bean.I tried setting both the screen bean(a bean that defines subviews)and the product bean (a bean that carries product information to be displayed in the subview) as request attributes, then dispatched them to the template jsp but only two subviews appears and the last subview that is supposed to display product information does not show anything.Anyone who understands what i am saying please help, may you give me ideas on how can i accomplish what i am trying to do.

Many Thanks

[945 byte] By [Klaas2001a] at [2007-11-27 7:36:35]
# 1
Try your question here : http://forum.java.sun.com/forum.jspa?forumID=425 And please add blank lines between sentences/paragraphs so that people can actually read your message.
appy77a at 2007-7-12 19:17:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

So you are reading templates in some way.

Is this using struts tiles or some other templating mechanism?

At a guess what is happening is that there is an exception occurring as part of the ProductionInformation page.

Check your log/console for errors related to that page.

The reason it does not show up on the screen is probably that the buffer has already been flushed, and the response committed.

I know this happens with struts-tiles in that it flushes each tile as it goes.

The header view succeeds, but then page rendering stops abruptly because of an error in the "main" sub-view.

Maybe try displaying that troublesome view on its own?

Hope this helps,

evnafets

evnafetsa at 2007-7-12 19:17:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...