This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes can i use page for jsp standard actions 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 "can i use page for jsp standard actions" Watch "can i use page for jsp standard actions" New topic
Author

can i use page for jsp standard actions

bhaskaritp naidu
Ranch Hand

Joined: May 21, 2007
Posts: 45
Hi,

we will use page for jsp include directive.

can i use for jstl?

eg: jsp:include page"menu.jsp" insted of jsp:include file

Please clarify me
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

The include directive takes an attribute named file and the jsp:include standard action takes an attribute named page i.e.

<%@include file="" %>
<jsp:include page="" />

Now can you clarify what your question is...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
bhaskaritp naidu
Ranch Hand

Joined: May 21, 2007
Posts: 45
thanks ankit..i got it.

i was confused with page directive with include page directive.now i am cleared
 
Consider Paul's rocket mass heater.
 
subject: can i use page for jsp standard actions