RE: RE : JSP suggestion

2004-03-25 Thread John Sidney-Woollett
Ralph Einfeldt said: Sorry, but that wouldn't help the original poster. He is searching for a way to include taglib definitions and imports that are used in the pages. Any kind of dynamic include or decorators wouldn't achieve that. Sorry, you're right, misread the original post. Had it in

Re: JSP suggestion

2004-03-25 Thread Harry Mantheakis
Sorry, but that wouldn't help the original poster. Oh, Ralph, now you've gone and spoiled the fun. I was really enjoying this thread. He is searching for a way to include taglib definitions and imports that are used in the pages. Any kind of dynamic include or decorators wouldn't achieve

JSP suggestion

2004-03-24 Thread Edson Alves Pereira
Hello folks, i´d like to build a default jsp header to all my jsp´page, in this header i would put all taglibs and imports i need, but i in doubt about which is the best way to do it. Sould i make all others page extends this header page or do a @ page import in every page? Any idea?

Re: JSP suggestion

2004-03-24 Thread Adam Buglass
I use jsp:include page=header.jsp flush=true / HTH. Adam. On Wed, 2004-03-24 at 14:46, Edson Alves Pereira wrote: Hello folks, id like to build a default jsp header to all my jsppage, in this header i would put all taglibs and imports i need, but i in doubt about which is the best way

Re: JSP suggestion

2004-03-24 Thread Keith Hyland
Or you can specify a prelude.jspf file in your web.xml (I think this may only work with servlet spec 2.4 servers) (The prelude is added to the top of the file, the coda is added to the end of the file) jsp-config jsp-property-group display-nameallFiles/display-name

Re: JSP suggestion

2004-03-24 Thread Tim Funk
It depends what you are trying to accomplish. If you are trying for common functionality at the beginning of a page - it might be better to have a custom tag at the beginnign of all your files which does the stuff you need. Otherwise (IMO) - standard imports (@file include) stink. Only import

RE : JSP suggestion

2004-03-24 Thread Hertenstein Alain
Users List Objet : Re: JSP suggestion Or you can specify a prelude.jspf file in your web.xml (I think this may only work with servlet spec 2.4 servers) (The prelude is added to the top of the file, the coda is added to the end of the file) jsp-config jsp-property-group display

Re: RE : JSP suggestion

2004-03-24 Thread John Sidney-Woollett
. mars 2004 16:56 À : Tomcat Users List Objet : Re: JSP suggestion Or you can specify a prelude.jspf file in your web.xml (I think this may only work with servlet spec 2.4 servers) (The prelude is added to the top of the file, the coda is added to the end of the file) jsp-config

RE: RE : JSP suggestion

2004-03-24 Thread Ralph Einfeldt
] Sent: Wednesday, March 24, 2004 11:09 PM To: Hertenstein Alain Cc: Tomcat Users List Subject: Re: RE : JSP suggestion Also have a look at OpenSymphony's SiteMesh filter - it does just what you're trying to do with your filter explanation here. SiteMesh is VERY good! See http