File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes URGENT::::::::Problem with Struts and Tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "URGENT::::::::Problem with Struts and Tiles" Watch "URGENT::::::::Problem with Struts and Tiles" New topic

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


Joined: Aug 27, 2004
Posts: 22
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


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

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


If you understand something try explaning it to ur granma
Thara Visu
Ranch Hand

Joined: May 17, 2005
Posts: 87
Could you post ur struts config?

Thara<br />SCJP 1.4 96%<br />SCBCD 1.3 96%
I agree. Here's the link:
subject: URGENT::::::::Problem with Struts and Tiles
jQuery in Action, 3rd edition