Quantcast

Usage of Tiles 2.2 with Struts 1.x compatibility - Reg

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Usage of Tiles 2.2 with Struts 1.x compatibility - Reg

Purushotham Reddy

Hi Team, 


We have started migrating our project (Web Application) which is running on Struts 1.x from Framesets to Tiles 2.2. 


As stated in the Apache tiles tutorial we have made few modifications in web.xml and added tiles-defs.xml to the project. But couldn't get the relation towards the struts-config.xml to the tiles-defs.xml.

 

Is Tiles 2.2 compatible with struts 1.x? Can some one please guide me in proper direction or provide me samples to integrate Tiles 2.2 in our Struts 1.x project?


Any kind of help would be appreciated at the earliest as we need to prepare a demo in a couple of days.


Thanks and Regards,

Purushotham Reddy
Aspire Systems || India
Tel:+91 -44-67404000
www.aspiresys.com

 

This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: Usage of Tiles 2.2 with Struts 1.x compatibility - Reg

Shrinivas Parashar
Tiles 2 is not Supported by Struts 1.3.x . 1.4.x was supposed to support tiles 2, but never released . But you can get struts-tiles2-1.4.0-SNAPSHOT.jar from Struts website, using which you can integrate Struts 1 with Tiles 2.

Regards,
Shrinivas

From: Purushotham Reddy [mailto:[hidden email]]
Sent: 26 July 2012 10:41
To: [hidden email]
Cc: [hidden email]
Subject: Usage of Tiles 2.2 with Struts 1.x compatibility - Reg

Hi Team,

We have started migrating our project (Web Application) which is running on Struts 1.x from Framesets to Tiles 2.2.

As stated in the Apache tiles tutorial we have made few modifications in web.xml and added tiles-defs.xml to the project. But couldn't get the relation towards the struts-config.xml to the tiles-defs.xml.

Is Tiles 2.2 compatible with struts 1.x? Can some one please guide me in proper direction or provide me samples to integrate Tiles 2.2 in our Struts 1.x project?

Any kind of help would be appreciated at the earliest as we need to prepare a demo in a couple of days.


Thanks and Regards,

Purushotham Reddy
Aspire Systems || India
Tel:+91 -44-67404000
www.aspiresys.com<http://www.aspiresys.com>
[cid:image001.jpg@01CD6B1B.0B517830]

This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Usage of Tiles 2.2 with Struts 1.x compatibility - Reg

Nicolas LE BAS-2
That's the easiest way if you can use a snapshot version.

Alternatively, you can setup TilesDispatchServlet as indicated here:
http://tiles.apache.org/2.2/framework/tutorial/advanced/utils.html

Then, instead of refering to tiles definitions by name in
struts-config.xml (<forward name="success" path="my.tile.definition"/>),
you can use their URL (<forward name="success"
path="/my.tile.definition.tiles"/>). It's a bit more work, but it
doesn't require any additional jar file.

Hope this help,
Nick

On 12-07-31 12:04 AM, Shrinivas Parashar wrote:

> Tiles 2 is not Supported by Struts 1.3.x . 1.4.x was supposed to support tiles 2, but never released . But you can get struts-tiles2-1.4.0-SNAPSHOT.jar from Struts website, using which you can integrate Struts 1 with Tiles 2.
>
> Regards,
> Shrinivas
>
> From: Purushotham Reddy [mailto:[hidden email]]
> Sent: 26 July 2012 10:41
> To: [hidden email]
> Cc: [hidden email]
> Subject: Usage of Tiles 2.2 with Struts 1.x compatibility - Reg
>
> Hi Team,
>
> We have started migrating our project (Web Application) which is running on Struts 1.x from Framesets to Tiles 2.2.
>
> As stated in the Apache tiles tutorial we have made few modifications in web.xml and added tiles-defs.xml to the project. But couldn't get the relation towards the struts-config.xml to the tiles-defs.xml.
>
> Is Tiles 2.2 compatible with struts 1.x? Can some one please guide me in proper direction or provide me samples to integrate Tiles 2.2 in our Struts 1.x project?
>
> Any kind of help would be appreciated at the earliest as we need to prepare a demo in a couple of days.
>
>
> Thanks and Regards,
>
> Purushotham Reddy
> Aspire Systems || India
> Tel:+91 -44-67404000
> www.aspiresys.com<http://www.aspiresys.com>
> [cid:image001.jpg@01CD6B1B.0B517830]
>
> This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
>
>

Loading...