About Question enthuware.jwpv6.2.1243 :
Posted: Mon Dec 08, 2014 8:14 am
greetings please clarify this to me am confused
isnt the same as
why the second is the correct answer and FYI the explanation of the first option
is
content-type is invalid here. As far as the webapp container is concerned, the content should be syntactically a valid JSP document. It doesn't look at the content-type. The client browser never see the jsp tags. It only sees the resulting content.
what is meant by invalid here in bold above ?!
Code: Select all
<jsp:directive.include file="test.js" content-type="application/JavaScript" />
Code: Select all
<jsp:directive.include file="test.js" />
is
content-type is invalid here. As far as the webapp container is concerned, the content should be syntactically a valid JSP document. It doesn't look at the content-type. The client browser never see the jsp tags. It only sees the resulting content.
what is meant by invalid here in bold above ?!
