RE: forward www.myserver.net to an action

2005-12-14 Thread Lesaint Sébastien
could. - I'm curious :) -Message d'origine- De : Michael Jouravlev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 décembre 2005 19:11 À : Struts Users Mailing List Objet : Re: forward www.myserver.net to an action On 12/14/05, Lesaint Sébastien <[EMAIL PROTECTED]> wrot

forward www.myserver.net to an action

2005-12-14 Thread Lesaint Sébastien
Hello, I have a Struts (1.2.4) webApp running on my server www.myserver.net. The servlet mapping is "*.do". I want the user to be forward to the action "index.do" when she requests "www.myserver.net". At the moment, I'm using a JSP "index.jsp" in the root directory of my webApp with a tag tha

class TagUtils, retrieving a message bundle, code modification re quest

2005-03-14 Thread Lesaint Sébastien
Hello, I've been looking into the source code (of both 1.2.4 and 1.2.6, not cvs), and I have a question about the way a message bundle is looked up based on its name. I understand from the code that the resource bundle is search: - in the page context - if not found, in the request context - i

RE: i18n & Tiles

2005-01-17 Thread Lesaint Sébastien
hink wrinting > an Action to get the message is maybe the smartest but not easiest way > of doing this. > > On Mon, 17 Jan 2005 09:17:46 +0100, Lesaint Sébastien > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > To solve this problem I use this code in my jsp:

RE: i18n & Tiles

2005-01-17 Thread Lesaint Sébastien
Hi, To solve this problem I use this code in my jsp: Pretty easy, isn'it? :) Seb' -Message d'origine- De : Sylvain ~ [mailto:[EMAIL PROTECTED] Envoyé : lundi 17 janvier 2005 09:02 À : user@struts.apache.org Objet : i18n & Tiles I'm trying to create an internationalized application

ExceptionHandler: no access to application context available by d esign, maybe this should be improved

2004-12-27 Thread Lesaint Sébastien
Hi, I want to use the ExceptionHandler class for handling exception occurring in my webapp. I need to store the exception caught into the database, only display few info to the user and a unique ID for her to contact support if required. I think it is considered as quite a good practice, but I

RE: Actions being executed twice

2004-11-16 Thread Lesaint Sébastien
Hi, I had the same problem once. After a lot of investigation, turned out this was due to the tag and the way I used tiles. In any case, check the value of the tag in the final HTML code. It might point to one of your actions. Some browser send a request to it to check if the base URL actually

RE: Dispatch Action called Twice

2004-10-12 Thread Lesaint Sébastien
there are no obvious deficiencies. -- C.A.R. Hoare -Original Message- From: Lesaint Sébastien [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 2:26 PM To: Struts Users Mailing List Subject: RE: Dispatch Action called Twice I'

RE: Dispatch Action called Twice

2004-10-12 Thread Lesaint Sébastien
with it Since last Friday Question: how did you find it out? I am curious... Regards marco -Original Message- From: Lesaint Sébastien [mailto:[EMAIL PROTECTED] Sent: 12 October 2004 08:44 To: Struts Users Mailing List Subject: RE: Dispatch Action called Twice I had a

RE: Dispatch Action called Twice

2004-10-12 Thread Lesaint Sébastien
I had a similar issue once. Came up that the tag was responsible for it, and browser other than IE as well (I'm not an IE fan at all). In the case renders the URI of a file not a directory, IE does checks if the path, file ignored, is valid, other browser like mozilla or Firefox send a request to

RE: How to implements Role Based Access Control in Struts ?

2004-06-25 Thread Lesaint Sébastien
Hi, I was just looking into Pow2ACL, I wonder if this solution is up to date, looks like the last release came out in 2002. It is said it is integrated with Struts, but if it is that old, I wonder if it does work with the last releases of Struts. Anybody using Pow2ACL with struts around here? I w

RE: Help with validate ActionForm method

2004-06-14 Thread Lesaint Sébastien
Struts Users Mailing List; Lesaint Sébastien Objet : RE: Help with validate ActionForm method I hope you have not set validate="true" for the both the load and submit action mapping i.e there wld be a action mapping for loading the screen(say load) The validate attribute for this action Be set t

Help with validate ActionForm method

2004-06-14 Thread Lesaint Sébastien
Hi, I'm using ActionForm for one of my pages and I implemented the validate method as follow: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if (isFieldEmpty(login)) { errors.

[SOLVED]RE: odd errors certainly related to Tiles and/or Struts, occurs o nly with Mozilla

2004-06-07 Thread Lesaint Sébastien
rver.com/webApp/layout/"; instead of "http://www.myserver.com/webApp/layout/defaultPageModel.jsp";, solving my mozilla problem ? Hope this message can help some people and that I could get some answer about the base tag. -- Seb' -Message d'origine- De : Lesa

RE: odd errors certainly related to Tiles and/or Struts, occurs o nly with Mozilla

2004-06-07 Thread Lesaint Sébastien
:04 À : Struts Users Mailing List Objet : Re: odd errors certainly related to Tiles and/or Struts, occurs o nly with Mozilla Lesaint Sébastien wrote: >Hi, > >A little more information. > >My investigation lead me to the conclusion that this error is somehow >related to Tiles

RE: include action into jsp page

2004-06-07 Thread Lesaint Sébastien
Hi, I had the same problem. I solved it by using Tiles definitions. will not work. There is some ugly work-around though, but my advice is to use Tiles event if it requires some time to understand and use. -- Seb' -Message d'origine- De : Marco Rossi [mailto:[EMAIL PROTECTED] Envoyé :

RE: odd errors certainly related to Tiles and/or Struts, occurs o nly with Mozilla

2004-06-07 Thread Lesaint Sébastien
etely clueless on the subject now... :( Please help, -- Seb' -Message d'origine- De : Lesaint Sébastien Envoyé : lundi 7 juin 2004 12:50 À : [EMAIL PROTECTED] Objet : odd errors certainly related to Tiles and/or Struts, occurs only with Mozilla Hello all, I have a webApp usin

odd errors certainly related to Tiles and/or Struts, occurs only with Mozilla

2004-06-07 Thread Lesaint Sébastien
Hello all, I have a webApp using Struts and Tiles. I have a strange log occurring when I request pages using action and Tiles, but only if the browser is Mozilla (I tested with IE and Opera, it's fine). This error appeared recently, it did not just appear because I started using Tiles and Struts'

url rewriting

2004-06-03 Thread Lesaint Sébastien
Hi, I'm using the following code : logout The html code I get is the following : logout When I read the explanation about how the tag works, I understood the content of href attribute should be something more like : "http://www.myserver.com/lec/logoutAction.do"; I do have an

public static properties in JSPs

2004-05-28 Thread Lesaint Sébastien
Hello all! First message ever on a mailing list, would you believe it? :) Anybody knows how to access a public static (final btw) variable of a bean inside a JSP ? preferably using struts tags or EL ? [...any HTML code...] Exactly, I'd like to replace to "1" in the 's test by something like