On Thu, 21 Jun 2001, Jonathan Asbell wrote:

> Wow.  I couldnt find this in the java docs.  How would we otherwise know?
> 

Which Javadocs did you look at?  The Javadocs for the JDK, for example,
only document what's in the JDK -- not any of the optional packages.  Each
add-on Java API (servlet, JSP, JavaMail, ...) has their own set of
Javadocs.

The servlet 2.2 spec is available at:

  http://java.sun.com/products/servlet/download.html

and defines the semantics of all the servlet API calls (javax.servlet and
javax.servlet.http).  There's a corresponding download of the Javadocs (in
2.3, the spec includes the Javadocs in the text).

You might also want to download the JSP 1.1 spec, available at:

  http://java.sun.com/products/jsp/download.html

It has corresponding Javadocs as well for the javax.servlet.jsp and
javax.servlet.jsp.tagext classes that you'll see used in Struts custom
tags.

Craig


> 
> ----- Original Message -----
> From: "Sukachevin, Stoehr" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 21, 2001 7:30 AM
> Subject: RE: javax.servlet.include.path_info ????
> 
> 
> > Check the Java Servlet Spec API.  v2.2 says:
> >
> > When a servlet is being used from within an include, it is sometimes
> > necessary for that servlet to know the path by which it was invoked and
> not
> > the original request paths. The following request attributes are set:
> >
> > javax.servlet.include.request_uri
> > javax.servlet.include.context_path
> > javax.servlet.include.servlet_path
> > javax.servlet.include.path_info
> > javax.servlet.include.query_string
> >
> > -- Stoehr
> >
> > -----Original Message-----
> > From: Jonathan Asbell [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, June 21, 2001 12:20 AM
> > To: [EMAIL PROTECTED]
> > Subject: javax.servlet.include.path_info ????
> >
> >
> > In the ActionServlet...
> > javax.servlet.include.path_info
> > Anyone know what this is or where it comes from?
> >
> >  // For prefix matching, we want to match on the path info (if any)
> >  path =(String) request.getAttribute("javax.servlet.include.path_info");
> >
> 
> 

Reply via email to