hi all,
in my action I put :
errors.add("erreur",new ActionError("Le CINn Agent doit etre numérique:
Mise à jour non réalisée"));
saveErrors(request,errors);
But the errors are not displayed in the JSP althought :
log.info("la taille des erreurs est " + errors.size()); displays 2 erroes
Thanks for
Hi all,
When I try to display a collection using Struts, I encountred this exception :
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V)
Illegal target of jump or branch
I am using Tomcat 4.0.
Can Someone help me
Thanks
Hi all,
I am using Validator.xml to compare if the LIB in the formset is the same in my
DataBase corresponding to a COD which is in an other field of the formset.
In My Validation.xml :
field[0]
cod_grade
fieldTest[0]
COD_DEPT
fieldValue[0]
LIB_DEPT
fieldTable[0]
TAB_DEPT
a TB of data...
>
> -Ursprüngliche Nachricht-
> Von: McCormack, Chris [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 29. April 2004 12:44
> An: Struts Users Mailing List
> Betreff: RE: Help me on eclipse dejae_0_30.zip [36/53]
>
>
> Anyone else getting spammed
Hi all,
I am using Tiles in my Main page :
The page "Navi.jsp" contains the following code :
PB : When I click to the link the forwarded page is displayed lonly in the window
What I want is to display the page in the "content" of tiles, and the 'Foot', 'Navi'
must be d
Hi all,
I have a tiles jsp named "main" containing :
the SaisiPB.jsp is validated in the FormAction.
When errors are detected, I receive a forward to SaisiPB.jsp (witch is the unique page
displayed in the Window), not to Main.jsp.
How to solve this problem.
Thanks...
Hi all,
In my JSP I have many "Submit(s)" to the same action. In someones I want to use the
validator but in the others I want to execute the action without using validator.
I am using validation.xml
How to do this???
Thanks
objects, and save it to request so that it can be shown to
> > the user.
> >
> > When you are putting the logic in the validate method there is no need
> > to call it explicitly as you have done "form.validate(mapping,
> > request);". It is autometically ge
ActionError and add it
> ActionErrors objects, and save it to request so that it can be shown to
> the user.
>
> When you are putting the logic in the validate method there is no need
> to call it explicitly as you have done "form.validate(mapping,
> request);". It is
Hi all,
How to call the validator from an Action.
- in struts-config I put validate="false",
- I am using validation.xml to control erors.
- In the action I wrote :
ActionErrors errors = new ActionErrors();
errors = form.validate(mapping, request);
but it executes the validate method
10 matches
Mail list logo