• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you post ur struts config?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic