Re: SkipPageException -- where?

From: John C. Bollinger (jobollin_at_indiana.edu)
Date: 03/17/05


Date: Thu, 17 Mar 2005 17:33:48 -0500

debedb@gmail.com wrote:

> Hi all,
>
> So I was trying to look at the *_jsp.java sources created
> by Tomcat 5.0 (so I can step through them for debugging),
> and I couldn't compile those because they had SkipPageException,
> which was not in my compile-time classpath.
>
> Now, a search for it gave me a Javadoc page
> on sun.com:
> http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/SkipPageException.html
> but it was nowhere to be found in any of the servlet.jar
> files around (maybe I am wrong and I have no servlet.jar
> from 1.4). I eventually found it in jsp-api.jar in
> common/lib of my tomcat installation.
>
> So the question is -- is it Tomcat's own extension (even
> though it's javax.servlet...) or it is a part of Sun's
> distribution?

It is a documented part of the JSP branch of the servlet API. The
implementation you found is provided by Tomcat, just like the rest of
Tomcat's implementation of the servlet API. In version 5 Tomcat broke
up its servlet API implementation among two (or is it three?) different
jars. Sun provides the specs and an API. Application servers provide
their own API implementations.

-- 
John Bollinger
jobollin@indiana.edu


Relevant Pages

  • Re: Easy-to-understand Servlet container?
    ... I usually use Tomcat, but I use Jetty all the time for unit testing. ... >as long as it gets the main Servlet API correct. ... >neccessarily the same design goals as a servlet container for ...
    (comp.lang.java.programmer)
  • Re: moving resources from server.xml into the webapp
    ... The deployment ... >in Servlet API 2.4. ... But the way Tomcat defines datasources to begin with is Tomcat ...
    (comp.lang.java.programmer)
  • Re: Eclipse
    ... >> Servlet API, and then add that to the build path for your servlet ... > relevant classlibraries has to be imported into Eclipse. ... Tomcat, ... plugins to Eclipse to launch web apps from within the IDE, ...
    (comp.lang.java.programmer)