> I have been experiementing with
> 
> <jsp:directive.page contentType="..." />
> <@ page contentType="..." />
> 
> but none of them seem to be able to take a variable value for 
> contentType,
> 

These constructs will indeed not work (and they never will work in
future versions either). The constructs you use are directives
(the first one in XML syntax, the second in JSP syntax). Directives
are interpreted at page translation time. The tags you attempt to
use are not executed at page translation time but at page
execution time (when a request is received for the page).

Directives can not have variables as attributes, since the value
of these variables can never be known at the time the page is
translated to a servlet.

Regards, Ronald.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to