Hi Patrick,

FYI I'm still using 1.0.1 for now ...

Patrick Huber wrote:
I don't think Pluto has much to do with the web.xml file. The primary
descriptor for a Portlet Container is portlet.xml.

Right, but when Pluto deploys a war file (i.e. from the maven deploy goal) it will create or modify your existing web.xml file to add the Pluto wrapper servlet definitions.

Did you try to use a 2.4 web.xml already?

Yes, I tried and it didn't work.

In my portlet View I'm using JSTL 1.1. JSTL 1.1 "features" only seem to work if there is a "version=2.4" attribute in the <web-app> element of the web.xml (I guess this is a Tomcat thing?). When the pluto deployer rewrites the web.xml, it drops my version attribute and my portlet breaks b/c JSTL 1.1 features don't work any longer.

Based on what I've been able to figure out, I think just a simple change in the Castor mapping files will preserve version attribute if it is present in the source web.xml.

I did some much deeper digging; for example I was able to get Pluto to marshal and unmarshal a servlet 2.4 descriptor file that validated against the J2EE 2.4 XSD (right now some of the elements in the castor mappings are out of order, the castor mapping files aren't able to support namespaces, and the OutputFormatter of AbstractCastorDescriptorService uses the incorrect Doctype etc).

I've benn using 2.4 for a
while now and had no problems -- with pluto 1.1. Actually, the Servlet
Container has to be ready for 2.4.

I don't know about Pluto 1.1, but IIRC JSR-168 only requires 2.3, not 2.4.

Thanks for the feedback. I think I'm going to go the simplest route and just try to modify the castor mapping file to preserve a version attribute on the <web-app> element.

Elliot


Just try it, I see no reason why this shouldn't work.

Patrick

2006/2/19, Elliot Metsger <[EMAIL PROTECTED]>:

Hi,

What is everyone's take on supporting 2.4 webapp descriptors with pluto
1.0.1?

I'm working on some code for it right now, b/c of some local
requirements that I have.

Is it worth it to put this type of support into 1.0.1 when development
on Pluto 1.1 is moving along?

Thanks for your feedback,
Elliot




--
"I love deadlines. I like the whooshing sound they make as they fly
by." -- Douglas Adams

Reply via email to