About Question enthuware.jwpv6.2.918 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
niallcol
Posts: 5
Joined: Sat Apr 05, 2014 5:44 am
Contact:

About Question enthuware.jwpv6.2.918 :

Post by niallcol »

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

admin
Site Admin
Posts: 10389
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.918 :

Post by admin »

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest