A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
is it valid to use a standard class without its fully qualified name in JSP page??
Joined: Jan 07, 2006
Mar 13, 2006 18:54:00
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
.isnt this JSp page supposed to use the fully qualified name of the class ( There is no import also) ??
Thanks in advace
Joined: Nov 24, 2005
Mar 13, 2006 19:12:00
You don't need to specify it because the default import list for
pages is :
java.lang.*, javax.servlet.*, javax.servlet.jsp.* and javax.servlet.http.*.
All roads lead to JavaRanch
It is sorta covered in the
JavaRanch Style Guide
subject: is it valid to use a standard class without its fully qualified name in JSP page??
Calling Java classes from JSP page
Accessing static variables-Help Please!!
Another way of initializing an object
Usebean: Fully qualified class name only?
Can't use Bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014