Re: thread safety

2002-06-13 Thread Oliver Refle
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

Re: I am amateur to Struts

2002-05-05 Thread Oliver Refle
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

Re: [ANNOUNCE]petstore1.3 running under struts1.0

2002-05-03 Thread Oliver Refle
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.

RE: Attribute rewrite is not declared for element forward.

2002-04-22 Thread Oliver Refle
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

RE: Struts declarative security policy? (was RE: Struts example - redundant login checking?)

2002-04-18 Thread Oliver Refle
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

RE: html:errors how to confirm the errors are there?

2002-04-16 Thread Oliver Refle
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

RE: Add parameter to a setRedirect

2002-04-15 Thread Oliver Refle
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

RE: Business Logic Javabeans

2002-04-11 Thread Oliver Refle
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

RE: Business Logic Javabeans

2002-04-11 Thread Oliver Refle
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,

RE: I18N

2002-04-10 Thread Oliver Refle
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,

RE: Add a request parameter to a struts action

2002-04-02 Thread Oliver Refle
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.

AW: Where and when do struts call the method named toString()?

2002-03-14 Thread Oliver Refle
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

AW: Advice requested, what's the best way to mimic tab panes in Struts?

2002-03-04 Thread Oliver Refle
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

AW: Advice requested, what's the best way to mimic tab panes in Struts?

2002-03-04 Thread Oliver Refle
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,

AW: How best to get SQL:JDBC data?

2002-02-27 Thread Oliver Refle
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

AW: Migrating from another framework to struts ...

2002-02-07 Thread Oliver Refle
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

AW: Form bean

2002-02-06 Thread Oliver Refle
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