Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Problem while Struts 2 and Tiles 2 integration.

Dave Newton

2007-02-14

Replies:

--- Abhijeet Kahale <abhi.pspl@(protected):
> Can anyone please help?
> I am waiting for a response...

Oh, my bad.

> > I am using *struts2-tiles-plugin-2.0.5.jar* , *
> > tiles-api-2.0-20070130.184344-3.jar* and *
> > tiles-core-2.0-20070130.184344-3.jar* for the
> integration. (but the struts
> > core jar I am using is *struts2-core-2.0.1.jar *)

Why are you using 2.0.1 core and 2.0.5 tiles plugin?
This strikes me as being a bad idea, although I'll
admit trying it never really crossed my mind.

> > *<Exception>*
> >   *Messages*: I/O Error reading definitions.

That sure looks suspicious, huh.

> > The snippet of my tiles-def file is
> > *<snip>*
> > <tiles-definitions>
> >   <definition name="blank"
> > [...]

What's the name of your tiles configuration file and
where is it located?

> > I even configured the
> *org.apache.struts2.tiles.StrutsTilesListener* in
> > the web.xml
> > Can anybody help me out?
> >
> > One more thing I want to know is which tiles
> > taglib should i use?

The one that comes with Tiles 2.

>> Then I tried without specifying any tld
configuration in
> web.xml at all.

Good; that hasn't been necessary for awhile now.

d.




____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.