incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jaquith <andrew.jaqu...@me.com>
Subject Re: Question about JSP tag usage
Date Sat, 04 Oct 2008 16:33:04 GMT
Hrmmmmm. I guess that means my JSP migration tool for 2.x --> 3.x will  
need a little more work done on it, then. :)

On Oct 4, 2008, at 11:37 AM, Janne Jalkanen wrote:

>> &lt;foo &lt;c:if test="${i.version ==  
>> olddiff}"&gt;selected="selected"&lt;/c:if&gt; &gt;&lt;c:out value="$

>> {i.version}"/&gt;&lt;/option&gt;
>>
>> ... where here, a c:if element determines whether the "selected"  
>> attribute appears.
>>
>> We have something like this in DiffTab.jsp, and it seems like it  
>> shouldn't work. But it does. Why? Is this valid syntax or is it  
>> just that the JSP compiler is more lenient?
>
> I do believe it is a valid syntax if the JSPs are not in XML  
> "mode".  JSP pages are not valid XML, unless explictly stated so.
>
> /Janne


Mime
View raw message