About Question enthuware.jwpv6.2.818 :

Moderator: admin

Post Reply
ednilsoncampos
Posts: 9
Joined: Wed Jun 17, 2015 6:19 pm
Contact:

About Question enthuware.jwpv6.2.818 :

Post by ednilsoncampos »

The alternative 3 and 5 are equivalent?

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

Re: About Question enthuware.jwpv6.2.818 :

Post by admin »

No, option 3 specifically tells you that the given code is in a JSP document. While option 5 does not. The code is invalid in a regular jsp file.

johnlong
Posts: 197
Joined: Mon Jun 20, 2016 5:06 pm
Contact:

Re: About Question enthuware.jwpv6.2.818 :

Post by johnlong »

JSP Document implies that the page is written in XML. In the XML syntax, request time attributes are specified using %= and %. i.e. without < and >

Does this syntax (without < and >) for JSP documents apply only to expression, or it does apply to scriptlets and declarations as well?

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

Re: About Question enthuware.jwpv6.2.818 :

Post by admin »

Only for scriptlet expressions. Please check JSP specification section 6.2 for complete details.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests