Hi Ben, In the
java classes , we generally have import java.io.* and then use PrintWriter,OutputStream etc. instead of fully qualified class name everywhere else.
Java class:
import java.io.*;
.
.
.
PrintWriter out= ... // Note Fully qual. name not required here.
FileInputStream fin=...
so we could have done something similar to that:
Jsp:
<@page import="com.manoj.myPackage.*">
<jsp:useBean id="bean1" class="ManojBean" />
|
|
Fully Qualified name not required since we are importing
I was thinking in that perspective. But I guess it is just a decision that the designers of the jsp have made and we can follow up with the fully qualified class name.