File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Annotations in servlets

 
Swapna latha
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is annotations in servlets ? is it related to annotations in java 1.5 version.

 
Kumaravadivel Subramani
Ranch Hand
Posts: 171
Java Linux Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Annotations are introduced in java 1.5 and the same annotation processing technique has been implemented in servlets to support annotations for configuring and other process. This reduced the burden of configuring xml files and more. For example @WebServlet,@InitParam etc.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64178
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlet annotations were introduced with Servlets 3.0 and are not available to earlier versions. See the Servlets 3 Spec for information.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic