Reputation: 227
could we create an object like implicit objects in JSP? I just want to know because this question was asked in the interview.
Upvotes: 2
Views: 117
Reputation: 155360
Yes, just subclass your JSP container to add new members that represent object instances that you want to expose to your pages or servlets.
Upvotes: 2