Results 1 to 2 of 2
  1. #1
    akiravelmont is offline Member
    Join Date
    Mar 2011
    Location
    bangalore
    Posts
    61
    Rep Power
    0

    Default Could anyone explain me how the annotations are picked by tomcat server?

    Hi friends,

    Recently i am started using struts2 first i worked with xml based configuration then i started using annotations, while using xml tomcat using any parsers to read the xml configurations to able to get the values, but i am unable to get how the annotations are able to read by tomcat server. i am completely loosing my mind. please any one explain me how things are going on.

  2. #2
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,651
    Rep Power
    5

    Default Re: Could anyone explain me how the annotations are picked by tomcat server?

    Why do you think Tomcat does it, and not Struts itself? What configuration are you talking about?

    I don't know how Struts/Tomcat does it, I use the wonderful Google Reflections API myself to easily scan for annotations.

    reflections - java runtime metadata analysis - Google Project Hosting

Similar Threads

  1. tomcat server not found
    By whatif in forum Java Servlet
    Replies: 11
    Last Post: 12-17-2012, 10:33 AM
  2. Tomcat Server Error
    By Ms.Ranjan in forum Advanced Java
    Replies: 2
    Last Post: 09-28-2010, 04:59 PM
  3. Reg Tomcat in Itaniumn Server
    By ars3181 in forum Advanced Java
    Replies: 0
    Last Post: 11-24-2008, 05:53 AM
  4. Tomcat Server : Error filterStart
    By kasipandian in forum Web Frameworks
    Replies: 0
    Last Post: 03-30-2008, 03:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •