• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the diference...

 
Elton Kuzniewski
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
between:

<jsp:directive.include file="/path"/>

<jsp:directive.include page="/path"/>

<jsp.include file="/path"/>

<jsp.include page="/path"/>

<%@include file="/path"/>

<%@include page="/path"/>

What of them exists and what not? What every ones really make?
 
deepesh soni
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:directive.include file="/path"/> and <%@include file="/path"/> exist and both are same
 
Milton Ochoa
Ranch Hand
Posts: 336
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi deepesh,

I think that

<jsp:directive.include file="/path"/>

doesnt exist,
 
Rob Spoor
Sheriff
Pie
Posts: 20753
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it does. It's the exact translation from <%@include file="/path"%> (note the end - not /> but %>) to JSP document form.
 
Santhi Bharath
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elton Kuzniewski wrote:between:

<jsp:directive.include file="/path"/> --- doesn't exists

<jsp:directive.include page="/path"/> ---- fine

<jsp.include file="/path"/> --- doesn't exists

<jsp.include page="/path"/> --- doesn't exists (it should be <jsp:include... not ><jsp.include ... )

<%@include file="/path"/> --- fine

<%@include page="/path"/> --- doesnt exists

What of them exists and what not? What every ones really make?



But, You can test these on your own. These type of questions are not encouraged to ask because these can be tested on your own. Finally please mention the source of the question if it is a question from a mock exam. >
 
Janez Novak
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just one correction:

<jsp:directive.include file="/path"/> ---- fine

<jsp:directive.include page="/path"/> --- doesn't exists


Best regards,
Janez
 
Milton Ochoa
Ranch Hand
Posts: 336
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:Yes it does. It's the exact translation from <%@include file="/path"%> (note the end - not /> but %>) to JSP document form.


Yes, you all right.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic