This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes is it valid to use a standard class without its fully qualified name in JSP page?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "is it valid to use a standard class without its fully qualified name in JSP page??" Watch "is it valid to use a standard class without its fully qualified name in JSP page??" New topic
Author

is it valid to use a standard class without its fully qualified name in JSP page??

sriram kalakoti
Greenhorn

Joined: Jan 07, 2006
Posts: 17
Hi All

in HFSJ final mock qno 12 in line no 2 uses a scripting expression

<%=Boolean.TRUE.toString()%> as we all know Boolean is a Wrapper class in java.lang.Boolean .isnt this JSp page supposed to use the fully qualified name of the class ( There is no import also) ??

Thanks in advace
Sriram
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

You don't need to specify it because the default import list for JSP pages is :
java.lang.*, javax.servlet.*, javax.servlet.jsp.* and javax.servlet.http.*.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is it valid to use a standard class without its fully qualified name in JSP page??