Could you just have all the files that you will be calling in a separate file and then 
include that file in each page.  It would save you some coding and you would only have 
to change the code in one place if need be.  I am not sure if this is what you were 
asking or not, just an opinion.   

Eric

  
----- Original Message -----
From: Jayson Falkner
Sent: Saturday, February 02, 2002 12:44 PM
To: [EMAIL PROTECTED]
Subject: Re: User Defined Implicit Objects
  
Hi Dave,

No. With JSP 1.2 you still have to use that approach. You can however
use a filter to automatically put objects in the Request. They won't be
implicit objects, but you can use request.getAttribute() to access them.

Jayson Falkner
[EMAIL PROTECTED]

Dave Ford wrote:

> Is there a way to create a user-defined implicit object, which applies to
> every page in a web app - without having to place extra tags at the top of
> every page? Namely, I would like to eliminate these tags:
>
> <%@ tablig prefix="me" uri="......" %><me:defineObjects />
>
>
> Dave Ford
> Smart Soft - The Developer Training Company
> http://www.smart-soft.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
> .
>
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.comGet more from the Web.  FREE MSN Explorer download : 
http://explorer.msn.com

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to