----- Original Message ----- From: Danno Ferrin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 1999 5:06 PM Subject: jsp:plugin -- content in jsp:fallback > This seems like the best fourm for this question. > > WRT the jsp:plugin standarrd action tag (sec 2.13.7) what exactly is the > content of the jsp:fallback element? Can it contain sccripting elements or > is the content strictly template data passed to the client? The spec is > less than clear on this and the XML DTD in the JSP 1.1 public review draft > does not have an element entry for jsp:fallback element. I think it should > be clarified one way or the other. > > My suggesstion is that yes, any set of valid jsp content can appear inside > of the fallback. There execution of scriptlets is also unconditional. An > example of why one might want this is so that as the fallback the user can > be presented with a URL to something else like an older PERL based > application that could work, and the scriptilets would be used to load up > ther URL with the needed request parameters. The unconditionality part > should be there so that side effects are guaranteed to happen and there is > no indetermenant execution. Adding to the spec a non-normative practive > that placing scripting elements inside a jsp:fallback that have side effects > outside of the "scope" of the fallback is tag is to be concidered bad > practice and should be avoided if possible. > > What dose the current jasper code do currently in this situation? (I would > look myself but ...) > > thanks, > --Danno > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". FAQs on JSP can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html
