0
votes

I'm using Eclipse Version: Juno Service Release 1. When I create servlet, yes, there's a web.xml file. But it will not mapping servlet url automaticlly. Also with the InitParam.

I know that's because of the @WebServlet annotation.

Can I do something to make the Eclipse map the url in web.xml file, not using the @WebServlet annotation?

1

1 Answers

2
votes

Drop the Dynamic Web Module version back to 2.5 in Project Facets section of project's properties.