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-name>allFiles</display-name>
   <url-pattern>*.jsp</url-pattern>
   <el-ignored>false</el-ignored>
   <scripting-invalid>false</scripting-invalid>
   <is-xml>false</is-xml>
   <include-prelude>/template/prelude.jspf</include-prelude>
   <include-coda>/template/coda.jspf</include-coda>
</jsp-property-group>
</jsp-config>

Keith

Adam Buglass wrote on 24/03/2004, 14:55:

 > 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, 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?
 > >
 > >   Regards,
 > >   Edson
 >
 >
 > ---------------------------------------------------------------------
 > 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]

Reply via email to