[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Classpathx-discuss] [servletapi] javax.servlet.jsp.PageContext: hel
From: |
Nic |
Subject: |
Re: [Classpathx-discuss] [servletapi] javax.servlet.jsp.PageContext: help needed |
Date: |
10 Jul 2003 14:04:09 +0100 |
Arnaud Vandyck <address@hidden> writes:
> I commit modifications to this class (javax.servlet.jsp.PageContext) but
> I'm not sure it will work properly. The signatures are corrects,
> compilation is good but I did not try the classe actually.
>
> Here is the changelog ONLY for this class ;)
>
> * (include): IllegalArgumentException, SecurityException do not need to
> be in the signature, only in the documentation
>
> * (forward): IllegalArgumentException, IllegalStateException,
> SecurityException do not need to be in the signature, only in the
> documentation
>
> * (include): String path, boolean flush: new in JSP 2.0
>
> * (handlePageException): Exception: [javadoc] throws
> NullPointerException, SecurityException
>
> * (handlePageException): Throwable: [javadoc] throws
> NullPointerException, SecurityException
>
> * (popBody): new in JSP 2.0 but don't know if the implementation is
> good! Can someone check?
>
> * (PageContext): removed a lot of methods that I did not see in the
> current specifications.
>
> * (PageContext): extends JspContext (JSP 2.0)
>
> * (PAGE_SCOPE): 1
>
> * (REQUEST_SCOPE): 2
>
> * (SESSION_SCOPE): 3
>
> * (APPLICATION_SCOPE): 4
>
> NOTE: I don't know if we must keep the same values as the original jsp
> api. If we do, we have to replace the values in the sources by
> these ones. BUT: these values are defined in the parent class, so
> we can also just erase the four properties in this class.
>
> * (getSession): is an abstract method!
>
> * (getPage): new abstract method
>
> * (getRequest): new abstract method
>
> * (getResponse): new abstract method
>
> * (getException): is an abstract method!
>
> * (getServletConfig): is an abstract method!
>
That's all fine.
Except for the bit about the SCOPE variables:
We don't need to worry about what the values are. It's the variable
name that's important, not it's runtime value.
You haven't looked at Sun's source to find them out have you?
Nic