Bean context and validate() in ActionForm

2002-07-19 Thread olschmeltzer
Hi ! Here is the problem I try to deal with. Suppose a JSP page is shown on somebody's navigator ; this JSP is a form, whose action is a Struts action, and which needs a bean DataBean to be shown properly. Suppose now that the basic validation fails (i.e. the validate() method of the ActionForm

Réf. : Bean context and validate() in ActionForm

2002-07-19 Thread olschmeltzer
I just thought that it is impossible to get the bean back, since it is a new request that is sent to the server, and my DataBean has vanished. So, is this situation not a problem ? I must redo everything I did concerning this bean : create it, populate it and put it in the request. Is this

Really dynamic forms

2002-07-11 Thread olschmeltzer
Hi ! Contrary to DynaActionForm which are rather declarative forms than dynamic forms, I have a need for building forms that are parametric. For instance, the Internet user specifies the number of elements he requires, and the system builds dynamically a JSP form containing as many fields as the

WEB-INF/web.xml hardcoded in initServlet() [struts 1.0.2]

2002-07-11 Thread olschmeltzer
Hi ! I am using Struts 1.0.2 under Visual Age for Java 3.5.3 and Websphere Test Environment ; the architecture is not fully J2EE. In particular, WTE does not parse the WEB-INF/web.xml file but another file with a similar syntax (xxx_app.webapp) : this is where it finds the mappings for the

Is ActionMappings shared by all the servlets ?

2002-06-27 Thread olschmeltzer
-- Envoyée par Olivier Schmeltzer/QVI/GRAF/FR le 27/06/2002 17:44 --- Olivier Schmeltzer 24/06/2002 15:58 Pour : [EMAIL PROTECTED] cc : Objet : Is ActionMappings shared by all the servlets ? Hi ! I am very confused by what is taking place

javax.servlet.ServletException: Cannot retrieve definition for form beannull

2002-06-21 Thread olschmeltzer
It seems it didn't get to the list last time I sent it... -- Envoyée par Olivier Schmeltzer/QVI/GRAF/FR le 21/06/2002 09:37 --- Olivier Schmeltzer 17/06/2002 17:48 Pour : [EMAIL PROTECTED] cc :(ccc : Olivier Schmeltzer/QVI/GRAF/FR) Objet :

RE: Dealing with many JSP files with one Action

2002-06-12 Thread olschmeltzer
Thanks for your answer. Unfortunately, I am not able to modify the directory structure and all the way this is going to work. We don't want to just have the text in multiple languages : images also have to be different ; everything can be modified by marketing people (from different countries)

Dealing with many JSP files with one Action

2002-06-10 Thread olschmeltzer
Hello everyone, I have a directory structure containing JSP files, in different languages, and I want to manage them with a single Action. For instance, let's take the Struts ForwardAction. How could this action serve different JSP files without having to hardcode it inside struts-config.xml ?

Using the same form alog multiple actions + waiting action

2002-04-14 Thread olschmeltzer
I thought it was possible to store a form in the session so that it could be used later by the same or another action, but it does not work. Perhaps I am doing something wrong or perhaps I did not understand fully the specifications. I would like to store login information from a LoginForm, so

form tag in struts-html.tld and in struts-form.tld

2002-01-22 Thread olschmeltzer
Sorry if this question has already been addressed or is really low-level... I am wondering what the difference is between these two taglib files : is one deprecated ? Why do they contain both for instance the definition of the tag form, though refering to the same class (i.e.

Using Struts inside Broad Vision

2002-01-10 Thread olschmeltzer
Sorry if this question has already been addressed. We are trying to use the Struts framework inside Broad Vision 6.0 ; a testing example (called Broadway) is provided, that seems to use the framework, but I can't have the Struts example work. An exception is raised, when dealing with the form tag