About Question enthuware.jwpv6.2.678 :

Moderator: admin

Post Reply
RumiJal
Posts: 9
Joined: Wed Jul 12, 2017 10:51 am
Contact:

About Question enthuware.jwpv6.2.678 :

Post by RumiJal »

In the explanation, in the last line:
you should call: this.getServletConfig().getServletContext()

Or you should just call this.getServletContext() directly.

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

Re: About Question enthuware.jwpv6.2.678 :

Post by admin »

Yes, you could do that as well because HttpServlet (which is a parent class for all translated JSP pages) implements javax.servlet.ServletConfig, which has getServletContext method.

-Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest