Details
Description
This ones a bit annoying, but hopefully easy to fix. While testing the migration from an Eclipse+Ant+Tomcat5.5 environment to doing a (side-by-side) Eclipse+Maven+JettyPlugin I've run across what appears to be an "AnalSpec" problem. It appears Jetty and it's shipped jasper compiler seems to mandate spaces inside some of the tag definitions.
So this doesn't work:
<c:set var="href" value="$
{(empty href)?'#':href}"/>
But this does:
<c:set var="href" value="$
{(empty href) ? '#' : href}"/>
All 3 spots must have spaces for this to work.
Doing some browsing, it appears Tomcat 6.x initially had this problem too:
http://issues.apache.org/bugzilla/show_bug.cgi?id=42565
While the workaround on a tag by tag basis is reasonably trivial, it's a bit of a PITA for a lot of tags like what we have.
So happy to leave the bug as minor but if there was a "PITA" field in JIRA I'd mark it as "haemorrhoid" level.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jan Bartel [ janb ] |
| Assignee | Jan Bartel [ janb ] | David Yu [ dyu ] |
| Assignee | David Yu [ dyu ] | Jan Bartel [ janb ] |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 8.0.0.M0 [ 16332 ] |
why oh why is there not a jasper JSP engine that we can consume as a maven artifact????
I'll look to see if we can get this patch into the fork that we patch to build our JSP. Failing that, we'll see if we can patch it ourselves.
Not sure this will make it for 6.1.12.... but will try