开发者

Error in <servlet-mapping> <url-pattern> in web.xml in Eclipse Helios for Java EE developers

开发者 https://www.devze.com 2023-02-05 22:44 出处:网络
I am providing an attribute() inin web.xml which is <servlet-mapping> <servlet-name>SpringMVCTutorial</servlet-name>

I am providing an attribute() in in web.xml which is

<servlet-mapping>
    <servlet-name>SpringMVCTutorial</servlet-name>
    <url-pattern&开发者_开发百科gt;*.htm</url-pattern>
</servlet-mapping>

but I am getting an error "The word 'htm' is not correctly spelled". Please let me know if I am making a mistake.

Thank you, Sid


Your XML file is fine. You can just ignore the warning and run it.

Since this Eclipse's builtin XML spellchecker can lead to big annoyments, I'd suggest to just disable it. Go to Window > Preferences > General > Editors > Text Editors > Spelling and untick the checkbox.

Error in <servlet-mapping> <url-pattern> in web.xml in Eclipse Helios for Java EE developers


That is probably a warning. Ignore it.

0

精彩评论

暂无评论...
验证码 换一张
取 消