Hello,
I'm using Inprise AppServer 4.0.1 with their JSP Engine (1.0) on NT
4.0. Why does the following example (I try to forward from Simple.jsp
to Simple1.jsp) not function?
I get a 404 error message (not found).
Thanks for any help in advance.
===========
Simple.jsp:
===========
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html> <head>
<title>Simple</title>
</head>
<body>
<h1>Simple</h1>
<% String FORWARD = response.encodeURL("Simple1.jsp"); %>
<% System.out.println("FORWARD is " + FORWARD); %>
<jsp:forward page="<%=FORWARD%>" />
<hr>
</body> </html>
============
Simple1.jsp:
============
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html> <head>
<title>Simple1</title>
</head>
<body>
<h1>Simple1</h1>
<hr>
</body> </html>
--
/ /
/// Dirk. / / (_)_
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets