Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet annotation

 
Miku Ranjan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How I can create a custom annotation in servlet.

Thanks
Miku
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For what purpose?
 
Miku Ranjan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,
For creating a custom servlet annotation how I can do ?
 
Miku Ranjan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hebeart,
Thanks for the link .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Miku Ranjan wrote:Hi Bear,
For creating a custom servlet annotation how I can do ?

I still don't know what you mean by a "servlet annotation". You can create your own annotations for any class (or field, or whatever). Whether you use it with servlets or not is up to you.
 
Jerome Gao
Greenhorn
Posts: 13
Java MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:
Miku Ranjan wrote:Hi Bear,
For creating a custom servlet annotation how I can do ?

I still don't know what you mean by a "servlet annotation". You can create your own annotations for any class (or field, or whatever). Whether you use it with servlets or not is up to you.


Say well,a annotation is not about the type of class,
Whether you use it with servlets or not is up to you,No matter whether you use servlets can use annotations


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic