I guess our pages are a little more involved than would be practical with a Filter... I understand how to do this with a Filter, I just fail to see how it is easier/better to do it using a Filter versus tiles.... With tiles I just uncomment the plugin-in in struts-config.xml, create a template and I'm running.
My whole problem was that the wsad IDE reports a bunch of broken links and cannot understand the tiles stuff. Not exactly a show stopper, but, kinda irritating (since I get about 100 warnings that are totally meaningless [or rather, they mean that wsad is unaware of tiles]). So, out of curiosity, are you saying you hardcode the header and footer jsp names in your filter? -----Original Message----- From: Eric W Hauser [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:34 PM To: Tag Libraries Users List Subject: RE: tiles+wsad [OT??] Yes, this is what I am talking about. You can write a filter to do the same thing as tiles. It is very simple if all you need as a header and a footer wrapped around each of your jsp pages. It gets a little more complicated if you want to do some other stuff. There's a couple different ways that you can implement this. I can't pass out the code since it was developed for work, but do a search on google for something like "jsp wrapper filter". That should get you started. On Mon, 8 Sep 2003, Mainguy, Mike wrote: > Are you talking about the javax.servlet.Filter interface? If so, how does > that give me the same functionality as tiles? > > -----Original Message----- > From: Eric W Hauser [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 10:19 AM > To: Tag Libraries Users List > Subject: RE: tiles+wsad [OT??] > > Depending on what servlet container you are using, I would just recommend > not using tiles. If you are using a Servlet 2.3 container, then I would > recommend attempting to accomplish the same functionality of tiles using a > filter instead. It's pretty simple to implement, not to mention a lot > less complicated. Tiles, as I have found with a lot of Struts components, > are a lot more complicated than they really need to be. > > On Mon, 8 Sep 2003, Mainguy, Mike wrote: > > > That's the answer I keep getting and I was just hoping someone had devised > a > > more clever solution than that (because that doesn't seem too clever to > me). > > > > -----Original Message----- > > From: Pembroke, Brian [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 08, 2003 9:24 AM > > To: 'Tag Libraries Users List' > > Subject: RE: tiles+wsad [OT??] > > > > The only thing you can do, is to turn off the struts validation in your > > preferences. > > > > Brian > > > > -----Original Message----- > > From: Mainguy, Mike [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 08, 2003 8:17 AM > > To: [EMAIL PROTECTED] > > Subject: tiles+wsad [OT??] > > > > > > > > Any body using wsad with tiles? If so, do you know of a way to make the > > struts-config.xml warnings go away. In addition, do you know a way to get > > the relative links in your tiles to look correct when in the designer? > > > > > > > > I tried the websphere list, but, I get 10 out-of-office replies and no > help > > whenever I send a message to that list. > > > > This message and its contents (to include attachments) are the property of > > Kmart Corporation (Kmart) and may contain confidential and proprietary > > information. You are hereby notified that any disclosure, copying, or > > distribution of this message, or the taking of any action based on > > information contained herein is strictly prohibited. Unauthorized use of > > information contained herein may subject you to civil and criminal > > prosecution and penalties. If you are not the intended recipient, you > should > > delete this message immediately. > > > > > > > > > > > > This message and its contents (to include attachments) are the property of > Kmart Corporation (Kmart) and may contain confidential and proprietary > information. You are hereby notified that any disclosure, copying, or > distribution of this message, or the taking of any action based on > information contained herein is strictly prohibited. Unauthorized use of > information contained herein may subject you to civil and criminal > prosecution and penalties. If you are not the intended recipient, you should > delete this message immediately. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > ------------------- > Eric Hauser > [EMAIL PROTECTED] > (317) 679-4766 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ------------------- Eric Hauser [EMAIL PROTECTED] (317) 679-4766 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message and its contents (to include attachments) are the property of Kmart Corporation (Kmart) and may contain confidential and proprietary information. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on information contained herein is strictly prohibited. Unauthorized use of information contained herein may subject you to civil and criminal prosecution and penalties. If you are not the intended recipient, you should delete this message immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
