0

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

<servlet-mapping>
    <servlet-name>SpringMVCTutorial</servlet-name>
    <url-pattern>*.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

2 Answers 2

10

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.

alt text

Sign up to request clarification or add additional context in comments.

1 Comment

@Sid - you'd better accept BalusC answer. It will save you further headaches as well ;)
4

That is probably a warning. Ignore it.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.