General J2EE: deployment error
I have created a web application using NetBeans w/Tomcat and am attempting to deploy the application to WebLogic 8.1 and have encountered an error that I cannot get around.
The "<web-app>" descriptor looks like the following:
When I deploy the war file to Weblogic I get the following error:
"...Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'..."
If I reform the entry to be just "<web-app>" and add a doctype declaration the application deploys but all Expression Language strings appear as strings on the JSP pages as opposed to rendering the content indicated by the expression.
I'm not sure where to even begin to correct this? Any Ideas??
It turned out that the new doucument descriptor is not supported in WebLoggic 8.1. Had to revert to the following:
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
Thanks for updating the post with resolution. You saved my time. cheers shrini
Just got a doubt regarding the Version of the XML Name Space . Over the Shawn Martin's code it was on the Version 2.4 but over the Corrected code of urs it is the version is 2.3 . Will this mismatch have an impact?
Thanks in advance