Hi.
If I make a little packageless class and put it directly in WEB-INF classes, I seem to be unable to call it from
jsp. Is there something that prevents jsp's from using packageless classes (or should I say classes in the default package)? (Below is an example.)
//my packageless class
public class P284 {
public static
String hi() {
return "hi";
}
}
<!-- my jsp -->
<% out.println(P284.hi()); %>
/* <!-- ERROR IN BROWSER...
An error occurred at line: 1 in the jsp file: /p284.jsp
P284 cannot be resolved
1: <% out.println(P284.hi()); %>