Home > Back-end >  The setAttribute ServletContext is how to add different types of variables?
The setAttribute ServletContext is how to add different types of variables?

Time:09-20

Or tell me where is the source, I see the source code, I under tomcat website source code, the inside of the ServletContext is an interface, not implemented, is similar with a & lt; String, Object> The Map? I see the parameter type is the Object of the interface, the book's sample code also use casts, stupid brain, not sure don't see the code,
  • Related