You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by David Graham <dg...@hotmail.com> on 2003/02/04 04:18:58 UTC

RequestProcessor methods scope

The internalModuleRelativeInclude and internalModuleRelativeForward methods 
are both protected but their javadoc states, "This method is used internally 
and is not part of the public API. It is advice to not use it in 
subclasses.".

If they aren't part of the subclassing API, then I'll make these methods 
private because they're part of the Struts implementation only.

Dave





_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: RequestProcessor methods scope

Posted by Cedric Dumoulin <ce...@apache.org>.
 
  These methods are used by the Tiles subclasses, which are part of 
Struts ;-) The doc says that methods are not part of the API to prevent 
regular users to use them. Normally, users only need to overload 
doInclude() or doForward().

  Cedric

David Graham wrote:

> The internalModuleRelativeInclude and internalModuleRelativeForward 
> methods are both protected but their javadoc states, "This method is 
> used internally and is not part of the public API. It is advice to not 
> use it in subclasses.".
>
> If they aren't part of the subclassing API, then I'll make these 
> methods private because they're part of the Struts implementation only.
>
> Dave
>
>
>
>
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Re: RequestProcessor methods scope

Posted by Malik Recoing <m....@almerys.com>.
Tuesday, February 04, 2003 4:18 AM , David Graham
<dg...@hotmail.com> a écrit :
> The internalModuleRelativeInclude and internalModuleRelativeForward
> methods are both protected but their javadoc states, "This method is
> used internally and is not part of the public API. It is advice to
> not use it in subclasses.".
>
> If they aren't part of the subclassing API, then I'll make these
> methods private because they're part of the Struts implementation
> only.

This methodes are overloaded in TilesRequestProcessor at least, and inside
some calls to super methods are performed.

But if this methods can be turned into private why not just remove it ?

Why ? First, according to me, they are bugged as I try to describe with my
bad english in the bug #16603. Second action.input and action.forward should
be loaded as any other forward of the ActionConfig.forwards map, this way
the module-relatives paths may all be computed the same way.

This two methods are exception to the rule so it is not a good idea IMO.

Malik.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org