This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to pass request time value to jsp:include
 
Similar Threads
q on JSP std actions
problem in jsp:include tag
using the value of a session variable
Embedding large generated HTML files to JSF
how to include jsp page in jsf