Código PHP:
<%--
Document : index
Created on : Feb 28, 2008, 11:19:23 AM
Author : Nighter
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib tagdir="/WEB-INF/tags/ext" prefix="ext" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<ext:body>
<ext:window title="Window example" width="300" height="240" id="window1">
<ext:toolbar>
<ext:toolbar.button text="Button 1" />
<ext:toolbar.button text="Button 2" />
<ext:toolbar.button cls="x-btn-icon" icon="img/list-items.gif" tooltip="Icon button test" />
</ext:toolbar>
<div style="padding:5px">Ext is not just a tool kit or another pretty face - it is genius! To be able to get access to a set of tools and advanced design patterns in working form (not some book) is amazing. At the cost of a few development hour per developer - we can all have genius websites. There is no better tool and no better ROI. Thanks Jack for sharing your genius. — Joseph Francis, Core Lan Corporation</div>
<ext:button onClick="window1.close();">Close</ext:button>
</ext:window>
</ext:body>
<ext:onReady>
window1.show();
</ext:onReady>
</body>
</html>