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
I agree. Here's the link:
subject: is it valid to use a standard class without its fully qualified name in JSP page??
Another way of initializing an object
Usebean: Fully qualified class name only?
Can't use Bean
Accessing static variables-Help Please!!
Calling Java classes from JSP page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014