My approach to this has been as follows:
Cache the key-value pairs associated with the lookup table. My
approach is to have a bean in the servlet session that keeps
these values.
In the results page, use a custom tag which iterates through the
lookup table keys until it matches the key in the re
This is totally off-topic, but I was inpsired by experiences
on a Struts project to write the short essay below. If you're
so inclined, give it a read and maybe tell me what you think.
Don't get me wrong, I am not thinking that it's terribly
original, but hey, it comes from the heart.
http://www.
If you are using struts1.1b, then you have to make sure an
xml parser, e.g. xerces.jar is in the classpath. I've seen that
message before in this context -- where an xml parser was missing
from the classpath. I solved the problem by finding the solution
in a posting by Ted Husted in the archive.
I have recently downloaded struts 1.1 beta. It includes a sample
application (developed by David Wintefeldt) which does
form-level validation using a config file. Question: Does this
validation take place before or after the controller servlet
(ActionServlet) calls the setter method on the form be
I would say this is reasonable. I get the impression this is the
general approach currently being taken by most Struts developers. There
are two drawbacks I can think of to consider before coming to a final
decision:
1) Unless the code is being generated, there is more manual
labour involv
y decide
to keep your web-tier beans and your data/business beans
as separate entities. You should really think about what your
application's requirements are (now, and potentially
in the future) before you make a decision.
>From: Rick Reumann <[EMAIL PROTECTED]>
>Reply-To: Rick
I would argue that it is quite easy to reuse your regular classes
as struts form beans. This strategy may involve putting code
into your so-called 'business' classes who's purpose is to help
with certain kinds of 'presentation' level logic. The real question
is, do you want a 2-tier architecture
I haven't found the solution I will use yet to solve this problem
in my own project, so advice would definitely be helpful.
I found a taglibrary that purports to do this (at http://jsptags.com)
http://www.sqlt.com/taglib.html
I have not investigated using it just yet though. I think even
writin
I seem to have run into a bug with the struts OptionsTag custom
tag when using a nested property. I am including the problem and my
workaround, but if someone here has any advice or help, I'd love to
have a cleaner solution than my workaround, so if someone here
could help me out, it would be appr
This is not a project, but it shows the basic struts architecture
in UML. Maybe a good starting point?
http://husted.com/struts/resources/uml-jps.pdf
Vlad
>Are there any links to a Struts sample project modeled with UML on the web?
>I am starting a new Struts project and would like to use UML.
Thanks Aaron,
Just to make sure, I believe the paragraph below is in favour
of not 'denormalizing'. I.e. the approach you're suggesting
is to return a list of Monkey objects
where each Monkey holds a reference to its Bananas. (Hey, it's
an odd example, but it's more fun than the old standby of
Cu
Hi, I have a basic design-level question to ask of those who are
using the struts framework. The question concerns how data from
the database get retrieved into the 'web-tier' beans
of the application when table joins are involved.
One approach is to nest objects. e.g. say we want to display
all
Ooops. I forget how to un-subscribe to this list. I would like to use a
different E-mail address for this list because it carries so many E-mail
messages. Could someone a) remind me how to unsubscribe and b) put this
information into the struts web site under mailing lists!
Thanks,
Vlad
>Fro
Ooops. I forget how to un-subscribe to this list. I would like to use a
different E-mail address for this list because it carries so many E-mail
messages. Could someone a) remind me how to unsubscribe and b) put this
information into the struts web site under mailing lists!
Thanks,
Vlad
>Fro
14 matches
Mail list logo