<%-- /* * @(#)sample.jsp (Metawerx customer examples) * * Copyright (c) 1998-2005 Metawerx. All Rights Reserved. * * This software is the confidential and proprietary information of Metawerx * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the terms of the * license agreement you entered into with Metawerx. * * METAWERX MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY * OF THE SOFTWARE OR THE SOURCE CODE, EITHER EXPRESS OR IMPLIED, INCLUDING * BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR * A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. METAWERX SHALL NOT BE LIABLE * FOR ANY DAMAGES SUFFERED BY ANY PARTY AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE AND DOCUMENTATION OR ITS DERIVATIVES * * Synopsis * ===================================================================================== * A very simple example showing the execution of java code within a JSP file * (as a scriplet). * * Notes * ===================================================================================== * This is not really the desired way to write a system in JSP, but demonstrates * server-side Java in a simple manner to developers who have not used JSP before. * * History * ===================================================================================== * 13/04/2000 23:53 Neale Rudd * Created * * --%> <%-- Sample JSP script for new account at MetaWerx Please note this is a sample only and may not be relevant if you are not using a JSP enabled site For assistance, please contact metawerx --%> <body> <font face=verdana size=2> Short Java demo inside JSP file... <% int a = 5; String s = "The quick brown fox jumped over the lazy brown dog."; out.println("<p><b>Value of a is</b> " + a); out.println("<br><b>Value of s is</b> " + s); %> </font> </body>