This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 9291
    
  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
 
wood burning stoves
 
subject: can i use page for jsp standard actions
 
Similar Threads
Cannot use jsp scriplet in jsp taglibs
a jsp page can be included in another jsp page?
ways to include a servlet from a JSP
communication between two webapps which are in the same server
Standard actions in a JSP document?