home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Sample.bin
/
PHSuccess.java
< prev
next >
Wrap
Text File
|
1998-09-13
|
835b
|
41 lines
package symantec.sourcebook.creditcheck;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class PHSuccess extends PageHandler
{
private PageData pageData;
public PHSuccess()
{
}
protected void read()
{
}
protected void customize(Object pageDataObject) throws IOException
{
// save the page data for use by write, below
pageData = (PageData) pageDataObject;
}
protected void write(HttpServletResponse response) throws IOException
{
StringBuffer cgiRequest = new StringBuffer(100);
cgiRequest.append(pageData.successCGI);
cgiRequest.append("?orderId=");
cgiRequest.append(pageData.orderId);
response.sendRedirect(cgiRequest.toString());
}
}