hi,
i think you can run with:
-Dservlet.version=2.3
but, in 0.5.5, this still did not generate a deployable war for websphere
5.1. we had to create an alternative generateWebXml task (from
Package.groovy) to 'fix' the web.xml. (Remove namespace declaration, and add
2.3 DOCTYPE).
I think the namespace declaration, at least for 0.5.5, is hardcoded in the
code that generates the web.xml, and ignores the servlet.version setting.
websphere 5.1 chokes on this.
HTH,
wouter
Johan Chaves Saborío wrote:
How can I deploy a grails war into a websphere 5.x server. The problem I'm
having is that grails generates the web.xml based on the servlet 2.4 api,
but websphere is trying to use the servlet 2.3 api.
Is there any way to create the grails application with the servlet 2.3
api?