WebKit Examples

View the source of a WebKit servlet.

For each WebKit example, you will see a sidebar with various menu items, one of which is "View source of example". This link points to the View servlet and passes the filename of the current servlet. The View servlet then loads that file's source code and displays it in the browser for your viewing pleasure.

Note that if the View servlet isn't passed a filename, it prints the View's docstring which you are reading right now.