HTTP Fun and HTML Processing
JudoScript is an effective HTTP client and server language. HTTP requests can be
made to servers with any HTTP headers and content. In particular, cookies
can be examined, saved and loaded. For HTML pages, JudoScript has do..as
html event-driven statement that processes the document and treats
each tag as an event, for which actions can be specified. There are
special events like BEFORE, AFTER and TEXT.
JudoScript is also a HTTP server language because of the startServer()
and acceptHttp() system functions. Combining client and server
capabilities, we get HTTP proxy servers, useful to debug web applications
and hack the web. The JudoScript Server Page (JUSP) is another
server-side scripting technology. JUSP pages are identical to JSP and
ASP to embed code in the pages. Servlet wws.judo.jusp.JuspServlet
runs the JUSP pages. It provides a few predefined variables in the code
and a couple of Java classes as a convenience.