• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to pass request time value to jsp:include

 
Connie Ky Leung
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had this question in Whizlab simulator that asked me to choose the valid
way of invoking <jsp:include> standard action.

The simulator chose <jsp:include page="% pageName %" /> while I picked <jsp:include page="<%= pageName >" />.

Can someone explain yhy the former invocation is legal whereas the latter one is invalid?

HFSJ does not have similar example for reference.

Please advice.

I have no Internet access at home; therefore, I won't visit the forum until Monday.

Thanks in advance,

Connie
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The question should be related to xml ducoment. This syntax work in JSP xml document.

Thanks
 
Connie Ky Leung
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply.

Will this kind of question appear in the exam?

HFSJ does not have much coverage on JSP XML document.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!