AFAIK it does not have any consequences on runtime performance, it only affects 
compile time.
So it does not affects your servlets, but it could affect the respond time when you 
hit a jsp for the very first time.

But it's good practice to use explicit imports.


Hope this helps,
Xavier,


Original Message -----------------------
Anybody have an idea on the performance hit that might be taken by a
high-volume app server running classes with explicit imports rather than
wildcard imports?

For example,

    import javax.servlet.http.HttpServletRequest;
    ....
    import org.apache.struts.action.Action;
    ....
    import org.apache.struts.util.PropertyUtils;
    ....

as opposed to

    import javax.servlet.http.*;
    import org.apache.struts.action.*;
    import org.apache.struts.util.*;

Cheers!
Mark

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to