• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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?
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic