If a tag needs to build an object structure based on an initialization
file, what's the best way to do it?

The BodyTag interface does not seem to have any sort of initialization
that's done onload, like Servlets and Filters. What's the reason for
this? Are they not meant to be used this way?

The alternatives I'm facing are:
1. Write some sort of separate initialization procedure to read in the
initialization file on web server start up. Then send the created object
structure that reflects the initialization file as a parameter to the
tag.

2. Use another approach, since the tags architecture does not seem to be
created for config initialization. For example trying to use a filter
for the task instead.

Regards
Erik Beijnoff

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://erik.beijnoff.com/aleph-null

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to