Hi again,

On 11 Jan 2008 at 12:17, Rob Hills wrote:

> I bit the bullet last night and upgraded my app from AppFuse 2.0 to 2.0.1 
> (Struts 2 Basic Archetype + Core Classes + Hibernate).  Since 
> then I've run into a problem with one of my JSPs.  It was working prior to 
> the update but now throws the following error:
> 
> javax.servlet.ServletException: 
> /WEB-INF/pages/deliveriesOverviewList.jsp(35,2) According to TLD or attribute 
> directive in tag file, 
> attribute headerKey does not accept any expressions
> 
> This exception is referring to the headerKey attribute of a s:select tag.  My 
> headerKey attribute does indeed have an expression, which 
> was working before and hasn't been changed.  From my reading of the Struts 
> documentation, headerKey is "evaluated" and therefore 
> should support expressions so I'm wondering if there's something else funny 
> going on.
> 
> I've Googled the error and turned up nothing helpful.  If I replace my 
> expression with a constant value (eg -1), I then get the same type 
> of error complaining about an expression in the "name" attribute of a s:text 
> tag (which also has an expression that was working before I 
> updated).
> 
> Any suggestions gratefully received.

Using the maven-repository-browser I mentioned in a separate email, I've 
established that Struts 1.2.x appears to be pulled into my app.  Displaytag is 
showing a dependency on Struts 1.2.7 and spring-orm and spring-web are 
showing dependencies on Struts 1.2.9.

So, I thought that maybe there was an old Struts jar lurking around that was 
causing my problem.  However, browsing through the jars in my deployed 
WEB-INF/lib directory didn't turn up anything obvious.

I'm still totally mystified.  I've been back through my POM, comparing it with 
one from a fresh AppFuse 2.0.1 + Struts 2 basic app and although there are 
differences of course, none is obviously causing my problem.

Are the error messages I'm seeing valid (IOW, I can no longer use 
expressions where I was previously using them) or do I have an old version 
of Struts lurking somewhere, or is there some other cause for this problem?

Cheers,
Rob Hills
Waikiki, Western Australia
Mobile +61 (412) 904-357
Fax: +61 (8) 9529-2137

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

Reply via email to