Testing
This tests and compares functionality provided in kap.web.Info with JSP
object stuff. All references to "this" is the servlet which responds
to the HTTP request that prodeced this page.
Info.java stuff
Info.ContentName ( request ) = Info.java-tester.jsp
Info.ContentName ( request, this ) = Info.java-tester.jsp
Info.GetDefaultContent() = index.html
Info.GetDefaultContent ( request, this ) = index.html
Info.LocalContext ( request ) = /projects/kapow/testing/
Info.LocalContextURL ( request ) = /projects/kapow/testing/
Info.ContentPath ( request ) = /projects/kapow/testing/Info.java-tester.jsp
Info.ContentPath ( request, this ) = /projects/kapow/testing/Info.java-tester.jsp
Info.ContentPathURL ( request ) = /projects/kapow/testing/Info.java-tester.jsp
Info.ContentPathURL ( request, this ) = /projects/kapow/testing/Info.java-tester.jsp
Info.RootPath ( this ) = /home/kap/public_html
List of files in this dir
Info.GetDirList ( request, this ) =
- .#
- Directory Name Space
- Directory+Name+Plus
- Directory-Name-Dash
- File name space.txt
- Info.java-tester.jsp
- MenuIcon.jsp
- MenuPartial.jsp
- cookie-Info.jsp
- current-file-list.jsp
- empty-content
- file_name_underscore.txt
- filewriter.jsp
- icon
- index.html
- index.jsp
- localdirmenu
- localmenu
- old
- random-Test.jsp
- testingFileWriter.txt
- title.txt
- word-fun.jsp
List of content files in this dir
Info.GetContentList ( request, this ) =
- File name space.txt
- Info.java-tester.jsp
- MenuIcon.jsp
- MenuPartial.jsp
- cookie-Info.jsp
- current-file-list.jsp
- empty-content
- file_name_underscore.txt
- filewriter.jsp
- index.html
- random-Test.jsp
- testingFileWriter.txt
- word-fun.jsp
request stuff
request.getRequestURI() = /~kap/projects/kapow/testing/index.jsp
request.getContextPath() = /~kap
request.getServletPath() = /projects/kapow/testing/index.jsp
HttpUtils stuff
HttpUtils.getRequestURL ( request ) = https://kapowee.com/~kap/projects/kapow/testing/index.jsp
servlet stuff
this.getServletContext().getRealPath ( Info.LocalContext ( request ) ) =
/home/kap/public_html/projects/kapow/testing/
testing file system stuff
Making new file from Info.RootPath ( servlet ) [/home/kap/public_html] + Info.LocalContext ( request ) [/projects/kapow/testing/] :
file exists: true
# files: 23
|