About Question enthuware.jwpv6.2.1243 :

Moderator: admin

Post Reply
shareef.hiasat
Posts: 20
Joined: Thu Dec 19, 2013 8:22 am
Contact:

About Question enthuware.jwpv6.2.1243 :

Post by shareef.hiasat »

greetings please clarify this to me am confused

Code: Select all

<jsp:directive.include file="test.js" content-type="application/JavaScript" />
isnt the same as

Code: Select all

<jsp:directive.include file="test.js" />
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 ?! :?:

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

Re: About Question enthuware.jwpv6.2.1243 :

Post by admin »

content-type is an invalid attribute for jsp:directive.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 130 guests