Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Object Mapping


The ASP servlet interface is a Java package with classes that map to servlet interfaces. The package is named com.sun.asp. The ASP servlet interface is not a full-fledged servlet container, but instead provides a mapping between servlet container objects and ASP objects. The following table illustrates that mapping.

Servlet Container Object
ASP Intrinsic Object
HttpServletContext
Application
HttpServletRequest
Request
HttpServletResponse
Response
HttpSession
Session

Calls made to the servlet container object are handled by the equivalent ASP object (if possible). If the functionality is not supported in ASP, an exception is thrown or the appropriate error code is returned. This mapping allows servlet methods that depend on servlet container objects to continue to function when called via Chili!Beans. However, the servlet will receive no calls to its Listener methods from the ASP Server.

See also:

Programmatic Access



ContentsPreviousNextIndex