struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <>
Subject Re: override Struts BaseFieldTag.renderInputElement
Date Tue, 28 Jun 2011 14:29:35 GMT
Are you receiving a compiler error or runtime error? Please provide
the output/errors/etc. that lead you to believe you don't have access.


On Tue, Jun 28, 2011 at 5:34 AM, prithivirajan
<> wrote:
> I was thinking for 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.
> --
> View this message in context:
> Sent from the Struts - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message