This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Thinking of writing customize Struts TextTag by extending it. And override the protected renderInputElement() available in BaseFieldTag.
Unfortunately this method is not accessible/visible in my class which extends BaseFieldTag.
I understand there is some kind for restriction for protected access - where the protected access level gives access to any class inside the same package or any subclass where it is declared. So according to the above said rule my class should have access to protected methods but it doesn't have it.
Help me to understand why i can't access the protected method in the sub-class belonging to different package.