aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Jsp Fragments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Jsp Fragments" Watch "Jsp Fragments" New topic
Author

Jsp Fragments

Rafael L Cintra
Greenhorn

Joined: Dec 16, 2009
Posts: 3
Hi all,

These are valid JSP code fragments?

<%@ page import="java.util.*" autoFlush="true"%>
<%@ page import="java.io.*" autoFlush="true"%>

???

Tks

Rafael
Rajeev Rnair
Ranch Hand

Joined: Mar 22, 2010
Posts: 308

Rafael L Cintra wrote:Hi all,

These are valid JSP code fragments?

<%@ page import="java.util.*" autoFlush="true"%>
<%@ page import="java.io.*" autoFlush="true"%>

???

Tks

Rafael


Hi Rafael, welcome to the ranch.
These are valid JSP page directives if you used in separate pages! The only attribute you can have in multiple lines of 'page directive' in a JSP page is import. In other words you can have
in a JSP page OR


SCJP6, SCWCD5, OCP-JBCD5, OCE-JWSD6 OCE-JPAD6 , OCM-JEA5 1,OCM-JEA5 2,3 - Brainbench certifications: J2EE, Java2, Java2-NonGUI, JSP, SQL2000 Admin, SQL2000 Programming , Brainbench certified Java Programmer, Computer Programmer, Web Developer, Database Administrator
 
wood burning stoves
 
subject: Jsp Fragments