I created my own HTMLObject package where HTMLObject.class is the root of the package. I created a folder called "mypackages" and then a sub-dir called "html". The classpath was set to the c:\mypackages; dir. All the .java files were located in the "html" folder, and the first line in all of them is "package html". All of the files are compiled and now all the .class files are in the "html" folder.
How do I import this package "html" into a servlet of my choice? I tried
import html.*; but I received a lot of errors:
File .\HTMLDocument.java does not contain type HTMLDocument as expected. Please adjest the class path so that the file does not appear in the unnamed package.
Class HTMLDocument not found.
HTMLDocument is one of the class files that was in the "html" folder.