wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "URGENT::::::::Problem with Struts and Tiles" Watch "URGENT::::::::Problem with Struts and Tiles" New topic
Author

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

Anna
Greenhorn

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

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


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: http://aspose.com/file-tools
 
subject: URGENT::::::::Problem with Struts and Tiles