When I run the following code, I do not get forwarded correctly.

<%@ page import="java.util.*" %>
<%@ page import="qpakreqF.FormBean.class" %>

<%!
 ResourceBundle bundle =null;
 public void jspInit() {
      bundle = ResourceBundle.getBundle("forms");
      }
%>

<jsp:useBean id="formHandler" class="qpakreq.FormBean" scope="session">
<jsp:setProperty name="formHandler" property="*">
</jsp:useBean>

<%
   if (formHandler.validate()) {
%>
  <jsp:forward page="<%=bundle.getString(\"process.success\")%>"/>
<%
   } else {
%>
   <jsp:forward page="<%=bundle.getString(\"process.retry\")%>"/>
<%
   }
%>

When I run the same code on the Inprise Application Server or in JBuilder
3.5, it runs and forwards correctly.

Thanks,
   Mike Payne

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to