Hi,
I wrote a JSP document that mixes JSP XML tags with XHTML tags as follows,
where I used a JSP expression to calculate the XHTML tag's attribute value
(src=%=url2%). Jasper wasn't able to convert it correctly, it didn't
recognize that this is a JSP expression but took the value as is. Meaning
the final HTML was (src=%=url2%) and not (src=http://www.lycos.com;).
The main purpose of mixing XHML and JSP tags is to get a well formed
document.
I understand that the Spec is a little vague, but is there a plan to support
that?
Regards
--Ragy
jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;
version=1.2
jsp:scriptlet
String url1=http://www.yahoo.com;;
String url2=http://www.lycos.com;;
/jsp:scriptlet
html
head
meta http-equiv=Content-Type content=text/html;
charset=UTF-8 /
title Test /title
/head
frameset rows=*,* border=0 framespacing=0 frameborder=NO
frame src='%=url1%' name=url1 marginwidth='0'
marginheight='0' scrolling='no' /
frame src=%=url2% name='url2' marginwidth='10'
marginheight='0' scrolling='no' /
/frameset
/html
/jsp:root
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]