Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

Problem editing the glassfish-web.xml file with Eclipse

$
0
0

I'm using Eclipse Kepler with the Oracle Enterprise Pack plugin installed. I created a new dynamic web project and specified Glassfish 4.0 as the target runtime. I also let eclipse create the web.xml which for GlassFish is actually glassfish-web.xml. So far so good, but when I try to edit the file, I get errors. The glassfish-web-app element type as well as the context-parameter types, etc, must be declared. Is there a particular editor that I should be using (none of the installed editors have an glassfish label on them). It might also be that the default DOCTYPE header is wrong (shown below). Any suggestions or corrections?

"-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN"
"http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">!doctype>

Thanks,
Rob


Viewing all articles
Browse latest Browse all 1091

Trending Articles