Re: RequestProcessor question
I made exactly what Joe wrote! I'm stupid, sorry for your time. Thank, guys. On Thu, 28 Oct 2004 12:22:44 -0500, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 9:55 AM -0700 10/28/04, Craig McClanahan wrote: > >The only normal situation where every method in the lifecycle would > >get called twice is if you are doing "action chaining" -- the returned > >ActionForward from one Action.execute() call points at a path that is > >another Action, rather than being a JSP page or something in your view > >tier. In such a case, the entire lifecycle will get executed again > >for the second Action. > > > >Craig > > > > > >On Thu, 28 Oct 2004 15:15:39 +0200, Marco Rossi <[EMAIL PROTECTED]> wrote: > >> I try to extend the default RequestProcessor, only to view the > >>call sequence. > >> Something like this, for every method of the RP: > >> > >> protected boolean processPreprocess(HttpServletRequest > >> request,HttpServletResponse response) > >> { > >> logger.debug("processPreprocess"); > >> return true; > >> } > >> > >> I saw that every method is call two times. Why? > > Craig's explanation would describe a situation where the preprocess > method is called twice with some time in between. > > If you are seeing the messages appear twice in immediate succession, > you may have misconfigured your logger. At least, if you are using > log4j, if you accidentally assign an appender twice, you'll get > duplicate messages. The most frequent cause of this is explicitly > configuring a logger to use the same appender that you are also using > for the root appender. > > Apologies if this is totally off track from what you're seeing. > > Joe > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com > "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn > back; I'll know I'm in the wrong place." >- Carlos Santana > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RequestProcessor question
I try to extend the default RequestProcessor, only to view the call sequence. Something like this, for every method of the RP: protected boolean processPreprocess(HttpServletRequest request,HttpServletResponse response) { logger.debug("processPreprocess"); return true; } I saw that every method is call two times. Why? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RequestProcessor question
I try to extend the default RequestProcessor, only to view the call sequence. Something like this, for every method of the RP: protected boolean processPreprocess(HttpServletRequest request,HttpServletResponse response) { logger.debug("processPreprocess"); return true; } I saw that every method is call two times. Why? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: include action into jsp page
Found. Use JSTL, > Da:Lesaint Sébastien <[EMAIL PROTECTED]> > Data: Mon, 7 Jun 2004 17:07:21 +0200 > A: Struts Users Mailing List <[EMAIL PROTECTED]> > Oggetto: RE: include action into jsp page > > 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é : lundi 7 juin 2004 08:56 > À : [EMAIL PROTECTED] > Objet : include action into jsp page > > I want to include an action in a jsp page, something like page="/myaction.do" />. > How can I do? > > > Cerchi un laboratorio fotografico aperto 24 ore su 24? > Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. > http://www.kataweb.it/foto > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
include action into jsp page
I want to include an action in a jsp page, something like . How can I do? Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sitemesh include problem
Hi, I try to use sitemesh instead of tiles; in my decorator template page I need to include a struts action. I try to do this: , but I catch the following java.lang.IllegalStateException: Response has already been committed Any suggestion? Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tiles - Application Resources problem
Perfect. Thanks Mark! > Da: Mark Lowe <[EMAIL PROTECTED]> > Data: Wed, 12 May 2004 09:23:07 +0200 > A: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Oggetto: Re: Tiles - Application Resources problem > > > > > > or > > > > or in tc5 with el on > > > > > On 12 May 2004, at 09:13, Marco Rossi wrote: > > > Hi, > > I want to set the title of my jsp page in the tiles definition file. > > So I have the following situation: > > > > > > > > > > > > > > > > > > > > and in classicLayout > > > > > > > > > > > > > > But I need to have something like this: > > "/> > > to have a multilingual title. > > > > Any suggestion? > > > > ___ > > _ > > Cerchi un laboratorio fotografico aperto 24 ore su 24? > > Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 > > ore. > > http://www.kataweb.it/foto > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles - Application Resources problem
Hi, I want to set the title of my jsp page in the tiles definition file. So I have the following situation: and in classicLayout But I need to have something like this: "/> to have a multilingual title. Any suggestion? Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tiles-cookie problem
Hi Chris, I set some information in cookies during the login action in my application; then I use the cookies value in my action and in my jsp page. For debugging propose I show everytime the footer all the cookies name and value. Sometimes I lose all the cookie (also the session cookie); its appends apparently in a random mode, not always in the same page. > Da: "McCormack, Chris" <[EMAIL PROTECTED]> > Data: Fri, 7 May 2004 12:02:47 +0100 > A: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Oggetto: RE: tiles-cookie problem > > Hi Marco > > "Lose all the cookies" Can you elaborate on the losing part. > > Are you setting cookies on the response and they are not being written ? > Are you setting cookies and then the next request they are gone ? > Are the cookies inaccessible but do exist when you check your cookies using another > method ? > Something other than the above ? > > The more detailed you can be the easier it is to help you. > > > Chris McCormack > > -Original Message- > From: Marco Rossi [mailto:[EMAIL PROTECTED] > Sent: 07 May 2004 11:50 > To: [EMAIL PROTECTED] > Subject: tiles-cookie problem > > > Hi, > I modify the Bc4jRequestProcessor (JDeveloper 9.0.3) to use tiles [originally it > extends RequestProcessor, now extends TilesRequestProcessor]. All works fine, but > sometimes I lose all the cookies. > Any suggestion? > > Thanks, > Marco > > > Cerchi un laboratorio fotografico aperto 24 ore su 24? > Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. > http://www.kataweb.it/foto > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > *** > This e-mail and its attachments are confidential > and are intended for the above named recipient > only. If this has come to you in error, please > notify the sender immediately and delete this > e-mail from your system. > You must take no action based on this, nor must > you copy or disclose it or any part of its contents > to any person or organisation. > Statements and opinions contained in this email may > not necessarily represent those of Littlewoods. > Please note that e-mail communications may be monitored. > The registered office of Littlewoods Limited and its > subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. > Registered number of Littlewoods Limited is 262152. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tiles-cookie problem
Hi Chris, I set some information in cookies during the login action in my application; then I use the cookies value in my action and in my jsp page. For debugging propose I show everytime the footer all the cookies name and value. Sometimes I lose all the cookie (also the session cookie); its appends apparently in a random mode, not always in the same page. Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tiles-cookie problem
Hi Chris, I set some information in cookies during the login action in my application; then I use the cookies value in my action and in my jsp page. For debugging propose I show everytime the footer all the cookies name and value. Sometimes I lose all the cookie (also the session cookie); its appends apparently in a random mode, not always in the same page. > Da: "McCormack, Chris" <[EMAIL PROTECTED]> > Data: Fri, 7 May 2004 12:02:47 +0100 > A: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Oggetto: RE: tiles-cookie problem > > Hi Marco > > "Lose all the cookies" Can you elaborate on the losing part. > > Are you setting cookies on the response and they are not being written ? > Are you setting cookies and then the next request they are gone ? > Are the cookies inaccessible but do exist when you check your cookies using another > method ? > Something other than the above ? > > The more detailed you can be the easier it is to help you. > > > Chris McCormack > > -Original Message- > From: Marco Rossi [mailto:[EMAIL PROTECTED] > Sent: 07 May 2004 11:50 > To: [EMAIL PROTECTED] > Subject: tiles-cookie problem > > > Hi, > I modify the Bc4jRequestProcessor (JDeveloper 9.0.3) to use tiles [originally it > extends RequestProcessor, now extends TilesRequestProcessor]. All works fine, but > sometimes I lose all the cookies. > Any suggestion? > > Thanks, > Marco > > > Cerchi un laboratorio fotografico aperto 24 ore su 24? > Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. > http://www.kataweb.it/foto > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > *** > This e-mail and its attachments are confidential > and are intended for the above named recipient > only. If this has come to you in error, please > notify the sender immediately and delete this > e-mail from your system. > You must take no action based on this, nor must > you copy or disclose it or any part of its contents > to any person or organisation. > Statements and opinions contained in this email may > not necessarily represent those of Littlewoods. > Please note that e-mail communications may be monitored. > The registered office of Littlewoods Limited and its > subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. > Registered number of Littlewoods Limited is 262152. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tiles-cookie problem
Hi Chris, I set some information in cookies during the login action in my application; then I use the cookies value in my action and in my jsp page. For debugging propose I show everytime the footer all the cookies name and value. Sometimes I lose all the cookie (also the session cookie); its appends apparently in a random mode, not always in the same page. > Da: "McCormack, Chris" <[EMAIL PROTECTED]> > Data: Fri, 7 May 2004 12:02:47 +0100 > A: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Oggetto: RE: tiles-cookie problem > > Hi Marco > > "Lose all the cookies" Can you elaborate on the losing part. > > Are you setting cookies on the response and they are not being written ? > Are you setting cookies and then the next request they are gone ? > Are the cookies inaccessible but do exist when you check your cookies using another > method ? > Something other than the above ? > > The more detailed you can be the easier it is to help you. > > > Chris McCormack > > -Original Message- > From: Marco Rossi [mailto:[EMAIL PROTECTED] > Sent: 07 May 2004 11:50 > To: [EMAIL PROTECTED] > Subject: tiles-cookie problem > > > Hi, > I modify the Bc4jRequestProcessor (JDeveloper 9.0.3) to use tiles [originally it > extends RequestProcessor, now extends TilesRequestProcessor]. All works fine, but > sometimes I lose all the cookies. > Any suggestion? > > Thanks, > Marco > > > Cerchi un laboratorio fotografico aperto 24 ore su 24? > Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. > http://www.kataweb.it/foto > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > *** > This e-mail and its attachments are confidential > and are intended for the above named recipient > only. If this has come to you in error, please > notify the sender immediately and delete this > e-mail from your system. > You must take no action based on this, nor must > you copy or disclose it or any part of its contents > to any person or organisation. > Statements and opinions contained in this email may > not necessarily represent those of Littlewoods. > Please note that e-mail communications may be monitored. > The registered office of Littlewoods Limited and its > subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. > Registered number of Littlewoods Limited is 262152. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tiles-cookie problem
Hi, I modify the Bc4jRequestProcessor (JDeveloper 9.0.3) to use tiles [originally it extends RequestProcessor, now extends TilesRequestProcessor]. All works fine, but sometimes I lose all the cookies. Any suggestion? Thanks, Marco Cerchi un laboratorio fotografico aperto 24 ore su 24? Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore. http://www.kataweb.it/foto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]