![]() ![]() Look for (and change) the value of the urlPatterns element. To change the url-mapping for a Servlet 3.0 servlet, the first place to look is in the source code for the servlet. ![]() You should read through the Servlet 3.0 spec from the jcp.org site to get a bit more explanatory text. You can use annotation to provide all the data that had been included in the web.xml file. Have you created Dynamic Web Project and created servlet and still are you missing web.xml file under \WebContent\WEB-INF\.?Įclipse allows you to NOT create a web.xml file when you create Dynamic Web Project for Java EE 6, since the Java EE 6 spec (in general) and Servlet 3.0 spec (in particular) attempt to de-emphasize deployment descriptors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |