You need to put a space in front of the word selected. Right now your HTML
output will contain:
option value=2005selected2005/option
This makes the value equal to 2005selected. By putting a space in between
the quote and the word selected - you will change the value to 2005 and
selected will be
architecturally
handle this? My struts-config.xml file is pointing to
/WEB-INF/jsp/editUser.jsp as the input mapping. Should that be different?
If I do the validation in the FormBean, it seems like I can't get flow of
control back to an Action? Am I missing something?
Thanks!!!
Joe Krause
I am trying to place the bulk of my navigation and HTML header code into a
header.jsp file. Each JSP view page then includes a header.jsp and a
footer.jsp file using the following:
%@ include file = /templates/header.jsp %
// Page specific implementation
%@ include file =
I need to pre-populate an HTML form with values from a database. I have an
action that sets up the form and a different action that processes the form.
On the actual JSP page itself, if I set the action of the html:fom element
to the processor action (which is what I need to do), then the form is
it in the Documentation anywhere.
Thanks!
Joe Krause
: RE: How to make dynamic SELECT elements?
shameless-plug
You can download an application containing Struts examples,
including populating select options, from
http://www.ninsky.com/struts
/shameless-plug
Steve
-Original Message-
From: Joe Krause [mailto:[EMAIL PROTECTED]
Sent
6 matches
Mail list logo