Giter Site home page Giter Site logo

Comments (5)

glassfishrobot avatar glassfishrobot commented on July 27, 2024

from servlet.

glassfishrobot avatar glassfishrobot commented on July 27, 2024

@glassfishrobot Commented
Reported by shijas

from servlet.

glassfishrobot avatar glassfishrobot commented on July 27, 2024

@glassfishrobot Commented
mode said:
While we did provide programmatic APIs for adding servlets, filters and listeners, we have not exposed a full API for processing every element in the descriptor via APIs. Note that the programmatic APIs are not a complete replacement for the descriptor. It still makes sense to specify certain aspects via descriptors - just like in the case of annotations.

from servlet.

glassfishrobot avatar glassfishrobot commented on July 27, 2024

@glassfishrobot Commented
arjan_t said:
Ideally, every element (with some exceptions) would be settable in 3 ways, namely via:

  • The traditional descriptor
  • An annotation
  • A high level programmatic API

Note that JSF 2.2 introduced a method that's between the descriptor and the programmatic API: a call-back in which the descriptor is exposed as a DOM tree and can be programmatically manipulated. See http://arjan-tijms.omnifaces.org/p/jsf-22.html#533 You could call this a low level programmatic API.

It might make sense to adopt the JSF 2.2 method for web.xml.

from servlet.

glassfishrobot avatar glassfishrobot commented on July 27, 2024

@glassfishrobot Commented
This issue was imported from java.net JIRA SERVLET_SPEC-50

from servlet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.