Hi,
The explanation for this question states that:
"Parameters are always defined in web.xml or come as a part of request (there is no method like setParameter() in any interface) where as attributes can be set programmatically using setAttribute()"
Isn't there a ServletContext.setInitParameter(name, value) method though?
Kind Regards
About Question enthuware.jwpv6.2.918 :
Moderators: Site Manager, fjwalraven
-
- Posts: 5
- Joined: Sat Apr 05, 2014 5:44 am
- Contact:
-
- Site Admin
- Posts: 10389
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.918 :
You are right. This used to be true before 3.0 but now that you can define a servlet dynamically, you can set the parameters as well. The explanation has now been updated.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
Who is online
Users browsing this forum: No registered users and 1 guest