Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts-Tiles Reloading Problem

 
ujjval pandya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I am using Struts-Tiles Framework in my webproject.
I want to reload the tiles-def.xml file at run time.

I have included the following servlet in struts-config.xml.

<action path="/reload" type="org.apache.struts.tiles.actions.ReloadDefinitionsAction"/>
<action path="/view" type="org.apache.struts.tiles.actions.ViewDefinitionsAction"/>

But, tiles-def is not reloaded at run time.

Can anyone help in this? If i modify tiles-def.xml file at run time, then how can i reload it without reloading application or server ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic