1. A non-transitory computer-readable medium embodying a program executable in a computing device, the program comprising: code that obtains page generation code comprising JavaServer Page (JSP) code from a customer of a hosting provider; code that determines whether the page generation code meets a maximum size threshold and whether the page generation code includes exception-handling code; code that rejects the page generation code in response to determining that the page generation code meets the maximum size threshold; code that rejects the page generation code in response to determining that the page generation code includes the exception-handling code; code that instruments the page generation code with code that facilitates monitoring of at least one resource consumed by an execution of the page generation code; code that obtains a request for a network page from a client, the network page being associated with a network site hosted by the hosting provider on behalf of the customer; code that executes the page generation code to generate the network page in response to the request, wherein the code that executes includes a JSP tag library that is instrumented to include code that enforces at least one resource consumption limit on the page generation code; and code that sends the network page to the client in response to the request.