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

Moderator: admin

Post Reply
max2fl
Posts: 33
Joined: Mon May 02, 2011 5:09 pm
Contact:

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

Post 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.

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

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

Post 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!

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests