WPI Web Ware 2004 Summer
Course Documents
Assignments
Validation
                                          
Printer Friendly Version
Examples

Intro ] Date And Time ] Date And Time.jsp.code ]
Directory Listing ] Directory Listing.jsp.code ] [ File Paths ]
Forms-Get ] Forms-Post ] Forms With Code ]
Header And Cookies ] Header And Cookies.jsp.code ] Parameter Separator Delimiter Correct ]
Parameter Separator Delimiter Wrong ] Regular Expressions ] Request Parameters ]
Request Parameters.jsp.code ] Top Rated Music.xml ] UserBean.java.code ]
XML Reader ] XML Reader.jsp.code ] XML Reader Methods ]
XML Reader Methods.jsp.code ] albums.xml ]

Basic Valid Pages ] [ Cookie Test ] [ Database ] [ Dynamic Layout ] [ Layout ] [ User Log On ]

request object
request.getServletPath() = /documents/examples/index.jsp
request.getContextPath() =
request.getRequestURI() = /documents/examples/index.jsp
servlet object
this.getServletContext().getRealPath ( "" ) = /home/kap/web-ware-2004-summer/

this.getServletContext().getRealPath ( request.getServletPath() ) = /home/kap/web-ware-2004-summer/documents/examples/index.jsp

this.getServletContext().getRealPath ( request.getContexPath() ) = /home/kap/web-ware-2004-summer/
this.getServletContext().getRealPath ( request.getRequestURI() ) = /home/kap/web-ware-2004-summer/documents/examples/index.jsp

by: Keith A. Pray
Last Modified: July 12, 2004 5:15 PM
© 2004 - 1975 Keith A. Pray.
All rights reserved.

Current Theme: 

Kapowee Hosted | Kapow Generated in 0.007 second | XHTML | CSS