aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp:include -> page attribute. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp:include -> page attribute." Watch "jsp:include -> page attribute." New topic

jsp:include -> page attribute.

Manikandan Jayaraman
Ranch Hand

Joined: Sep 15, 2004
Posts: 230
Hi All,

I found this question in HF Servlets & JSP book and want to confirm the answer. Can anyone clarify?

How to answer this question? When they say path of the header.html, should I answer for a relative path w.r.t myapp (answer B) or full path (answer C)?

Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

They specifically mentioned that the name of the app was myapp. So thats a little hint that the path should be absolute and include the myapp directory. As long as you know what the concept is you are good. The real exam will specify the type of path explicitly.

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Don't get me started about those stupid light bulbs.
subject: jsp:include -> page attribute.
It's not a secret anymore!