Visit Gopalan Suresh Raj's Web Cornucopia...

Developing the E-Mail Sender Error Handler
Gopalan Suresh Raj

Note
To work with any of these samples, you will need the following:
.........................................JDK 1.1.7 or higher

To work with the Servlets and JSP, you will need
.........................................
JSWDK 1.0.1 or higher

To work with the Java Mail API, you will need
.........................................
JavaMail 1.1.3 or higher
.........................................
Java Activation Framework 1.0.1 or higher
.........................................
POP3 Provider 1.1.1 or higher

1. Design the Generic Error Handler Page

.

The JSP Model 2 Architecture
(Model-View-Controller Based)

Figure shows what we are trying to ultimately accomplish in these pages here.

EmailSendError.html
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Error from Gopalan Suresh Raj</title>
</head>

<body bgcolor="#ffffff">

<p align="center"><font color="#000080" size="5" face="Arial">
Error from Gopalan Suresh Raj's Email Servlet</font></p>

<h1 align="center" style="MARGIN-RIGHT: 0px"><FONT 
size=2><font face="Tahoma" >Sorry, there was an unrecoverable 
error! 
Please try </font><A href="/examples/jsp/EmailEngine/EmailSend.jsp"><font
 face="Tahoma">again</font></a><font face="Tahoma"
>. </font></FONT></h1>
</body>
</html>              

2. Copy this HTML file into the "jswdk-1.0.1\webpages\" directory.

click here to go to
My JSP/Servlets HomePage...

About the Author...
Gopalan Suresh Raj is a Software Architect, Developer and an active Author. He is contributing author to a couple of books "Enterprise Java Computing-Applications and Architecture" and "The Awesome Power of JavaBeans". His expertise spans enterprise component architectures and distributed object computing. Visit him at his Web Cornucopia© site (http://www.execpc.com/~gopalan) or mail him at gopalan@execpc.com.

Go to the Component Engineering Cornucopia page

This site was developed and is maintained by Gopalan Suresh Raj

This page has been visited times since September 21,1998.

Last Updated : Dec 19, '98

If you have any questions, comments, or problems regarding this site, please write to me I would love to hear from you.


Copyright (c) 1997-2000, Gopalan Suresh Raj - All rights reserved. Terms of use.

All products and companies mentioned at this site are trademarks of their respective owners.