About Question enthuware.jwpv6.2.1158 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
KolyaSV

About Question enthuware.jwpv6.2.1158 :

Post by KolyaSV »

Hi!

The last option to choose with own explanation:
------------------------------
<% "Hello World"; %>
This is a valid scriptlet but not a valid JSP expression.
------------------------------

There is a typo in this explanation. This frament won't compile.
If we are talking in general about <% some java code; %> - yes, it is valid scriptlet.
But in our particular case we will get compilation error. So it is not valid scriplet. :)

I believe the best solution here is to rephrase option's explanation little bit.

Thank you,
Kolya

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1158 :

Post by admin »

You are right. The explanation has been rephrased. This could be a valid scriptlet. For example, if it is preceded by:
<% String s = %>.

thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests