Virtuoso Server Pages are the equivalent of a stored procedure
in a Web page that is compiled when it is first read by the
Virtuoso server. Virtuoso detects when the '.vsp' file is modified
and recompiles the procedure. Since VSP is essentially Virtuoso PL
in a Web page you can do anything that PL can, either directly or
from interaction with the user. VSP gives you the advantage of not
having to worry about making connections to the database. You also
avoid the overhead of RPCs because the HTTP server is built into
Virtuoso. When you write a VSP page the connection is automatic
since you are already in Virtuoso.
VSP is server script and is therefore executed in the server as
and server script cannot directly interact but can supplement each
manipulate something that already exists on the page but you cannot
Page flow control can be managed using FORMs. The state of the
page is defined in form fields such as INPUT boxes and TEXTAREA
boxes and then passed to the next form or page using POST.