Page 1 of 1

About Question com.enthuware.ets.scwcd.v5.2.148 :

Posted: Wed May 04, 2011 10:14 am
by max2fl
Hi,

I think the explanations(and variants) isn't correct:

Remember:
If we extend BodyTagSupport, then we use BodyTagSupport.getPreviousOut() to get the enclosing JspWriter.


I can't use BodyTagSupport.getPreviousOut(), I can use:
this.getPreviousOut() or getPreviousOut() if I extend BodyTagSupport, as getPreviousOut() isn't static method in BodyTagSupport.

Re: About Question com.enthuware.ets.scwcd.v5.2.148 :

Posted: Wed May 04, 2011 8:04 pm
by admin
None of the options are valid static method. It is just specifying the class name in which the method exist. But your point is valid, it may cause confusion.

This has been fixed.

Thanks for the feedback!