Mark Thomas wrote On 11/30/05 13:42,:
> Jan,
> 
> This looks good to me.
> 
> I have patches ready to go for TC4 and TC5. They are based on the 
> existing code but implement the spirit of Bill's proposed solution and 
> add handling for crossContext.
> 
> I'll give people a little longer in case they want to add to this 
> discussion and then I'll commit them.

Sounds good!

Thanks, Mark!


Jan


> 
> Mark
> 
> Jan Luehe wrote:
> 
>>I've rewritten the javadocs of getContext(), as follows:
>>
>>    /**
>>     * Returns the <code>ServletContext</code> object to which the
>>     * specified URI has been mapped.
>>     *
>>     * <p>This method allows servlets to gain access to foreign servlet
>>     * contexts deployed on the same container, from which
>>     * [EMAIL PROTECTED] RequestDispatcher} objects may be obtained.
>>     * A servlet context is considered foreign to a servlet if it is
>>     * different from the servlet's own servlet context.
>>     *
>>     * <p>The given URI must be begin with "/".
>>     *
>>     * <p>A security conscious servlet container may return
>>     * <code>null</code> if the specified URI maps to a foreign context.
>>     *
>>     * @param uripath The URI to map
>>     *
>>     * @return The <code>ServletContext</code> to which the given URI
>>     * has been mapped, or null if the given URI does not map to any of
>>     * the servlet contexts deployed on the container, or if the URI
>>     * maps to a foreign context and access to foreign contexts has been
>>     * disabled by the container
>>     *
>>     * @see RequestDispatcher
>>     *
>>     */
>>    public ServletContext getContext(String uripath);
>>
>>
>>If we all agree, I will send this proposal to the Servlet EG.
>>
>>
>>Thanks,
>>
>>
>>Jan
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to