You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by KL OOI <oo...@yahoo.com> on 2001/09/14 10:44:42 UTC

error Page

if i have a simple jsp below....
how do i test it to make sure that the page directive is working?

<%@ page errorPage="/jsp/kp/error.jsp" %>
<html>

<%
 String value = (String)request.getAttribute("value");
%>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Sample JSP</title>
</head>

<body>

<p><font face="Arial">Sample JSP</font></p>
<br>
<%= value %>
<br>
</body>

</html>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com