Yeah, it makes sense to go through the action to reach jsp. I was trying to cut some corners...
-----Original Message----- From: David Graham [mailto:dgraham1980@;hotmail.com] Sent: Friday, November 01, 2002 4:17 PM To: [EMAIL PROTECTED] Subject: RE: Can forward action point to tiles definition? It does not work with the <html:link> tag for obvious reasons. You can do this in an Action though: return mapping.findForward("default"); David >From: "Zeltser, Mark" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: RE: Can forward action point to tiles definition? >Date: Fri, 1 Nov 2002 15:52:11 -0500 > ><html:link forward="default" /> doesn't work with latest or 1.1b2 > >href is translated to URI/site.default.page > >and i get the following message from tomcat: > *** Invalid path /site.default.page was requested *** > > >Mark. > >-----Original Message----- >From: David Graham [mailto:dgraham1980@;hotmail.com] >Sent: Friday, November 01, 2002 3:46 PM >To: [EMAIL PROTECTED] >Subject: RE: Can forward action point to tiles definition? > > >Does it work for you on 1.1b2? I just checked and it does work but I >haven't tried a nightly. > >David > > > > > >From: "Zeltser, Mark" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > >Subject: RE: Can forward action point to tiles definition? > >Date: Fri, 1 Nov 2002 15:38:57 -0500 > > > >It doesn't with the latest build. > > > >Mark. > > > >-----Original Message----- > >From: David Graham [mailto:dgraham1980@;hotmail.com] > >Sent: Friday, November 01, 2002 3:37 PM > >To: [EMAIL PROTECTED] > >Subject: RE: Can forward action point to tiles definition? > > > > > >I assume so, I'm not sure I've tried it though. > > > >David > > > > > > > > > > > > > > >From: "Zeltser, Mark" <[EMAIL PROTECTED]> > > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> > > >Subject: RE: Can forward action point to tiles definition? > > >Date: Fri, 1 Nov 2002 15:31:57 -0500 > > > > > >Thanks Dave, > > > > > >It worked. > > > > > >Should this one work as well? > > > > > > <global-forwards> > > > <forward name="default" >path="site.default.page"/> > > > </global-forwards> > > > > > >Mark. > > > > > >-----Original Message----- > > >From: David Graham [mailto:dgraham1980@;hotmail.com] > > >Sent: Friday, November 01, 2002 2:31 PM > > >To: [EMAIL PROTECTED] > > >Subject: Re: Can forward action point to tiles definition? > > > > > > > > >In the nightlies it can. This was added after beta 2. > > > > > >David > > > > > > > > > > > > > > > > > > > > > >From: "Zeltser, Mark" <[EMAIL PROTECTED]> > > > >Reply-To: "Struts Users Mailing List" ><[EMAIL PROTECTED]> > > > >To: "'[EMAIL PROTECTED]'" ><[EMAIL PROTECTED]> > > > >Subject: Can forward action point to tiles definition? > > > >Date: Fri, 1 Nov 2002 14:11:15 -0500 > > > > > > > >Hi, > > > > > > > >In struts 1.1 can I do the following? > > > > > > > >// > > > > > > >--------------------------------------------------------------------------- > > >- > > > >--------------------------------------------------- > > > >struts-config.xml > > > > <!-- Points to default page --> > > > > <action path="/home" > > > > type="org.apache.struts.actions.ForwardAction" > > > > parameter="site.default.page" > > > > /> > > > > > > > > > > > >tiles-definition.xml > > > > <definition name="site.default.page" > > > >path="/WEB-INF/jsp/common/classicLayout.jsp"> > > > > <put name="title" value="Price Search" /> > > > > <put name="menu" value="/WEB-INF/jsp/common/menu.jsp" /> > > > > <put name="body" value="/WEB-INF/jsp/common/main.jsp" /> > > > > </definition> > > > >// > > > > > > >--------------------------------------------------------------------------- > > >- > > > >--------------------------------------------------- > > > > > > > > > > > >parameter="site.default.page" is not getting resolved. > > > > > > > >Thanks, Mark. > > > > > > > > > > > > > > >--------------------------------------------------------------------------- > > >--- > > > >This message is intended only for the personal and confidential use >of > > >the > > > >designated recipient(s) named above. If you are not the intended > > >recipient > > > > > > >of this message you are hereby notified that any review, >dissemination, > > > >distribution or copying of this message is strictly prohibited. This > > > >communication is for information purposes only and should not be > >regarded > > > >as an offer to sell or as a solicitation of an offer to buy any > >financial > > > >product, an official confirmation of any transaction, or as an >official > > > >statement of Lehman Brothers. Email transmission cannot be >guaranteed > >to > > > >be secure or error-free. Therefore, we do not represent that this > > > >information is complete or accurate and it should not be relied upon >as > > > >such. All information is subject to change without notice. > > > > > > > > > > > > > > > >-- > > > >To unsubscribe, e-mail: > > > ><mailto:struts-user-unsubscribe@;jakarta.apache.org> > > > >For additional commands, e-mail: > > > ><mailto:struts-user-help@;jakarta.apache.org> > > > > > > > > >_________________________________________________________________ > > >Protect your PC - get McAfee.com VirusScan Online > > >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > > > >-- > > >To unsubscribe, e-mail: > > ><mailto:struts-user-unsubscribe@;jakarta.apache.org> > > >For additional commands, e-mail: > > ><mailto:struts-user-help@;jakarta.apache.org> > > > > > > > > > >--------------------------------------------------------------------------- > >--- > > >This message is intended only for the personal and confidential use of > >the > > >designated recipient(s) named above. If you are not the intended > >recipient > > > > >of this message you are hereby notified that any review, dissemination, > > >distribution or copying of this message is strictly prohibited. This > > >communication is for information purposes only and should not be >regarded > > >as an offer to sell or as a solicitation of an offer to buy any >financial > > >product, an official confirmation of any transaction, or as an official > > >statement of Lehman Brothers. Email transmission cannot be guaranteed >to > > >be secure or error-free. Therefore, we do not represent that this > > >information is complete or accurate and it should not be relied upon as > > >such. All information is subject to change without notice. > > > > > > > > > > > >-- > > >To unsubscribe, e-mail: > > ><mailto:struts-user-unsubscribe@;jakarta.apache.org> > > >For additional commands, e-mail: > > ><mailto:struts-user-help@;jakarta.apache.org> > > > > > >_________________________________________________________________ > >Protect your PC - get McAfee.com VirusScan Online > >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:struts-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: > ><mailto:struts-user-help@;jakarta.apache.org> > > > > > >--------------------------------------------------------------------------- >--- > >This message is intended only for the personal and confidential use of >the > >designated recipient(s) named above. If you are not the intended >recipient > > >of this message you are hereby notified that any review, dissemination, > >distribution or copying of this message is strictly prohibited. This > >communication is for information purposes only and should not be regarded > >as an offer to sell or as a solicitation of an offer to buy any financial > >product, an official confirmation of any transaction, or as an official > >statement of Lehman Brothers. Email transmission cannot be guaranteed to > >be secure or error-free. Therefore, we do not represent that this > >information is complete or accurate and it should not be relied upon as > >such. All information is subject to change without notice. > > > > > > > >-- > >To unsubscribe, e-mail: > ><mailto:struts-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: > ><mailto:struts-user-help@;jakarta.apache.org> > > >_________________________________________________________________ >Internet access plans that fit your lifestyle -- join MSN. >http://resourcecenter.msn.com/access/plans/default.asp > > >-- >To unsubscribe, e-mail: ><mailto:struts-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:struts-user-help@;jakarta.apache.org> > > >--------------------------------------------------------------------------- --- >This message is intended only for the personal and confidential use of the >designated recipient(s) named above. If you are not the intended recipient >of this message you are hereby notified that any review, dissemination, >distribution or copying of this message is strictly prohibited. This >communication is for information purposes only and should not be regarded >as an offer to sell or as a solicitation of an offer to buy any financial >product, an official confirmation of any transaction, or as an official >statement of Lehman Brothers. Email transmission cannot be guaranteed to >be secure or error-free. Therefore, we do not represent that this >information is complete or accurate and it should not be relied upon as >such. All information is subject to change without notice. > > > >-- >To unsubscribe, e-mail: ><mailto:struts-user-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: ><mailto:struts-user-help@;jakarta.apache.org> _________________________________________________________________ Broadband? Dial-up? Get reliable MSN Internet Access. http://resourcecenter.msn.com/access/plans/default.asp -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org> ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>