Nikhil, Any version of Tiles/Struts up through version 1.2.4 only allows for a Tile to be accessed inside Struts. In the upcoming version 1.3.X branch, tiles will be in a stand-alone jar so it MIGHT include a filter or web.xml mapping instructions to allow external (without requiring Struts) access to a tile. I checked the SVN for the tiles standalone but I don't see anything like that in the Trunk but there is something in the Sandbox. See the example servlet code at: http://svn.apache.org/viewcvs.cgi/struts/sandbox/trunk/tiles/src/java/org/ap ache/tiles/servlets/TilesServlet.java?rev=307013&view=markup
For the moment, your only option is to forward to a JSP and have that JSP include the tile definition (so the tile will show 'inside' that JSP). That makes a tile just like an html page or a JSP. See the Dumoulin Tiles Advanced Features PDF (on the main site under the Tiles Tag Developer Guide) if you need examples of how to make a JSP pull in and display a tile definition (or previous list posts, some of which were by me months ago). Regards, David -----Original Message----- From: Nikhil Walvekar [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 1:48 AM To: Struts Users Mailing List Subject: Redirect to tile Hi All, I have one question. There is one action <action path="/*actionPath*" name="someForm"> <forward name="success" path="*tileName*" redirect="true"/> </action> in tiles config file I have written definition for *tileName*. Now when this action is called it displays proper page, but how redirect to a tile works, because in the adress bar stilll the name for action is displayed but if we redirect to another action that action's name is displayed in the adressbar. Can we access tiles directly without action???? Thanks & Ragards, -- Nikhil --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]