Very strange! No import java.util, but still can use Vector?

Discussions

Web tier: servlets, JSP, Web frameworks: Very strange! No import java.util, but still can use Vector?

  1. In my jsp , i didnt import java.util, but yet Vector class can still be used????
  2. Probably the jsp compiler automatically imports that package while converting it to a servlet.
  3. Can't be. Does your .jsp include any other file which imports the packages?

    Thanks.
  4. Yes it can. Check weblogic JSP compiler.