Hi,

I think that your <jsp:include  ... >
should work

consider the following page

<%--process.jsp--%>
<%
String data1=request.getString("data1");
String data2=request.getString("data2");
String data3=request.getString("data3");
String data4=request.getString("data4");

if ((data1==null)||(data2==null)||(data3==null)||(data4==null))
{%>
<jsp:include page="CollectEntries.jsp" flus="true"/>
<%}
else
{%>
/*
Code to process the entries ....

...
*/
<%}
%>
/************************************************************/


V.T.R.Ravi Kumar, Engg.(CCX), BHEL Phone Office 01334-285260 Residence
01334-226121 Mobile 01332-323570
----- Original Message -----
From: "Minnie H" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 03, 2003 9:42 PM
Subject: Need Help: Gathering Form Data in the middle of an execution Path.


> I am trying to find a solution to a feature that seems to be common in the
> industry.
>
> In in JSP Application, I have central place that controls
> the "CRUD"(Create,Read,Update & Delete) operations on a database.
>
> When the user wants to Create a record, I want to be able to take them to
a
> data entry form page and subsequently, when the user presses the submit
> button, come back to the original page and process the data I collected.
>
> So, I was hoping that the following jsp code <jsp:include
> page="collectEntries.jsp" flush="true"/> would show the form screen but it
> does not. the command <jsp:forward page="collectEntries.jsp" /> does show
> the page but that means I have left the original page now.
>
> Any hints or pointers are very much appreciated.
> thanks - Minnie
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to