users
[Top] [All Lists]

Re: FW: [cinjug-users] newbie trying to learn m-v-c

To: Ted Tollefson <ttollefson@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: FW: [cinjug-users] newbie trying to learn m-v-c
From: sdgesa gaeharth <pollux1234567890@xxxxxxxxx>
Date: Wed, 8 Sep 2004 13:34:16 -0700 (PDT)
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
In-reply-to: <7266759DD1C5D6428963975E00FA084309AAE4@csg-ml02.cardinalsolutions.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
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 

<Prev in Thread] Current Thread [Next in Thread>