I think Al meant he raised the issue on the dev list in response to your message, so that it will be fixed in the next release. It was certainly an unfortunate omission, though.

You can help prevent such problems in the future, though, by watching the Struts dev list for announcements of new builds and trying them out in your environment. The more users who help out in that way, the better our chances are of catching such problems before release.

IIRC, the Tiles plugin for Struts 2 is still considered 'experimental' because Tiles itself hasn't yet had a GA release. I couldn't confirm that with a quick glance through the Struts 2 or Tiles sites, though, so I may be mis-remembering (I don't use Tiles with Struts 2 at the moment). Assuming that's true, however, I would advise keeping an eye on the Tiles dev list so you can track changes that may impact your deployment -- and perhaps raise your concerns if you feel they're over-burdensome.

L.

Ray Clough wrote:
I got it to work with 2 steps. 1) I downloaded the 2.0.3 version of Tiles. Note that this requires knowing the download url, because the current Tiles
download page is for v2.0.4 only.  The difference in the download url is
only the version number.  2)  The Tiles DTD seems to have changed.  The
'put' tag is now 'put-attribute'.  Of course, that is a Tiles issue, not a
Struts issue.

As a commentary, omitting an important and required dependency from a
well-understood sister-project seems to argue some sort of insanity in the
Struts-2 release process.  (you say that you had previously raised the
issue, yet they still failed to include it.)

- Ray Clough




Al Sutton-4 wrote:
Grab the distribution from tiles.apache.org and copy the jsp jar into your
webapp.

This is something I raised on the dev list and the jar will be part of
future builds.

-----Original Message-----
From: "Ray Clough" <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: 6/13/07 9:00 PM
Subject: Re: Struts 2.0.8 upgrade question


Nope.  It seems pretty clear that something is missing.  Here is the
error:

java.lang.ClassNotFoundException:
org.apache.tiles.jsp.context.JspTilesContextFactory

For Tiles 2.0.4, that file is found in the file "tiles-jsp-2.0.4.jar.  I
don't know about Tiles 2.0.3 that is bundled with Struts-2.0.8, but 2.0.8 does not include a 'tiles-jsp-2.0.3.jar' file.
- Ray Clough



Al Sutton-4 wrote:
Have you checked the old version of tiles has been removed?, the version shipped with 2.0.6 was a pre-release of Tiles 2 and the internal APIs changed, I had some problems until I realised my appserver was caching the old tiles jars and the problems were comming from an API mismatch.

Ray Clough wrote:
It doesn't seem to be a straight forward upgrade from 2.0.6, at least so
far
as Tiles is concerned.  We get a bunch of different exceptions,
depending
on
what we try to do.  Each fix seems to break something else, though.

Advice?

- Ray Clough
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
View this message in context:
http://www.nabble.com/Struts-2.0.8-upgrade-question-tf3917170.html#a11107695
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to