Sun Certified Java Programmer<br />Sun Certified Web Component Developer
Charles Scherer
Greenhorn
Joined: May 22, 2002
Posts: 1
posted
0
For your first question about spaces in an expression, the following is incorrect: <% = expression %> to correct it, remove spaces before and after the equals: <%=expression %>
Tong Chen
Ranch Hand
Joined: Apr 26, 2002
Posts: 1011
posted
0
It is not valid to mix standard syntax and XML syntax in the same source file. So any a) is correct.
Sorry for the typo... It is not valid to mix standard syntax and XML syntax in the same source file. So only a) is correct.
Peter Wei Cai
Greenhorn
Joined: May 09, 2002
Posts: 10
posted
0
For the first question: <%=expression> is absolutely right. But how about: <%= expression>
Brian Glodde
Ranch Hand
Joined: Jun 27, 2001
Posts: 171
posted
0
Peter, You should download a copy of Tomcat and try out these types of questions. IMO, the hands on experience will help you understand these little rules far more clearly. Just a suggestion!