tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Scurtescu <mar...@multiactive.com>
Subject Re: param tag and other suggestions
Date Thu, 02 Nov 2000 01:04:40 GMT
I was thinking that it should not try to guess where the file
is and allow for an absolute path to be specified. This path
can either be hardcoded into the jsp page, dynamically
created by a bean or passed as a init parameter to the jsp page.

"David M. Karr" wrote:
> 
> >>>>> "Marius" == Marius Scurtescu <marius@multiactive.com> writes:
>   Marius> A few other suggestions and comments:
> 
>   Marius> - the "xml" attribute of the apply tag is not very useful,
>   Marius> it will try to locate an xml file in the folder where the
>   Marius> application is installed but any realistic xml file will not
>   Marius> reside there
> 
> Obviously, a more reasonable strategy is to look for it on the
> CLASSPATH.  I would think this should be the default, but in order to
> make this happen, you have to build a subclass of EntityResolver
> (perhaps called "ClassPathEntityResolver") which looks for it on the
> CLASSPATH.  I've done this for XML parsing code that wasn't related to
> XSLT transformations, but I would think a similar function should be
> available from the XSLT parser.
> 
> --
> ===============================================================================
> David M. Karr     ; dkarr@tcsi.com  ; w:(425)487-8312 ; TCSI & Best Consulting
> Software Engineer ; Unix/Java/C++/X ; BrainBench CJ12P (#12004)

-- 
------------------
Marius Scurtescu, Software Engineer
Tel: (604) 899-2835 Fax: (604) 899-2899
mailto:marius@multiactive.com
Multiactive Software Inc. http://www.multiactive.com
------------------
Attract and retain customers with Multiactive Software --
proud winners of PC WEEK's "Best of COMDEX" award.
------------------

Mime
View raw message