a DVO is a data value object. Look at the design pattern from sun, there
they are described
Am Don, 2002-06-13 um 18.56 schrieb Noah Levitt:
What's a DVO?
On Thu, Jun 13, 2002 at 12:56:38PM +0530, Vikram Goyal01 wrote:
Also, how do we deal with the situation where we need to build up
Your classes have to be in
$TOMCAT/WEB-INF/classes
Oliver
On Sun, 2002-05-05 at 16:55, Struts Newsgroup wrote:
Subject: Re: I am amateur to Struts
From: Vic Cekvenich [EMAIL PROTECTED]
===
This is not a Struts question. Please post it on the servlet or tomcat list.
Abbas Valinejad
Hi i would be very interested in testing the petstore app.
I run a linux system with tomcat 4.0.
So if you want me to test this, send me the war file.
Olli
On Fri, 2002-05-03 at 18:31, Yang Li wrote:
Hi:
I have rewritten the View and Controller part(of MVC)
of the petstore 1.3 web layer.
Don't check your xml Files. The error is in one of your
jsp files. The error says you use the forward tag incorrect.
So in one/more of your pages you try to use the tag forward like this
forward rewrite=... ... /
which is not correct
Oliver
-Original Message-
From: jfc100
If you are havin a application server, then you
have the possibility to define security per url.
so for example you can define for
$ROOT/role1
and everything under this directory the security for a
special role in web.xml. So you don't need to check on
every page, this is handled now from the app
you call
saveErrors(request,errors)
while errors are your ActionErrors ??
-Original Message-
From: rob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: html:errors how to confirm the errors are there?
Is there any way for debugging to get
Nope
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 2:40 PM
To: [EMAIL PROTECTED]
Subject: Add parameter to a setRedirect
Hi everybody,
I wanna know if is it possible to use setRedirect and add parameter
like in
The bean on the GUI has to follow naming conventions, but thats
not the bean used to perform the business logic.
For that bean means only an own java class to seperate the
business logic from the gui(action,jsp).
Partially you can prepare your data in the action classes, but
the normal business
Sorry what i forgot to say, the business logic i meant is
mainly checking database, adding database entries and so on,
not changing the values or building a value object. This should
be done in the action
-Original Message-
From: Ric Searle [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
I don't know if i understand the question correctly,
but if you want to enable the user to select the displayed
language, you only have to change the locale which ist
stored in the session
request.getSession().setAttribute(Action.Locale,new Locale(FR,fr));
the Action is the class form struts,
I always do it like this
a href=javascript:{document.forms[0].action='%=
request.getContextPath()%/do/admin/myAction?id=%= objectName.getId()
%companyType=%=companyType%';document.forms[0].submit()/
this normaly should work fine, so you also can define different action paths
for you form.
only if you have overridden the method, some classes have
implemented this, but for your own objects you have to do that on
you own, he is only look at the pointer
-Ursprungliche Nachricht-
Von: keithBacon [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 14. Marz 2002 16:51
An: Struts
You can work with one form to display/insert the data. Because you
populate your form in the action class.
I would validate your form data in the action and then pass the form to
a special DAO Object which handles the SQL Statements, including transaction
handling. This means you need the
Sorry forgot to say, hold your form in the session,
so you are able to give the user more steps to include this.
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 4. Marz 2002 18:11
An: Struts Users Mailing List
Betreff: Advice requested,
Hi Mike,
normally i take the Action classes to collect all my data. Maybe you
should implement a Data Access Object which offers an API to access the
database and
returns the result. In the action you collect all the data you need
(means you use the methods of your DAO ) and then on the JSP you
1. For one, what do you mean autmatic session management,
you can put form beans into the session and work with them.
So if you mean that with session support it supports it
2. You need getter and setter in your UserInfo form for
the aggregated forms.
Than struts can call them with the following
Normally the fields are first initialized with the values of the form bean.
Because of this you have to have
for each used field in your form a getter method in the form bean. Otherwise
you
get this error message.
The page calls the form bean to obtain the initial values from this form
Oliver
17 matches
Mail list logo