Hello,

I'm hoping that someone knows more about Request-Time Attribute Expressions,
a feature of JSP 1.1 that allows an expression inside an attribute value
without the XML-unfriendly <%=...%> syntax.  As described int the JSP 1.1
spec below, I understand that you can use something like the following:

  <input type=3D"%=3DmyType%" ... />

To cause myType to be evaluated as a Java request time expression.  However,
after testing with a couple JSP engines (resin and tomcat), this feature
doesn't seem to be implemented.

>From the JSP 1.1 spec:
--------
7.6.2 Request-Time Attribute Expressions
Request-time attribute expressions are of the form �<%= expression %>�.
Although this
syntax is consistent with the syntax used elsewhere in a JSP page, it is not
a legal XML
syntax. The XML mapping for these expressions is into values of the form �%=
expression�
%�, where the JSP specification quoting convention has been converted to the
XML quoting
convention.
--------

I don't know what the � character is in the example above.  I've tried using
it as a last resort, but with no luck.

If you have any information on this feature I would very much appreciate it.
My reason for using it is thatI'm generating JSP files using XSL, and using
<%=3D...%> inside an attribute is illegal XML output.  It is possible to
generate it using CDATA and other mechanisms, but the quoting is quite
complex and I am getting different behavior in different XSL processors.

thanks!
mark

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to