wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How to pass request time value to jsp:include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "How to pass request time value to jsp:include" Watch "How to pass request time value to jsp:include" New topic
Author

How to pass request time value to jsp:include

Connie Ky Leung
Ranch Hand

Joined: Jan 29, 2006
Posts: 42
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


SCJP 1.4 - 91%, SCWCD - 97%, SCJP 5.0 - 83%, SCJP 6.0, OCEJWCD - 80%
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

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

Thanks


Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
Connie Ky Leung
Ranch Hand

Joined: Jan 29, 2006
Posts: 42
thanks for the reply.

Will this kind of question appear in the exam?

HFSJ does not have much coverage on JSP XML document.
 
 
subject: How to pass request time value to jsp:include