Hi all,
I have a problem that I would like to share with you guys in the hope that
someone knows what to do:

I have a JSP page that accepts some user information - now when the user
hits submit the web page calls a IBM Host Publisher Integration Object which
is a Servlet. The Servlet pastes the data from the web page into a Host
System which resides on an AS400 box.  Now after or before this process I
want to call another Servlet(lets call it Email Servlet) that is separate
from Host Publisher and get the Servlet to check the page for a value - if
the value is there then the Email Servlet must perform a function (sending
email via Domino). Now if the Email Servlet was called before the Host
Publisher Servlet then the Email Servlet must pass the web page to the Host
Publisher Servlet.

I have pasted some code from the web page that will call the Host Publisher
Servlet - could I call the Email Servlet then get the Email Servlet to pass
the web page onto the Host Publisher Servlet.  I am trying to think of other
options but at this stage I would really appreciate any help.

Cheers

Marc

<HEAD>
<SCRIPT LANGUAGE="JavaScript"
SRC="http://ebusiness/HostPub/getcustdetails/eBusiness_Order.js">
</script>
<META NAME="GENERATOR" CONTENT="NetObjects ScriptBuilder 3.0">
<TITLE>Document Title</TITLE>
</HEAD>
<BODY ONLOAD="isCookieThere();"  ONUNLOAD="setCookie();" TEXT="FFFFFF"
BGCOLOR="000000"
BACKGROUND="/NelsonPOC/NelsonMain.nsf/bg.gif?OpenImageResource">
<FONT COLOR="FFFFFF" FACE="Arial" SIZE=4 >

<BEAN NAME="GetCustDetails" TYPE="IntegrationObject.GetCustDetails"
INTROSPECT="yes" CREATE="yes" SCOPE="request">
</BEAN>

<% GetCustDetails.setHPubErrorPage("GetCustDetails_Error.jsp"); %>
<% GetCustDetails.setHPubStartPoolName("GetCustDetails"); %>
<% GetCustDetails.doHPTransaction(request, response); %>


<FORM NAME="OrderForm" METHOD="POST" ACTION="<%=
response.encodeUrl("PlaceOrder.jsp") %>" onSubmit="return
checkRequiredFields()">
<IMG SRC="/NelsonPOC/NelsonMain.nsf/ntl_banner.gif?OpenImageResource"
WIDTH=640 HEIGHT=42><p><BR>
</p><Center>.......

===========================================================================
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

Reply via email to