Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 21060 invoked from network); 1 Apr 2002 19:59:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 19:59:48 -0000 Received: (qmail 3711 invoked by uid 97); 1 Apr 2002 19:59:35 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 3690 invoked by uid 97); 1 Apr 2002 19:59:35 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 3679 invoked from network); 1 Apr 2002 19:59:34 -0000 From: "Robert Morse" To: "Struts Users Mailing List" Subject: RE: Weird problem with tiles and struts forward. Date: Mon, 1 Apr 2002 11:59:33 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20020401193123.66296.qmail@web14906.mail.yahoo.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It's in the installation documentation. -----Original Message----- From: Sanjay Choudhary [mailto:java_sc@yahoo.com] Sent: Monday, April 01, 2002 11:31 AM To: Struts Users Mailing List Subject: Re: Weird problem with tiles and struts forward. Hi Brendan, I was also facing the same problem while forwarding. Strange thing is that it didn't give me any exception nor did it forward the page. After putting the controller line in Struts-config.xml its running fine. Thanks for your suggestion. How the hell did you figure it out? -Sanja --- Struts Newsgroup wrote: > Subject: Re: Weird problem with tiles and struts > forward. > From: "Jack Gao" > === > Hi, Brendan > > Yes, it works!!!! Thank you guys so much!!!! > > Yes, the problem is the controller for tiles, after > I add it in my > struts-config.xml file, I got it work! > > Thanks a lot in deed, this is a great group!! > > Jack > > "Brendan Grainger" wrote in > message > news:mailman.1017629220.6441.struts@basebeans.com... > > Hi Jack, > > > > As I said earlier I had exactly the same problem > as you and so now I've > done > > a little detective work to try and figure it out. > Here is what I've found. > > At the bottom of my struts-config I have this. > > > > > > > > > > processorClass="org.apache.struts.tiles.TilesRequestProcessor"> > > > > > > Don't ask me why, it was in the example so I put > it in (I'm still kind of > > new to the world of struts). If I comment it out, > I get the error you've > > reported. If I put it in, no error. > > > > Looks like I'm working on registration page > similar to yours, so I quickly > > put together a tiles version of it. I've attached > my tiles-def.xml file > and > > struts-config.xml file for you to have a look at. > Please note, my > > tiles-def.xml file is _really_ simple. I just > wanted to experiment. In the > > other version I have I actually extend definitions > etc. Which I'm going to > > look at now, to make sure that has nothing to do > with it. > > > > Hope this helps. > > Brendan > > > > > > -----Original Message----- > > From: Wellie W. Chao > [mailto:wchao@caraveltech.com] > > Sent: Sunday, March 31, 2002 9:36 PM > > To: Struts Users Mailing List > > Subject: RE: Weird problem with tiles and struts > forward. > > > > > > Yes, that would be a problem. I'm building some > pages now that will make > use > > of findForward, so I'll let you know if I > experience success with the > > forward elements within an action block. If I have > problems too, then it's > > probably a bug in Struts where the forward > attribute works but enclosed > > forward elements do not work. If I experience > success, then we can compare > > web.xml, struts-config.xml, and tiles-defs.xml > files to see how mine > differ > > from yours. > > > > -----Original Message----- > > From: Struts Newsgroup > [mailto:@Basebeans.comstruts@basebeans.com] > > Sent: Sunday, March 31, 2002 9:25 PM > > To: struts-user@jakarta.apache.org > > Subject: Re: Weird problem with tiles and struts > forward. > > > > > > Subject: Re: Weird problem with tiles and struts > forward. > > From: "Jack Gao" > > === > > Well, I don't think this is the problem. > > > > If I had to use forward attribute instead of > forward tag, How can I > forward > > to different page depend on the result? > > > > Jack > > "Wellie W. Chao" wrote in > message > > > news:mailman.1017606901.1688.struts@basebeans.com... > > > Looking at the struts-config.xml file you posted > in your original > message, > > I > > > note that you have forward entries within the > action block. I haven't > > tried > > > forward entries within an action block yet, so I > don't know if those > work. > > > What I have is this: > > > > > > forward="site.page.admin.index"/> > > > > > > The above line contrasts with your action > blocks: > > > > > > > > > path="register.success"/> > > > path="register.failure"/> > > > > > > > > > Note that in mine, the forward is an attribute > rather than an enclosed > > > element. > > > > > > -----Original Message----- > > > From: Struts Newsgroup > [mailto:@Basebeans.comstruts@basebeans.com] > > > Sent: Sunday, March 31, 2002 2:10 PM > > > To: struts-user@jakarta.apache.org > > > Subject: Re: Weird problem with tiles and struts > forward. > > > > > > > > > Subject: Re: Weird problem with tiles and struts > forward. > > > From: "Jack Gao" > > > === > > > So, what you changed to make it work? To me, it > still doesn't work, even > I > > > use servlet 2.3 (I'm using Tomcat 4.0.3) > DOCTYPE, and struts 1.1 > DOCTYPE. > > > same configuration with forward to a jsp, it > works fine, just can not > > > forward to a tiles definition. > > > > > > Jack > > > > > > "Wellie W. Chao" wrote > in message > > > > news:mailman.1017581340.28710.struts@basebeans.com... > > > > Wow. I just tried it again and it works > beautifully. You learn > something > > > new > > > > every day. It simplifies things to be able to > use a definition in a > path > > > > rather than having to specify the location of > a two line file that > just > > > has > > > > a tiles:insert. I think it had something to do > with the DOCTYPE. I had > > > > servlet 2.2 before and changed it to servlet > 2.3 a few days ago. > > > > > > > > -----Original Message----- > > > > From: Robert Morse > [mailto:rmorse@mdesignz.com] > > > > Sent: Saturday, March 30, 2002 7:24 PM > > > > To: Struts Users Mailing List > > > > Subject: RE: Weird problem with tiles and > struts forward. > > > > > > > > > > > > Yes. In fact, I changed all of the references > to Tiles definitions. > > I'm > > > > using the 02/05/2002 nightly. > > > > > > > > -----Original Message----- > > > > From: Wellie W. Chao > [mailto:wchao@caraveltech.com] > === message truncated === __________________________________________________ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: