File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Error while running jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Error while running jsp" Watch "Error while running jsp" New topic

Error while running jsp

here iam

Joined: Feb 06, 2006
Posts: 1

A java exception has occurred during the processing of this request.
Error occurred in JSP element starting at line number 20

javax.servlet.jsp.JspTagException: I/O Error: Connection reset
at desisoft.jsp.tagext.SendMail.doAfterBody(
at desisoft_jsp_SendMail_jsp1139292195218._jspService(
at desisoft.server.JspBaseClass.service(


<%@ taglib prefix="blx" uri="/blx.tld" %>
// Get username.
String email = request.getParameter( "email" );
<% if ( email == null || email.equals( "" )) { %>
Please enter an email address.
<% } else { %>
<blx:email host="" from="">
<blx:emailTo><%= email %></blx:emailTo>
Thank you for registering with us. You registered the
following name: <%= request.getParameter( "username" ) %>

Your registration was received at <%= new java.util.Date() %>

Attached, please find a contents file.

<!-- Also write out some HTML -->
Thank you. A confirmation email has been sent to <%= email %>
<% } %>

Can anybody tell me why this problem is occuring
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63868

"here iam",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff
[ February 06, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
gao zhixin
Ranch Hand

Joined: Jan 18, 2006
Posts: 42
I don't see you code, but I really suggest you use JSTL instead of scriplet.And if you project is big , use a MVC framework instead.
I agree. Here's the link:
subject: Error while running jsp
It's not a secret anymore!