Yes it does make sense!! I tried this(see below) and
it seems to work!!. Thanks!!! My next problem is
obvious. I have to put the "if statement" anywhere I
out.print members of the formToValidate object, or
else I get an error. Is there a way to write this so
there is no scripting on the jsp page, like putting
the new validatedForm object into a JSTL tag ? This
leads into my next question. Am I designing this app
corectlly or is there a better way to do what I am
doing.
thanks again
<jsp:include page="/header.jsp" />
<%@ taglib prefix="c"
uri="http://java.sun.com/jstl/core"%>
<%@ page import="java.util.*,
com.bdi.www.members.MemberValidateForm" %>
<%if (request.getAttribute("formToValidate") != null){
MemberValidateForm validatedForm =
(MemberValidateForm)
request.getAttribute("formToValidate");
}%>
...
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
|