• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URGENT::::::::Problem with Struts and Tiles

 
Anna
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I am using the Tiles framework with struts. I have a problem, whenever the tiles pages are accessed the filters are called twice. The jsp's are like this

Create.jsp

<%@ taglib uri="/WEB-INF/struts-tiles" prefix="tiles" %>
<tiles:insert definition="default.theme" flush="true">
<tiles ut name="body" value="/view/CreateContent.jsp")%>"/>
</tiles:insert>

and the CreateContent.jsp is the jsp with the form element. The web.xml also contains the filter defined only once. I had also extended the TilesRequestProcessor where i am doin some logging activity. My action always send the forward to the jp with the tiles:insert pages. Everytime the filters are getting called twice. Please help me out as i have no clues why this is happening?? Any help will be apriciated.

Thanks and Regds

Anna
 
Thara Visu
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post ur struts config?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic